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

Page de 103
Page 15 
OL-28369-01 
Note 
For Prime Network Services Controller, only the HTTP protocol is supported for event subscription. Use 
HTTP when posting the event subscription request. 
The asynchronous event notifications for the following methods do not use the same format as other methods. 
Instead, event notifications for these methods use the format and syntax shown in the following examples. 
configMoChangeEvent 
<xs:element name="configMoChangeEvent" type="configMoChangeEvent" 
substitutionGroup="externalMethod"/> 
<xs:complexType name="configMoChangeEvent" 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> 
methodVessel 
<xs:element name="methodVessel" type="methodVessel" 
substitutionGroup="externalMethod"/> 
<xs:complexType name="methodVessel" 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> 
UML Diagrams  
Unified Modeling Language (UML) diagrams complement the object-oriented development approach used for 
Prime Network Services Controller. These diagrams display classes and  the associations between them. It also 
displays attributes and methods, so that you can gain an overall view of Prime Network Services Controller classes 
and how they relate to one another.  
The Prime Network Services Controller UML diagrams include the following attributes: 
● 
● 
  
● 
● 
To view sample Prime Network Services Controller UML diagrams, see 
. 
Classes  
In UML, a class is a representation of an object. In Prime Network Services Controller, examples of objects, and 
therefore classes, are tenants, compute firewalls, edge firewalls, policies, and profiles. In general, anything that you 
can create in Prime Network Services Controller can be considered a class. 
Classes are the primary components of UML and are presented as rectangles in UML diagrams, as shown in 
. 
Figure 1  Representation of a Class in UML