Cisco Cisco Prime Network Services Controller 3.0 Guide Du Développeur

Page de 103
Page 89 
OL-28369-01 
substitutionGroup="externalMethod"/> 
<xs:complexType name="eventSubscribe" mixed="true"> 
<xs:attribute name="cookie" type="xs:string"/> 
<xs:attribute name="response" type="YesOrNo"/> 
<xs:attribute name="errorCode" type="xs:unsignedInt"/> 
<xs:attribute name="errorDescr" type="xs:string"/> 
<xs:attribute name="invocationResult" type="xs:string"/> 
</xs:complexType> 
Example 
Request 
<eventSubscribe 
cookie="<real_cookie>"> 
<inFilter> 
</inFilter> 
</eventSubscribe> 
Response 
Prime Network Services Controller sends no response or acknowledgement. 
eventSubscribeApps 
The following example shows a subscribe request for activity on specified applications. The client application can 
subscribe to the Prime Network Services Controller system to receive events from different applications. In 
eventApplication, ip is the IP address for the VM where the application (DME) is running. The client application can 
subscribe to receive events from the VSG as well, where ip should be the IP address for the VSG, and type is 
managed-endpoint. 
Request Syntax 
<xs:element name="eventSubscribeApps" type="eventSubscribeApps" 
substitutionGroup="externalMethod"/> 
<xs:complexType name="eventSubscribeApps" mixed="true"> 
<xs:all> 
<xs:element name="inAppList" type="configSet" minOccurs="0"/> 
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/> 
</xs:all> 
<xs:attribute name="cookie" type="xs:string"/> 
<xs:attribute name="response" type="YesOrNo"/> 
</xs:complexType> 
Response Syntax 
<xs:element name="eventSubscribeApps" type="eventSubscribeApps" 
substitutionGroup="externalMethod"/> 
<xs:complexType name="eventSubscribeApps" mixed="true"> 
<xs:attribute name="cookie" type="xs:string"/> 
<xs:attribute name="response" type="YesOrNo"/> 
<xs:attribute name="errorCode" type="xs:unsignedInt"/> 
<xs:attribute name="errorDescr" type="xs:string"/> 
<xs:attribute name="invocationResult" type="xs:string"/> 
</xs:complexType> 
Example 
Request 
<eventSubscribeApps 
cookie="<real_cookie>" 
commCookie="" 
srcExtSys="0.0.0.0"