Cisco Cisco Prime Network Services Controller 3.0 Guide Du Développeur
Page 77
OL-28369-01
substitutionGroup="externalMethod"/>
<xs:complexType name="configFindDnsByClassId" mixed="true">
<xs:all>
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
</xs:all>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="classId" type="namingClassId"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="classId" type="namingClassId"/>
</xs:complexType>
Response Syntax
<xs:element name="configFindDnsByClassId" type="configFindDnsByClassId"
substitutionGroup="externalMethod"/>
substitutionGroup="externalMethod"/>
<xs:complexType name="configFindDnsByClassId" mixed="true">
<xs:all>
<xs:element name="outDns" type="dnSet" minOccurs="0"/>
</xs:all>
<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:attribute name="classId" type="namingClassId"/>
<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:attribute name="classId" type="namingClassId"/>
</xs:complexType>
Example
Request
<configFindDnsByClassId
classId="eventRecord"
cookie="<real_cookie>" />
cookie="<real_cookie>" />
Response
<configFindDnsByClassId
cookie="<real_cookie>"
commCookie="2/12/0/1810"
srcExtSys="172.20.101.150"
destExtSys="172.20.101.150"
srcSvc="sam_extXMLApi"
destSvc="service-reg_dme"
response="yes"
classId="eventRecord">
<outDns>
commCookie="2/12/0/1810"
srcExtSys="172.20.101.150"
destExtSys="172.20.101.150"
srcSvc="sam_extXMLApi"
destSvc="service-reg_dme"
response="yes"
classId="eventRecord">
<outDns>
<dn value="event-log/10210"/>
<dn value="event-log/10250"/>
<dn value="event-log/10211"/>
<dn value="event-log/10221"/>
<dn value="event-log/10251"/>
<dn value="event-log/10141"/>
<dn value="event-log/10151"/>
<dn value="event-log/10250"/>
<dn value="event-log/10211"/>
<dn value="event-log/10221"/>
<dn value="event-log/10251"/>
<dn value="event-log/10141"/>
<dn value="event-log/10151"/>
</outDns>
</configFindDnsByClassId>
configResolveChildren
The following example shows how to retrieve children of managed objects under a specific DN in the managed
information tree. A filter can be used to reduce the number of children being returned.
information tree. A filter can be used to reduce the number of children being returned.