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

Page de 103
Page 22 
OL-28369-01 
configResolveDns 
When using configResolveDns to resolve multiple DNs, note the following: 
● 
The objects specified by the DNs are retrieved. 
● 
The specified DN identifies the object instance to be resolved. 
● 
The authentication cookie is received from aaaLogin or aaaRefresh. 
● 
The inHierarchical attribute (default = false), if true, specifies that the results are hierarchical. 
● 
The enumerated values, class IDs, and bit masks are displayed as strings. 
● 
The order of a request does not determine the order of the response. 
● 
The unknown DNs are returned as part of the outUnresolved attribute. 
See the example request/response i
. 
configResolveClass 
When using configResolveClass to resolve a class, note the following: 
● 
The objects of the specified class type are retrieved. 
● 
The classId attribute specifies the object class name returned. 
● 
The authentication cookie is received from aaaLogin or aaaRefresh. 
● 
The inHierarchical attribute (default = false), if true, specifies that the results are hierarchical. The 
enumerated values, class IDs, and bit masks are displayed as strings. 
● 
Result sets can be large. Be precise when defining result sets. For example, to get all instances of 
equipment, query the equipmentItem class. To obtain only a list of servers, use computeBlade as the 
attribute value for classId in the query. 
See the example request/response in 
. 
configResolveClasses 
When using configResolveClasses to resolve multiple classes, note the following: 
● 
The objects of the specified class type are retrieved. 
● 
The classId attribute specifies the object class name returned. 
● 
The authentication cookie is received from aaaLogin or aaaRefresh. 
● 
The inHierarchical attribute (default = false), if true, specifies that the results are hierarchical. 
● 
The enumerated values, class IDs, and bit masks are displayed as strings. 
Note 
If an invalid class name is specified in the inlds attribute, an XML parsing error is generated. The query 
cannot execute. 
See the example request/response in 
. 
configFindDnsByClassId 
When finding distinguished names of a specified class, ensure the following: 
● 
The DNs of the specified class are retrieved. 
● 
The classId attribute specifies the object type to retrieve. 
● 
The authentication cookie is received from aaaLogin or aaaRefresh. 
● 
The inHierarchical attribute (default = false), if true, specifies that the results are hierarchical. 
● 
The enumerated values, class IDs, and bit masks are displayed as strings. 
See the example request/response in
. 
configResolveChildren 
When resolving children of objects in the management information tree, ensure the following: 
● 
The method obtains all child objects of a named object that are instances of the named class. 
Note  If a class name is omitted, all child objects of the named object are returned.