Cisco Cisco Prime Optical 10.6 Developer's Guide

Page of 665
Cisco Prime Optical 10.6 GateWay/CORBA Programmer Reference Guide 
 
 
188
 
3.7  maintenanceOps::MaintenanceMgr_I 
MaintenanceMgr_I is used as a handle to gain access to the maintenance operation. A handle to an 
instance of this interface is gained through the getManager operation in emsSession. 
This interface also implements the getCapabilities method. Operations described in the following 
subsections are returned to the NMS when it invokes getCapabilities. 
3.7.1  getActiveMaintenanceOperations 
Synopsis 
Description 
This interface enables the NMS to query the EMS to determine if any persistent maintenance commands 
have been invoked. This query is supported for PTP, CTP, and ME objects. 
 
Parameters 
 
Name 
Type 
Input/ 
Output 
Description 
tpOrMeName 
globaldefs::NamingAttributes_T 
In 
Name of the 
PTP, CTP, or 
ME. 
how_many 
unsigned long 
In 
Maximum 
number of 
maintenance 
operations to 
return in the first 
batch. 
rrentMaintenanceOpeationList 
CurrentMaintenanceOperationList_T 
Out 
First batch of 
maintenance 
operations. 
cmoIt 
CurrentMaintenanceOperationIterator
_I 
Out 
Iterator to access 
the remaining 
maintenance 
operations. 
 
Prime Optical support for CurrentMaintenanceOperation structure is as follows: 
•  globaldefs::NamingAttributes_T tpName 
–  Supported. 
•  MaintenanceOperation_T maintenanceOperation 
–  Prime Optical supports FACILITY_LOOPBACK, TERMINAL_LOOPBACK, and 
•  PAYLOAD_LOOPBACK.