User guide
3-277
Cisco Transport Manager Release 9.2 GateWay/CORBA User Guide and Programmer Manual
OL-20937-01
Chapter 3 Using CTM GateWay/CORBA Interfaces
3.14.1 getAllProtectedTPNames
3.14.1 getAllProtectedTPNames
Synopsis
void getAllProtectedTPNames(
in globaldefs::NamingAttributes_T pgName,
in unsigned long how_many,
out globaldefs::NamingAttributesList_T nameList,
out globaldefs::NamingAttributesIterator_I nameIt)
raises(globaldefs::ProcessingFailureException);
Description
This interface retrieves the list of PTPs that can carry protected traffic. The result is independent of the
current switch status. You can use the CTM client GUI to create and name protection groups. If there are
multiple protection groups with the same name, CTM returns the ProcessingFailureException
UNABLE_TO_COMPLY.
Parameters
Throws
globaldefs::ProcessingFailureException
EXCPT_INTERNAL_ERROR - Raised in case of nonspecific EMS internal failure.
EXCPT_INVALID_INPUT - Raised when pgName does not reference a protection group object.
EXCPT_ENTITY_NOT_FOUND - Raised when pgName references an object that does not exist.
EXCPT_NE_COMM_LOSS - Raised when communication to the managed element is lost.
EXCPT_TOO_MANY_OPEN_ITERATORS - Raised when the maximum number of iterators reaches 128.
Compliance
TMF-defined.
3.14.2 getAllProtectionGroups
Synopsis
void getAllProtectionGroups(
in globaldefs::NamingAttributes_T meName,
in unsigned long how_many,
out ProtectionGroupList_T pgList,
out ProtectionGroupIterator_I pgpIt)
raises(globaldefs::ProcessingFailureException);
Name Type Input/Output Description
pgName globaldefs::NamingAttributes_T In Name of the protection group.
how_many unsigned long In Maximum number of PTPs to return in the first batch.
nameList globaldefs::NamingAttributesList_
T
Out First batch of PTPs that can carry protected traffic.
Protected PTPs are reported.
nameIt globaldefs::NamingAttributesIterat
or_I
Out Iterator used to retrieve the remaining PTPs that can
carry protected traffic.