Operation void performProtectionCommand (ProtectionCommand protectionCommand, Name fromTPName, Name toTPName, SwitchData switchData), in Class ConnectionTerminationPoint

Documentation
Performs a specified protection command or clears all outstanding persistent protection commands on a CTP involved in an SNCP.
A Protection Switch notification is sent to the NMS.
Operation Exceptions:
1. NOT_IMPLEMENTED - Raised when an EMS is unable to support this operation.
2. INTERNAL_ERROR - Raised in case of non-specific EMS internal failure.
3. INVALID_INPUT - Raised when fromTpName or toTpName reference objects of the correct type, but that are
invalid in the context of this operation.
4. ENTITY_NOT_FOUND - Raised when fromTpName or toTpName references a CTP/FTP object that does not exist.
5. UNABLE_TO_COMPLY - Raised when the EMS is unable to perform the operation.
6. NE_COMM_LOSS - Raised when communication to the managed element is lost.

Protocol |  | Qualification |
Exceptions |  | Size |
Time |  | Concurrency | Sequential
Export Control | PublicAccess |  |

Preconditions
The CTP participates in a protected SNC and is connected as to be able to perform a protection switch.
Postconditions
1. Traffic has been switched to the TP identified by toTPName.
2. The protection switch status of the reliable CTP has changed.
Semantics

Arguments

protectionCommand
/* in */ The command to be performed. See ITU-T Recommendation G.841 for definitions.
fromTPName
/* in */ The present source of the traffic.
toTPName
/* in */ The requested source of the traffic after the command.
switchData
/* out */ The protection switch status of the CTP provided after the execution of the command.