Table Of Contents
Cisco UCS XML API Method Descriptions
API Method Descriptions
aaaChangeSelfPassword
Request Syntax
Response Syntax
Examples
aaaCheckComputeAuthToken
Request Syntax
Response Syntax
Examples
aaaCheckComputeExtAccess
Request Syntax
Response Syntax
Examples
aaaGetNComputeAuthTokenByDn
Request Syntax
Response Syntax
Examples
aaaKeepAlive
Request Syntax
Response Syntax
Examples
aaaLogin
Request Syntax
Response Syntax
Examples
aaaLogout
Request Syntax
Response Syntax
Examples
aaaRefresh
Request Syntax
Response Syntax
Examples
aaaTokenLogin
Request Syntax
Response Syntax
Examples
aaaTokenRefresh
Request Syntax
Response Syntax
Examples
configCheckConformance
Request Syntax
Response Syntax
Examples
configCheckFirmwareUpdatable
Request Syntax
Response Syntax
Examples
configConfFiltered
Request Syntax
Response Syntax
Examples
configConfMo
Request Syntax
Response Syntax
Examples
configConfMoGroup
Request Syntax
Response Syntax
Examples
configConfMos
Request Syntax
Response Syntax
Examples
configEstimateImpact
Request Syntax
Response Syntax
Examples
configFindDependencies
Request Syntax
Response Syntax
Examples
configFindDnsByClassId
Request Syntax
Response Syntax
Examples
configMoChangeEvent
Request Syntax
Response Syntax
Examples
configResolveChildren
Request Syntax
Response Syntax
Examples
configResolveClass
Request Syntax
Response Syntax
Examples
configResolveClasses
Request Syntax
Response Syntax
Examples
configResolveDn
Request Syntax
Response Syntax
Examples
configResolveDns
Request Syntax
Response Syntax
Examples
configResolveParent
Request Syntax
Response Syntax
Examples
configScope
Request Syntax
Response Syntax
Examples
eventSendHeartbeat
Request Syntax
Response Syntax
Examples
eventSubscribe
Request Syntax
Response Syntax
Examples
faultAckFault
Request Syntax
Response Syntax
Examples
faultAckFaults
Request Syntax
Response Syntax
Examples
faultResolveFault
Request Syntax
Response Syntax
Examples
lsClone
Request Syntax
Response Syntax
Examples
lsInstantiateNNamedTemplate
Request Syntax
Response Syntax
Examples
lsInstantiateNTemplate
Request Syntax
Response Syntax
Examples
lsInstantiateTemplate
Request Syntax
Response Syntax
Examples
lsResolveTemplates
Request Syntax
Response Syntax
Examples
lsTemplatise
Request Syntax
Response Syntax
Examples
orgResolveElements
Request Syntax
Response Syntax
Examples
poolResolveInScope
Request Syntax
Response Syntax
Examples
statsClearInterval
Request Syntax
Response Syntax
Examples
statsResolveThresholdPolicy
Request Syntax
Response Syntax
Examples
Cisco UCS XML API Method Descriptions
This chapter includes the following section:
•
API Method Descriptions
API Method Descriptions
These methods are also called from the GUI Console. This section provides API method descriptions, syntax (request and response) and a usage example. The API methods for the Cisco UCS are defined here.
aaaChangeSelfPassword
The aaaChangeSelfPassword method changes the user's own password. The user supplies the old password for authentication, the new password, and a confirmation of the new password. If the user is authenticated successfully with the old password, the new password becomes effective.
Note
Users with admin and aaa privilege are not required to provide the old password while using this method.
Request Syntax
<xs:element name="aaaChangeSelfPassword" type="aaaChangeSelfPassword"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaChangeSelfPassword" mixed="true">
<xs:attribute name="inUserName">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inOldPassword">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="510"/>
<xs:attribute name="inNewPassword">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="510"/>
<xs:attribute name="inConfirmNewPassword">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="510"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaChangeSelfPassword" type="aaaChangeSelfPassword"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaChangeSelfPassword" mixed="true">
<xs:attribute name="outStatus">
<xs:restriction base="xs:string">
<xs:enumeration value="success"/>
<xs:enumeration value="failure"/>
<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"/>
Examples
Request
inConfirmNewPassword="Mbv12345" />
Response
aaaCheckComputeAuthToken
The aaaCheckComputeAuthToken method gets details on the specified token, such as the user name (who generated this token) and the user's privileges and locales.
Request Syntax
<xs:element name="aaaCheckComputeAuthToken" type="aaaCheckComputeAuthToken"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaCheckComputeAuthToken" mixed="true">
<xs:attribute name="inUser">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inToken" type="xs:string"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaCheckComputeAuthToken" type="aaaCheckComputeAuthToken"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaCheckComputeAuthToken" mixed="true">
<xs:attribute name="outAllow">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="outRemote">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="outAuthUser">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="outLocales" type="xs:string"/>
<xs:attribute name="outPriv">
<xs:restriction base="xs:string">
<xs:pattern
value="((ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equipment|ls-con
fig-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security|ls-config|
ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod-config|ls-
server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-security|ls-netwo
rk-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-network|ls-ext-ac
cess|fault),){0,35}(ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equip
ment|ls-config-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security
|ls-config|ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod
-config|ls-server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-securi
ty|ls-network-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-networ
k|ls-ext-access|fault){0,1}"/>
<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"/>
Examples
Request
<aaaCheckComputeAuthToken
inToken="04541875309302299687211"
Response
<aaaCheckComputeAuthToken
outPriv="admin,read-only">
</aaaCheckComputeAuthToken>
aaaCheckComputeExtAccess
The aaaCheckComputeExtAccess method validates whether a specified user has access to the server specified with the inDn parameter.
Request Syntax
<xs:element name="aaaCheckComputeExtAccess" type="aaaCheckComputeExtAccess"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaCheckComputeExtAccess" mixed="true">
<xs:attribute name="inDn" type="referenceObject"/>
<xs:attribute name="inUser">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaCheckComputeExtAccess" type="aaaCheckComputeExtAccess"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaCheckComputeExtAccess" mixed="true">
<xs:attribute name="outAllow">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<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"/>
Examples
Request
<aaaCheckComputeExtAccess
inDn="sys/Chassis-1/blaade-2"
Response
<aaaCheckComputeExtAccess
</aaaCheckComputeExtAccess>
aaaGetNComputeAuthTokenByDn
The aaaGetNComputeAuthTokenByDn method returns the authentication tokens for TokenLogin to a particular server specified by DN.
Request Syntax
<xs:element name="aaaGetNComputeAuthTokenByDn" type="aaaGetNComputeAuthTokenByDn"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaGetNComputeAuthTokenByDn" mixed="true">
<xs:attribute name="inDn">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="510"/>
<xs:attribute name="inNumberOf" type="xs:unsignedByte"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaGetNComputeAuthTokenByDn" type="aaaGetNComputeAuthTokenByDn"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaGetNComputeAuthTokenByDn" mixed="true">
<xs:attribute name="outUser">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="outTokens" type="xs:string"/>
<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"/>
Examples
Request
<aaaGetNComputeAuthTokenByDn
inDn="sys/chassis-1/blade-2"
Response
<aaaGetNComputeAuthTokenByDn
outUser="__computeToken__"
outTokens="35505994195216127267211,93595551908527060232451,11769973096057301593991,527
29538672765491844031,73106643969990280919791">
</aaaGetNComputeAuthTokenByDn>
aaaKeepAlive
The aaaKeepAlive method keeps the session active until the default session time expires, using the same cookie after the method call.
Request Syntax
<xs:element name="aaaKeepAlive" type="aaaKeepAlive" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaKeepAlive" mixed="true">
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaKeepAlive" type="aaaKeepAlive" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaKeepAlive" 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"/>
Examples
Request
cookie="<real_cookie>" />
Response
commCookie="11/15/0/2969"
srcExtSys="10.193.33.109"
destExtSys="10.193.33.109"
destSvc="mgmt-controller_dme"
aaaLogin
The aaaLogin method is the login process and is required to begin a session. This action establishes the HTTP (or HTTPS) session between the client and Cisco UCS.
Request Syntax
<xs:element name="aaaLogin" type="aaaLogin" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaLogin" mixed="true">
<xs:attribute name="inName">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inPassword">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="510"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaLogin" type="aaaLogin" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaLogin" mixed="true">
<xs:attribute name="outCookie" type="xs:string"/>
<xs:attribute name="outRefreshPeriod" type="xs:unsignedInt"/>
<xs:attribute name="outPriv">
<xs:restriction base="xs:string">
<xs:pattern
value="((ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equipment|ls-con
fig-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security|ls-config|
ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod-config|ls-
server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-security|ls-netwo
rk-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-network|ls-ext-ac
cess|fault),){0,35}(ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equip
ment|ls-config-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security
|ls-config|ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod
-config|ls-server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-securi
ty|ls-network-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-networ
k|ls-ext-access|fault){0,1}"/>
<xs:attribute name="outDomains" type="xs:string"/>
<xs:attribute name="outChannel">
<xs:restriction base="xs:string">
<xs:enumeration value="fullssl"/>
<xs:enumeration value="noencssl"/>
<xs:enumeration value="plain"/>
<xs:attribute name="outEvtChannel">
<xs:restriction base="xs:string">
<xs:enumeration value="fullssl"/>
<xs:enumeration value="noencssl"/>
<xs:enumeration value="plain"/>
<xs:attribute name="outSessionId">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="32"/>
<xs:attribute name="outVersion" type="xs:string"/>
<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"/>
Examples
Request
Response
outCookie="<real_cookie>"
outPriv="admin,read-only"
outSessionId="web_41246_A"
outVersion="1.4(0.61490)">
aaaLogout
The aaaLogout method is a process to close a web session by passing the session cookie as input. It is not automatic; the user has to explicitly invoke the aaaLogout method to terminate the session.
Request Syntax
<xs:element name="aaaLogout" type="aaaLogout" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaLogout" mixed="true">
<xs:attribute name="inCookie" type="xs:string"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaLogout" type="aaaLogout" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaLogout" mixed="true">
<xs:attribute name="outStatus">
<xs:restriction base="xs:string">
<xs:enumeration value="success"/>
<xs:enumeration value="failure"/>
<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"/>
Examples
Request
inCookie="<real_cookie>"/>
Response
aaaRefresh
The aaaRefresh method keeps sessions active (within the default session time frame) by user activity. There is a default of 7200 seconds that counts down when inactivity begins. If the 7200 seconds expire, Cisco UCS enters a sleep mode. It requires signing back in, which restarts the countdown. It continues using the same session ID.
Note
Using this method expires the previous cookie and issues a new cookie.
Request Syntax
<xs:element name="aaaRefresh" type="aaaRefresh" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaRefresh" mixed="true">
<xs:attribute name="inName">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inPassword">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="510"/>
<xs:attribute name="inCookie" type="xs:string"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaRefresh" type="aaaRefresh" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaRefresh" mixed="true">
<xs:attribute name="outCookie" type="xs:string"/>
<xs:attribute name="outRefreshPeriod" type="xs:unsignedInt"/>
<xs:attribute name="outPriv">
<xs:restriction base="xs:string">
<xs:pattern
value="((ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equipment|ls-con
fig-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security|ls-config|
ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod-config|ls-
server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-security|ls-netwo
rk-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-network|ls-ext-ac
cess|fault),){0,35}(ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equip
ment|ls-config-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security
|ls-config|ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod
-config|ls-server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-securi
ty|ls-network-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-networ
k|ls-ext-access|fault){0,1}"/>
<xs:attribute name="outDomains" type="xs:string"/>
<xs:attribute name="outChannel">
<xs:restriction base="xs:string">
<xs:enumeration value="fullssl"/>
<xs:enumeration value="noencssl"/>
<xs:enumeration value="plain"/>
<xs:attribute name="outEvtChannel">
<xs:restriction base="xs:string">
<xs:enumeration value="fullssl"/>
<xs:enumeration value="noencssl"/>
<xs:enumeration value="plain"/>
<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"/>
Examples
Request
inCookie="<real_cookie>"/>
Response
commCookie="" srcExtSys="0.0.0.0"
outCookie="<real_cookie>"
aaaTokenLogin
The aaaTokenLogin method allows access to the user based on the token passed. These tokens authenticate the user instead of using the password to allow access to the system. Tokens are generated by aaaGetNComputeAuthToken method.
Request Syntax
<xs:element name="aaaTokenLogin" type="aaaTokenLogin" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaTokenLogin" mixed="true">
<xs:attribute name="inName">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inToken">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="510"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaTokenLogin" type="aaaTokenLogin" substitutionGroup="externalMethod"/>
<xs:complexType name="aaaTokenLogin" mixed="true">
<xs:attribute name="outCookie" type="xs:string"/>
<xs:attribute name="outRefreshPeriod" type="xs:unsignedInt"/>
<xs:attribute name="outPriv">
<xs:restriction base="xs:string">
<xs:pattern
value="((ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equipment|ls-con
fig-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security|ls-config|
ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod-config|ls-
server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-security|ls-netwo
rk-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-network|ls-ext-ac
cess|fault),){0,35}(ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equip
ment|ls-config-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security
|ls-config|ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod
-config|ls-server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-securi
ty|ls-network-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-networ
k|ls-ext-access|fault){0,1}"/>
<xs:attribute name="outDomains" type="xs:string"/>
<xs:attribute name="outChannel">
<xs:restriction base="xs:string">
<xs:enumeration value="fullssl"/>
<xs:enumeration value="noencssl"/>
<xs:enumeration value="plain"/>
<xs:attribute name="outEvtChannel">
<xs:restriction base="xs:string">
<xs:enumeration value="fullssl"/>
<xs:enumeration value="noencssl"/>
<xs:enumeration value="plain"/>
<xs:attribute name="outSessionId">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="32"/>
<xs:attribute name="outVersion" type="xs:string"/>
<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"/>
Examples
Request
inToken="80278502964410805791351" />
Response
outCookie="<real_cookie>"
outPriv="admin,read-only"
outSessionId="web_49374_A"
outVersion="1.4(0.61490)">
aaaTokenRefresh
The aaaTokenRefresh method refreshes the current TokenLogin session.
Request Syntax
<xs:element name="aaaTokenRefresh" type="aaaTokenRefresh"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaTokenRefresh" mixed="true">
<xs:attribute name="inName">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inCookie" type="xs:string"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="aaaTokenRefresh" type="aaaTokenRefresh"
substitutionGroup="externalMethod"/>
<xs:complexType name="aaaTokenRefresh" mixed="true">
<xs:attribute name="outCookie" type="xs:string"/>
<xs:attribute name="outRefreshPeriod" type="xs:unsignedInt"/>
<xs:attribute name="outPriv">
<xs:restriction base="xs:string">
<xs:pattern
value="((ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equipment|ls-con
fig-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security|ls-config|
ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod-config|ls-
server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-security|ls-netwo
rk-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-network|ls-ext-ac
cess|fault),){0,35}(ext-lan-policy|pn-maintenance|ls-security-policy|pod-security|pn-equip
ment|ls-config-policy|ext-san-policy|ls-security|aaa|power-mgmt|read-only|ext-lan-security
|ls-config|ls-server-policy|pod-qos|pn-policy|ls-storage-policy|admin|ext-san-security|pod
-config|ls-server|ext-lan-qos|ls-storage|ls-qos-policy|operations|ext-lan-config|pn-securi
ty|ls-network-policy|pod-policy|ext-san-qos|ls-qos|ls-server-oper|ext-san-config|ls-networ
k|ls-ext-access|fault){0,1}"/>
<xs:attribute name="outDomains" type="xs:string"/>
<xs:attribute name="outChannel">
<xs:restriction base="xs:string">
<xs:enumeration value="fullssl"/>
<xs:enumeration value="noencssl"/>
<xs:enumeration value="plain"/>
<xs:attribute name="outEvtChannel">
<xs:restriction base="xs:string">
<xs:enumeration value="fullssl"/>
<xs:enumeration value="noencssl"/>
<xs:enumeration value="plain"/>
<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"/>
Examples
Request
inCookie="<real_cookie>" />
Response
outCookie="<real_cookie>"
outPriv="admin,read-only"
outEvtChannel="noencssl">
configCheckConformance
The configCheckConformance method checks if the given distributable (firmware package) can be used against the running Cisco UCS Manager version.
Request Syntax
<xs:element name="configCheckConformance" type="configCheckConformance"
substitutionGroup="externalMethod"/>
<xs:complexType name="configCheckConformance" mixed="true">
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="configCheckConformance" type="configCheckConformance"
substitutionGroup="externalMethod"/>
<xs:complexType name="configCheckConformance" mixed="true">
<xs:element name="outConfDns" type="dnSet" minOccurs="0"/>
<xs:element name="outToResetDns" type="dnSet" minOccurs="0"/>
<xs:element name="outNonConfDns" type="dnSet" minOccurs="0"/>
<xs:element name="outInProgressDns" type="dnSet" minOccurs="0"/>
<xs:element name="outNonUpgradableDns" type="dnSet" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
dn="sys/fw-catalogue/distrib-ucs-k9-bundle-b-series.2.0.0.528.gbin"
</configCheckConformance>
Response
dn="sys/fw-catalogue/distrib-ucs-k9-bundle-b-series.2.0.0.528.gbin"
<dn value="sys/chassis-1/blade-5/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-5/bios/fw-boot-loader"/>
<dn value="sys/chassis-1/blade-3/boardController/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-1/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-3/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-1/bios/fw-boot-loader"/>
<dn value="sys/chassis-1/blade-3/bios/fw-boot-loader"/>
<dn value="sys/chassis-1/blade-3/adaptor-1/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-1/adaptor-2/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-1/adaptor-1/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-3/adaptor-2/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-5/adaptor-1/mgmt/fw-system"/>
<dn value="sys/chassis-1/blade-3/board/storage-SAS-1/fw-system"/>
</configCheckConformance>
configCheckFirmwareUpdatable
The configCheckFirmwareUpdatable method checks if firmware in certain components can be updated or activated. The method is triggered every time a user initiates an update or activate process.
For example, if a user tries to update the firmware version of an endpoint for which a firmware policy is specified as part of a service profile (either a host firmware pack or management firmware pack), the operation is disallowed. This method performs the validation.
Request Syntax
<xs:element name="configCheckFirmwareUpdatable" type="configCheckFirmwareUpdatable"
substitutionGroup="externalMethod"/>
<xs:complexType name="configCheckFirmwareUpdatable" mixed="true">
<xs:element name="inUpdatableDns" type="dnSet" minOccurs="0"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="configCheckFirmwareUpdatable" type="configCheckFirmwareUpdatable"
substitutionGroup="externalMethod"/>
<xs:complexType name="configCheckFirmwareUpdatable" mixed="true">
<xs:element name="outPassDns" type="dnSet" minOccurs="0"/>
<xs:element name="outFailDns" type="dnSet" minOccurs="0"/>
<xs:element name="outInvalidDns" type="dnSet" minOccurs="0"/>
<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"/>
Examples
Request
<configCheckFirmwareUpdatable
<dn value="sys/chassis-1/blade-5/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-5/adaptor-2/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-2/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-2/adaptor-1/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-1/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-3/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-3/adaptor-2/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-1/adaptor-1/mgmt/fw-updatable"/>
</configCheckFirmwareUpdatable>
Response
<configCheckFirmwareUpdatable
<dn value="sys/chassis-1/blade-1/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/bla de-2/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-3/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-5/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-5/adaptor-2/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-2/adaptor-1/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade- 1/adaptor-1/mgmt/fw-updatable"/>
<dn value="sys/chassis-1/blade-3/adaptor-2/mgmt/fw-updatable"/>
</configCheckFirmwareUpdatable>
configConfFiltered
The configConfFiltered method limits data and activity according to the configured policies.
Request Syntax
<xs:element name="configConfFiltered" type="configConfFiltered"
substitutionGroup="externalMethod"/>
<xs:complexType name="configConfFiltered" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:element name="inConfig" type="configConfig" minOccurs="0"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="classId" type="namingClassId"/>
Response Syntax
<xs:element name="configConfFiltered" type="configConfFiltered"
substitutionGroup="externalMethod"/>
<xs:complexType name="configConfFiltered" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<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"/>
Examples
Request
<eq class="orgTenant" property="name" value="Cisco" />
<orgDatacenter dn="org-HR" descr="HR (Human Resources- new Descr)"/>
Response
srcExtSys="10.193.33.206"
destExtSys="10.193.33.206"
destSvc="resource-mgr_dme"
descr="HR (Human Resources- new Descr)"
dn="org-root/org-Cisco/org-HR"
configConfMo
The configConfMo method configures the specified managed object in a single subtree (for example, DN).
Request Syntax
<xs:element name="configConfMo" type="configConfMo" substitutionGroup="externalMethod"/>
<xs:complexType name="configConfMo" mixed="true">
<xs:element name="inConfig" type="configConfig" minOccurs="0"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="configConfMo" type="configConfMo" substitutionGroup="externalMethod"/>
<xs:complexType name="configConfMo" mixed="true">
<xs:element name="outConfig" type="configConfig" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
basedn="dc=pasadena,dc=cisco,dc=com"
filter="sAMAccountName=$userid"
Response
srcExtSys="10.193.33.101"
destExtSys="10.193.33.101"
destSvc="mgmt-controller_dme"
basedn="dc=pasadena,dc=cisco,dc=com"
childAction="deleteNonPresent"
filter="sAMAccountName=$userid"
fsmPrev="updateEpSuccess"
fsmStamp="2010-11-22T23:41:01.826"
configConfMoGroup
The configConfMoGroup method configures groups of managed objects based upon the configured policies.
Request Syntax
<xs:element name="configConfMoGroup" type="configConfMoGroup"
substitutionGroup="externalMethod"/>
<xs:complexType name="configConfMoGroup" mixed="true">
<xs:element name="inDns" type="dnSet" minOccurs="0"/>
<xs:element name="inConfig" type="configConfig" minOccurs="0"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="configConfMoGroup" type="configConfMoGroup"
substitutionGroup="externalMethod"/>
<xs:complexType name="configConfMoGroup" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<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"/>
Examples
Note
The descr property of orgDataCenter (under org-root/org-Cisco and org-root/org-Soda) is modified. Because the descr property is not implicit, it can be modified. If implicit, the modification does not apply and a new orgDataCenter is created.
Request
<dn value="org-root/org-Cisco" />
<dn value="org-root/org-Soda" />
<orgDatacenter dn="org-HR" descr="HR (Human Resources)"/>
Response
srcExtSys="10.193.33.206"
destExtSys="10.193.33.206"
destSvc="resource-mgr_dme"
descr="HR (Human Resources)"
dn="org-root/org-Soda/org-HR"
descr="HR (Human Resources)"
dn="org-root/org-Cisco/org-HR"
configConfMos
The configConfMos method configures managed objects in multiple subtrees using DNs.
Request Syntax
<xs:element name="configConfMos" type="configConfMos" substitutionGroup="externalMethod"/>
<xs:complexType name="configConfMos" mixed="true">
<xs:element name="inConfigs" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_2">
<xs:selector xpath="pair"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="configConfMos" type="configConfMos" substitutionGroup="externalMethod"/>
<xs:complexType name="configConfMos" mixed="true">
<xs:element name="outConfigs" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_5">
<xs:selector xpath="pair"/>
<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"/>
Examples
Request
<pair key="org-root/logprof-default">
<policyLogProfile dn="org-root/logprof-default"
<!-- Update Controller Device Profile -->
<pair key="org-root/controller-profile-default">
<policyControllerDeviceProfile
dn="org-root/controller-profile-default"
<commDnsProvider hostip="171.70.168.183" order="1"/>
<commDnsProvider hostip="171.68.226.120" order="2"/>
<commDnsProvider hostip="64.102.6.247" order="3"/>
</policyControllerDeviceProfile>
Response
destExtSys="10.193.34.70"
<pair key="org-root/logprof-default">
descr="the log level for every process"
dn="org-root/logprof-default"
<pair key="org-root/controller-profile-default">
configEstimateImpact
The configEstimateImpact method estimates the impact of a set of managed objects modifications in terms of disruption of running services. For example, modifying the UUID pool used by an updating template might require rebooting servers associated to service profiles instantiated from the template.
User can estimate the impact of a change set by passing the set to the method and inspecting the output parameters. Output parameters are a set of affected service profiles (before and after the changes) and the corresponding ack object for each service profile.
Ack objects contain the following information:
•
Whether the changes are disruptive (for example, require reboot of the server associated to the service profile).
•
Summary of changes.
•
When changes are applied (immediately, after user ack, during scheduled occurrence of a maintenance window).
•
Date and time at which such changes were made and by whom.
Cisco UCS returns the ack objects before and after the changes are applied. This information helps determine whether some changes were already pending on the service profile. This condition can occur when maintenance policies are used.
The parameters are defined as:
•
configs—Set of changes to be evaluated (add, delete, or modify managed objects).
•
affected—Affected service profiles after the changes have been applied (not hierarchical).
•
oldAffected—Affected service profiles before applying changes (not hierarchical).
•
ackables—Content of the ack object associated to the service profiles, after applying the changes.
•
oldAckables—Content of the ack object associated to the service profiles, before applying the changes.
Request Syntax
<xs:element name="configEstimateImpact" type="configEstimateImpact"
substitutionGroup="externalMethod"/>
<xs:complexType name="configEstimateImpact" mixed="true">
<xs:element name="inConfigs" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_3">
<xs:selector xpath="pair"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="configEstimateImpact" type="configEstimateImpact"
substitutionGroup="externalMethod"/>
<xs:complexType name="configEstimateImpact" mixed="true">
<xs:element name="outAckables" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_6">
<xs:selector xpath="pair"/>
<xs:element name="outOldAckables" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_7">
<xs:selector xpath="pair"/>
<xs:element name="outAffected" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_8">
<xs:selector xpath="pair"/>
<xs:element name="outOldAffected" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_9">
<xs:selector xpath="pair"/>
<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"/>
Examples
Request
<pair key="org-root/ls-template-3">
dn="org-root/ls-template-3"
powerPolicyName="default"
statsPolicyName="default"
Response
<pair key="org-root/ls-template-3">
assocState="unassociated"
configState="not-applied"
dn="org-root/ls-template-3"
operBootPolicyName="org-root/boot-policy-default"
operDynamicConPolicyName=""
operIdentPoolName="org-root/uuid-pool-default"
operLocalDiskPolicyName="org-root/local-disk-config-default"
operMaintPolicyName="org-root/maint-default"
operMgmtAccessPolicyName=""
operPowerPolicyName="org-root/power-policy-default"
operScrubPolicyName="org-root/scrub-default"
operStatsPolicyName="org-root/thr-policy-default"
powerPolicyName="default"
statsPolicyName="default"
uuidSuffix="0000-000000000000"
<pair key="org-root/ls-template-3">
configFindDependencies
The configFindDependencies method returns the dervice policy details for a specified policy.
Request Syntax
<xs:element name="configFindDependencies" type="configFindDependencies"
substitutionGroup="externalMethod"/>
<xs:complexType name="configFindDependencies" mixed="true">
<xs:attribute name="inReturnConfigs">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="configFindDependencies" type="configFindDependencies"
substitutionGroup="externalMethod"/>
<xs:complexType name="configFindDependencies" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<xs:attribute name="outHasDep">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<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="dn" type="referenceObject"/>
Examples
Request
dn="org-root/fw-host-pack-host-pack-6625"
</configFindDependencies>
Response
dn="org-root/fw-host-pack-host-pack-6625"
dn="org-root/ls-service-profile-5"
fsmPrev="ConfigureSuccess"
fsmStamp="2011-01-10T23:51:28.310"
hostFwPolicyName="host-pack-6625"
intId="29191" localDiskPolicyName=""
mgmtFwPolicyName="m-firmware-1"
operBootPolicyName="org-root/boot-policy-default"
operDynamicConPolicyName=""
operHostFwPolicyName="org-root/fw-host-pack-host-pack-6625"
operIdentPoolName="org-root/uuid-pool-default"
operLocalDiskPolicyName="org-root/local-disk-config-default"
operMaintPolicyName="org-root/maint-default"
operMgmtAccessPolicyName=""
operMgmtFwPolicyName="org-root/fw-mgmt-pack-m-firmware-1"
operPowerPolicyName="org-root/power-policy-default"
operScrubPolicyName="org-root/scrub-default"
operStatsPolicyName="org-root/thr-policy-default"
pnDn="sys/chassis-1/blade-5"
powerPolicyName="default"
statsPolicyName="default"
uuidSuffix="0000-000000000000"
</configFindDependencies>
configFindDnsByClassId
The configFindDnsByClassId method finds distinguished names and returns them sorted by class ID.
Request Syntax
<xs:element name="configFindDnsByClassId" type="configFindDnsByClassId"
substitutionGroup="externalMethod"/>
<xs:complexType name="configFindDnsByClassId" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="classId" type="namingClassId"/>
Response Syntax
<xs:element name="configFindDnsByClassId" type="configFindDnsByClassId"
substitutionGroup="externalMethod"/>
<xs:complexType name="configFindDnsByClassId" mixed="true">
<xs:element name="outDns" type="dnSet" minOccurs="0"/>
<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"/>
Examples
Request
cookie="<real_cookie>" />
Response
<dn value="sys/chassis-1/blade-7"/>
<dn value="sys/chassis-1/blade-5"/>
<dn value="sys/chassis-1/blade-3"/>
<dn value="sys/chassis-1/blade-1"/>
</configFindDnsByClassId>
configMoChangeEvent
The configMoChangeEvent method provides event details from Cisco UCS as a result of event subscription. The status property indicates the action that caused the event (indicated by inEid) to be generated. This is a request sent from Cisco UCS to the subscribers. There is no reponse.
Request Syntax
<xs:element name="configMoChangeEvent" type="configMoChangeEvent"
substitutionGroup="externalMethod"/>
<xs:complexType name="configMoChangeEvent" mixed="true">
<xs:element name="inConfig" type="configConfig" minOccurs="0"/>
<xs:attribute name="inEid" type="xs:unsignedLong"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<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"/>
Examples
Request
fsmPrev="configCallhomeSetLocal"
fsmStamp="2008-10-16T17:59:25"
dn="sys/switch-A/mgmt/if-1"
fsmPrev="SwMgmtOobIfConfigSwitch"
fsmStamp="2008-10-16T17:59:25"
affected="sys/sysdebug/file-export"
created="2008-10-16T17:59:25"
descr="[FSM:STAGE:RETRY:8]: configuring automatic core file export service on
local"
Response
There is no response to this method.
configResolveChildren
The configResolveChildren method retrieves 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.
Request Syntax
<xs:element name="configResolveChildren" type="configResolveChildren"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveChildren" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:attribute name="inDn" type="referenceObject"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="classId" type="namingClassId"/>
Response Syntax
<xs:element name="configResolveChildren" type="configResolveChildren"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveChildren" mixed="true">
<xs:all> <xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<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"/>
Examples
Request
Response
commCookie="11/15/0/2a59"
srcExtSys="10.193.33.120"
destExtSys="10.193.33.120"
destSvc="mgmt-controller_dme"
<aaaUser descr="" dn="sys/user-ext/user-chambers"
email="" expiration="never" expires="no" firstName="John" intId="12716"
lastName="Chambers" name="chambers" phone="" priv="admin,read-only"
pwdSet="yes"/>
<aaaUser descr="" dn="sys/user-ext/user-jackson" email="" expiration="never"
expires="no" firstName="Andrew" intId="12734" lastName="Jackson"
name="jackson" phone=""
priv="fault,operations,policy,read-only,res-config,tenant" pwdSet="yes"/>
<aaaUser descr="" dn="sys/user-ext/user-admin" email="" expiration="never"
expires="no" firstName="" intId="10052" lastName="" name="admin" phone=""
priv="admin,read-only" pwdSet="yes"/>
<aaaUser descr="" dn="sys/user-ext/user-bama" email="" expiration="never"
expires="no" firstName="Rak" intId="12711" lastName="Bama" name="bama"
phone="" priv="fault,operations,policy,read-only,res-config,tenant"
pwdSet="yes"/>
<aaaUser descr="" dn="sys/user-ext/user-fuld" email="" expiration="never"
expires="no" firstName="Richard" intId="12708" lastName="Fuld" name="fuld"
phone="" priv="read-only" pwdSet="yes"/>
<aaaUser descr="testuser" dn="sys/user-ext/user-aaa" email=""
expiration="never" expires="no" firstName="a" intId="10620" lastName="aa"
name="aaa" phone="" priv="aaa,read-only" pwdSet="no"/>
configResolveClass
The configResolveClass method returns requested managed object in a given class. If inHierarchical=true, the results contain children.
Request Syntax
<xs:element name="configResolveClass" type="configResolveClass"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveClass" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="classId" type="namingClassId"/>
Response Syntax
<xs:element name="configResolveClass" type="configResolveClass"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveClass" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<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"/>
Examples
Request
Response
commCookie="11/15/0/2a5b"
srcExtSys="10.193.33.120"
destExtSys="10.193.33.120"
destSvc="mgmt-controller_dme"
configResolveClasses
The configResolveClasses method returns requested managed objects in several classes. If inHierarchical=true, the results contain children.
Request Syntax
<xs:element name="configResolveClasses" type="configResolveClasses"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveClasses" mixed="true">
<xs:element name="inIds" type="classIdSet" minOccurs="0"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="configResolveClasses" type="configResolveClasses"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveClasses" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<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"/>
Examples
Request
<Id value="computeItem"/>
<Id value="equipmentChassis"/>
Response
(This is an abbreviated response.)
dn="sys/chassis-1/blade-1"
dn="sys/chassis-1/blade-3"
dn="sys/chassis-1/blade-5"
adminState="acknowledged"
configResolveDn
For a specified DN, the configResolveDn method retrieves a single managed object.
Request Syntax
<xs:element name="configResolveDn" type="configResolveDn"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveDn" mixed="true">
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="configResolveDn" type="configResolveDn"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveDn" mixed="true">
<xs:element name="outConfig" type="configConfig" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
dn="vmmEp/vm-mgr-vcenter1" />
Response
<configResolveDn dn="vmmEp/vm-mgr-vcenter1"
destExtSys="10.193.34.70"
dn="vmmEp/vm-mgr-vcenter1"
fsmDescr="AG registration with
vCenter(FSM:sam:dme:VmManagerRegisterWithVCenter)"
fsmPrev="RegisterWithVCenterRegistering"
fsmStageDescr="AG registration with
vCenter(FSM-STAGE:sam:dme:VmManagerRegisterWithVCenter:Registering)"
fsmStamp="2010-11-11T21:37:15.696"
fsmStatus="RegisterWithVCenterRegistering"
hostName="savbu-vpod-dev-31.cisco.com"
configResolveDns
For a list of DNs, the configResolveDns method retrieves managed objects.
Request Syntax
<xs:element name="configResolveDns" type="configResolveDns"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveDns" mixed="true">
<xs:element name="inDns" type="dnSet" minOccurs="0"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="configResolveDns" type="configResolveDns"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveDns" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<xs:element name="outUnresolved" type="dnSet" minOccurs="0"/>
<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"/>
Examples
Request
<dn value="sys/chassis-1" />
<dn value="sys/chassis-1/blade-1/board/cpu-1" />
<dn value="sys/chassis-1/blade-1/board/t-stats" />
Response
dn="sys/chassis-1/blade-1/board/cpu-1"
model="Intel(R) Xeon(R) CPU E5520 @ 2.27GHz"
vendor="Intel(R) Corporation"
<dn value="sys/chassis-1/blade-1/board/t-stats"/>
configResolveParent
For a specified DN, the configResolveParent method retrieves the parent of the managed object.
Request Syntax
<xs:element name="configResolveParent" type="configResolveParent"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveParent" mixed="true">
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="configResolveParent" type="configResolveParent"
substitutionGroup="externalMethod"/>
<xs:complexType name="configResolveParent" mixed="true">
<xs:element name="outConfig" type="configConfig" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
dn="sys/chassis-1/blade-1/adaptor-1">
Response
dn="sys/chassis-1/blade-1/adaptor-1"
dn="sys/chassis-1/blade-1"
fsmPrev="DiscoverSuccess"
fsmStamp="2009-09-23T23:44:30"
lcTs="1969-12-31T16:00:00"
originalUuid="e3516842-d0a4-11dd-baad-000bab01bfd6"
uuid="e3516842-d0a4-11dd-baad-000bab01bfd6"
vendor="Cisco Systems Inc"/>
configScope
The configScope method returns managed objects and details about their configuration.
Request Syntax
<xs:element name="configScope" type="configScope" substitutionGroup="externalMethod"/>
<xs:complexType name="configScope" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:attribute name="inClass" type="namingClassId"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="inRecursive">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="configScope" type="configScope" substitutionGroup="externalMethod"/>
<xs:complexType name="configScope" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
Response
<configScope dn="org-root"
srcExtSys="10.193.33.120"
destExtSys="10.193.33.120"
destSvc="service-reg_dme"
<orgOrgCaps dn="org-root/org-caps" org="512" tenant="64"/>
<orgOrgCounts dn="org-root/org-counter" org="36" tenant="7"/>
eventSendHeartbeat
The eventSendHeartbeat method allows clients to retrieve any missed event. Each event has a unique event ID. These event IDs operate as counters and are included in all method responses.
Each time an event is generated, the event ID counter increases and the new event is assigned a new event ID. This enables the subscriber to track the events. If an event is missed by the client, the client can use the eventSendEvent method to retrieve the missed event.
Request Syntax
<xs:element name="eventSendHeartbeat" type="eventSendHeartbeat"
substitutionGroup="externalMethod"/>
<xs:complexType name="eventSendHeartbeat" mixed="true">
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="eventSendHeartbeat" type="eventSendHeartbeat"
substitutionGroup="externalMethod"/>
<xs:complexType name="eventSendHeartbeat" mixed="true">
<xs:attribute name="outSystemTime" type="dateTime"/>
<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"/>
Examples
Request
When the client application subscribes to an event or events by using eventSubscribe, Cisco UCS sends eventSendHeartbeat periodically (default 120 seconds).
Response
outSystemTime="2010-11-12T20:38:19.630">
eventSubscribe
The eventSubscribe method allows a client to subscribe to asynchronous events generated by Cisco UCS, including all object changes in the system (created, changed, or deleted).
Event subscription allows a client application to register for event notification from Cisco UCS. When an event occurs, Cisco UCS informs the client application of the event and its type. Only the actual change information is sent. The object's unaffected attributes are not included.
Use eventSubscribe to register for events as shown in the following example:
Request Syntax
<xs:element name="eventSubscribe" type="eventSubscribe"
substitutionGroup="externalMethod"/>
<xs:complexType name="eventSubscribe" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="eventSubscribe" type="eventSubscribe"
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"/>
Examples
Request
Response
NO RESPONSE OR ACKNOWELDGEMENT.
faultAckFault
The faultAckFault method acknowledges a fault. The acknowledgement response marks the fault severity as cleared. Faults categorized as auto-cleared do not require acknowledgment.
Request Syntax
<xs:element name="faultAckFault" type="faultAckFault" substitutionGroup="externalMethod"/>
<xs:complexType name="faultAckFault" mixed="true">
<xs:attribute name="inId" type="xs:unsignedLong"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="faultAckFault" type="faultAckFault" substitutionGroup="externalMethod"/>
<xs:complexType name="faultAckFault" 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"/>
Examples
Request
Response
srcExtSys="10.193.33.214"
destExtSys="10.193.33.214"
destSvc="resource-mgr_dme"
faultAckFaults
The faultAckFaults method acknowledges multiple faults. The acknowledgement response marks the fault severity as cleared. Faults categorized as auto-cleared do not require acknowledgment.
Request Syntax
<xs:element name="faultAckFaults" type="faultAckFaults"
substitutionGroup="externalMethod"/>
<xs:complexType name="faultAckFaults" mixed="true">
<xs:element name="inIds" type="idSet" minOccurs="0"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="faultAckFaults" type="faultAckFaults"
substitutionGroup="externalMethod"/>
<xs:complexType name="faultAckFaults" 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"/>
Examples
Request
Response
destExtSys="10.193.34.70"
destSvc="mgmt-controller_dme"
faultResolveFault
The faultResolveFault method sends a response when a fault has been resolved.
Request Syntax
<xs:element name="faultResolveFault" type="faultResolveFault"
substitutionGroup="externalMethod"/>
<xs:complexType name="faultResolveFault" mixed="true">
<xs:attribute name="inId" type="xs:unsignedLong"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="faultResolveFault" type="faultResolveFault"
substitutionGroup="externalMethod"/>
<xs:complexType name="faultResolveFault" mixed="true">
<xs:element name="outFault" type="configConfig" minOccurs="0"/>
<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"/>
Examples
Request
Response
srcExtSys="10.193.33.214"
destExtSys="10.193.33.214"
destSvc="resource-mgr_dme"
created="2010-11-19T11:02:41.568"
descr="Virtual Security Gateway pool default is empty"
dn="org-root/fwpool-default/fault-F0135"
lastTransition="2010-11-19T11:02:41.568"
lsClone
The lsClone method clones a service profile. The new service profile has the same values as the specified service profile.
Request Syntax
<xs:element name="lsClone" type="lsClone" substitutionGroup="externalMethod"/>
<xs:complexType name="lsClone" mixed="true">
<xs:attribute name="inTargetOrg" type="referenceObject"/>
<xs:attribute name="inServerName">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="lsClone" type="lsClone" substitutionGroup="externalMethod"/>
<xs:complexType name="lsClone" mixed="true">
<xs:element name="outConfig" type="configConfig" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Two examples are provided: cloning a service profile and closing a service template.
Request (service profile)
Response (service profile)
assocState="unassociated"
configState="not-applied"
localDiskPolicyName="default"
operDynamicConPolicyName=""
operLocalDiskPolicyName=""
operMgmtAccessPolicyName=""
powerPolicyName="default"
srcTemplName="service-templ-001"
statsPolicyName="default"
uuidSuffix="0000-000000000000"
Request (service template)
dn="org-root/ls-template-3"
Response (service template)
dn="org-root/ls-template-3"
assocState="unassociated"
configState="not-applied"
operDynamicConPolicyName=""
operLocalDiskPolicyName=""
operMgmtAccessPolicyName=""
powerPolicyName="default"
statsPolicyName="default"
uuidSuffix="0000-000000000000"
lsInstantiateNNamedTemplate
For a specified service template, the lsInstantiateNNamedTemplate method instantiates as many service profiles as are specified in the namedSet parameter.
•
dn—Specifies the service template used for instantiating.
•
nameSet—Contains the names of the service profiles to be instantiated.
•
targetOrg—Specifies the organization in which these service profiles are instantiated.
Request Syntax
<xs:element name="lsInstantiateNNamedTemplate" type="lsInstantiateNNamedTemplate"
substitutionGroup="externalMethod"/>
<xs:complexType name="lsInstantiateNNamedTemplate" mixed="true">
<xs:element name="inNameSet" type="dnSet" minOccurs="0"/>
<xs:attribute name="inTargetOrg" type="referenceObject"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="lsInstantiateNNamedTemplate" type="lsInstantiateNNamedTemplate"
substitutionGroup="externalMethod"/>
<xs:complexType name="lsInstantiateNNamedTemplate" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
<lsInstantiateNNamedTemplate
dn="org-root/ls-service-template-001"
<dn value="service-profile-A"/>
<dn value="service-profile-B"/>
<dn value="service-profile-C"/>
</lsInstantiateNNamedTemplate>
Response
<lsInstantiateNNamedTemplate
dn="org-root/ls-service-template-001"
assocState="unassociated"
configState="not-applied"
dn="org-root/ls-service-profile-A "
uuidSuffix="0000-000000000000"
</lsInstantiateNNamedTemplate>
lsInstantiateNTemplate
The lsInstantiateNTemplate method creates a number (N) of service profiles from a template.
Request Syntax
<xs:element name="lsInstantiateNTemplate" type="lsInstantiateNTemplate"
substitutionGroup="externalMethod"/>
<xs:complexType name="lsInstantiateNTemplate" mixed="true">
<xs:attribute name="inTargetOrg" type="referenceObject"/>
<xs:attribute name="inServerNamePrefixOrEmpty">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inNumberOf" type="xs:unsignedByte"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="lsInstantiateNTemplate" type="lsInstantiateNTemplate"
substitutionGroup="externalMethod"/>
<xs:complexType name="lsInstantiateNTemplate" mixed="true">
<xs:element name="outConfigs" type="configSet" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
dn="org-root/ls-service-templ-001"
inServerNamePrefixOrEmpty="SP"
</lsInstantiateNTemplate>
Response
dn="org-root/ls-service-templ-001"
assocState="unassociated"
configState="not-applied"
localDiskPolicyName="default"
operDynamicConPolicyName=""
operLocalDiskPolicyName=""
operMgmtAccessPolicyName=""
powerPolicyName="default"
srcTemplName="service-templ-001"
statsPolicyName="default"
uuidSuffix="0000-000000000000"
</lsInstantiateNTemplate>
lsInstantiateTemplate
The lsInstantiateTemplate method creates one service profile from a specified template.
Request Syntax
<xs:element name="lsInstantiateTemplate" type="lsInstantiateTemplate"
substitutionGroup="externalMethod"/>
<xs:complexType name="lsInstantiateTemplate" mixed="true">
<xs:attribute name="inTargetOrg" type="referenceObject"/>
<xs:attribute name="inServerName">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="lsInstantiateTemplate" type="lsInstantiateTemplate"
substitutionGroup="externalMethod"/>
<xs:complexType name="lsInstantiateTemplate" mixed="true">
<xs:element name="outConfig" type="configConfig" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
dn="org-root/ls-service-templ-001"
Response
dn="org-root/ls-service-templ-001"
assocState="unassociated"
configState="not-applied"
localDiskPolicyName="default"
operDynamicConPolicyName=""
operLocalDiskPolicyName=""
operMgmtAccessPolicyName=""
powerPolicyName="default"
srcTemplName="service-templ-001"
statsPolicyName="default"
uuidSuffix="0000-000000000000"
lsResolveTemplates
The lsResolveTemplates method retrieves the service profile templates from the specified organization, which is matched hierarchically. The search can be further refined by providing standard querying filters in addition to querying by template-type and a flag to exclude-if-bounded.
Template type can be "initial-template" or "updating-template".
Request Syntax
<xs:element name="lsResolveTemplates" type="lsResolveTemplates"
substitutionGroup="externalMethod"/>
<xs:complexType name="lsResolveTemplates" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:attribute name="inExcludeIfBound">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="inType">
<xs:restriction base="xs:string">
<xs:enumeration value="initial-template"/>
<xs:enumeration value="updating-template"/>
<xs:enumeration value="all"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="lsResolveTemplates" type="lsResolveTemplates"
substitutionGroup="externalMethod"/>
<xs:complexType name="lsResolveTemplates" mixed="true">
<xs:element name="outConfigs" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_10">
<xs:selector xpath="pair"/>
<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="dn" type="referenceObject"/>
Examples
Request
inType="initial-template"
Response
<pair key="ls-service-template-001">
<lsServer agentPolicyName=""
assocState="unassociated"
configState="not-applied"
dn="org-root/ls-service-template-001"
uuidSuffix="0000-000000000000"
lsTemplatise
The lsTemplatise method creates a template from a specified service profile.
Request Syntax
<xs:element name="lsTemplatise" type="lsTemplatise" substitutionGroup="externalMethod"/>
<xs:complexType name="lsTemplatise" mixed="true">
<xs:attribute name="inTargetOrg" type="referenceObject"/>
<xs:attribute name="inTemplateName">
<xs:restriction base="xs:string">
<xs:pattern value="[\-\.:_a-zA-Z0-9]{0,16}"/>
<xs:attribute name="inTemplateType">
<xs:restriction base="xs:string">
<xs:enumeration value="instance"/>
<xs:enumeration value="initial-template"/>
<xs:enumeration value="updating-template"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="lsTemplatise" type="lsTemplatise" substitutionGroup="externalMethod"/>
<xs:complexType name="lsTemplatise" mixed="true">
<xs:element name="outConfig" type="configConfig" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
inTemplateName="tempate-2"
inTemplateType="initial-template"
Response
assocState="unassociated"
configState="not-applied"
dn="org-root/ls-tempate-2"
localDiskPolicyName="default"
operDynamicConPolicyName=""
operLocalDiskPolicyName=""
operMgmtAccessPolicyName=""
powerPolicyName="default"
srcTemplName="service-templ-001"
statsPolicyName="default"
uuidSuffix="0000-000000000000"
orgResolveElements
Using a specified organization, policy class ID, and name, the orgResolveElements method resolves the instance of the policy class.
Request Syntax
<xs:element name="orgResolveElements" type="orgResolveElements"
substitutionGroup="externalMethod"/>
<xs:complexType name="orgResolveElements" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:attribute name="inClass" type="namingClassId"/>
<xs:attribute name="inSingleLevel">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="orgResolveElements" type="orgResolveElements"
substitutionGroup="externalMethod"/>
<xs:complexType name="orgResolveElements" mixed="true">
<xs:element name="outConfigs" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_11">
<xs:selector xpath="pair"/>
<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="dn" type="referenceObject"/>
Examples
Request
srcExtSys="10.193.33.221"
destExtSys="10.193.33.221"
inClass="policyPolicySet"
Response
srcExtSys="10.193.33.221"
destExtSys="10.193.33.221"
<pair key="pset-default">
descr="The default Policy Set"
dn="org-root/pset-default"
<pair key="pset-myPolicySet3">
<pair key="pset-policySetSanity">
dn="org-root/org-Soda/pset-policySetSanity"
<pair key="pset-pci_compliance_f">
dn="org-root/pset-pci_compliance_f"
name="pci_compliance_f"/>
<pair key="pset-pci_compliance_h">
dn="org-root/pset-pci_compliance_h"
name="pci_compliance_h"/>
poolResolveInScope
The poolResolveInScope method, using the specified DN, looks up the pool and parent pools (optional) recursively to the root. If no pool exists, an empty map is returned. If any pool is found, this method searches all pools with the specified class and filters.
Note
If inSingleLevel = false, this method searches parent pools up to the root directory.
Request Syntax
<xs:element name="poolResolveInScope" type="poolResolveInScope"
substitutionGroup="externalMethod"/>
<xs:complexType name="poolResolveInScope" mixed="true">
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
<xs:attribute name="inClass" type="namingClassId"/>
<xs:attribute name="inSingleLevel">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="inHierarchical">
<xs:union memberTypes="xs:boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="no"/>
<xs:enumeration value="yes"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="poolResolveInScope" type="poolResolveInScope"
substitutionGroup="externalMethod"/>
<xs:complexType name="poolResolveInScope" mixed="true">
<xs:element name="outConfigs" type="configMap" minOccurs="0">
<xs:unique name="unique_map_key_13">
<xs:selector xpath="pair"/>
<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="dn" type="referenceObject"/>
Examples
Request
Response
srcExtSys="10.193.33.221"
destExtSys="10.193.33.221"
destSvc="resource-mgr_dme"
<pair key="fwpool-default">
descr="Default Pool of Virtual Security Gateway resources"
dn="org-root/fwpool-default"
<pair key="fwpool-ciscoCfwPool">
statsClearInterval
The statsClearInterval method resets the collection interval timer for the statsClass. All of the statistics' implicit properties (for example, min, max, and avg calculations) are reset, and the corresponding history properties are updated. The interval updates restart from 1, and the stats collection is reset.
Request Syntax
<xs:element name="statsClearInterval" type="statsClearInterval"
substitutionGroup="externalMethod"/>
<xs:complexType name="statsClearInterval" mixed="true">
<xs:element name="inDns" type="dnSet" minOccurs="0"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
Response Syntax
<xs:element name="statsClearInterval" type="statsClearInterval"
substitutionGroup="externalMethod"/>
<xs:complexType name="statsClearInterval" 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"/>
Examples
Request
<dn value="sys/chassis-1/blade-1/board/temp-stats"/>
Response
statsResolveThresholdPolicy
The statsResolveThresholdPolicy method resolves threshold policy based on the container class ID. The container class is objects with policies (for example, server domain, lan cloud, san cloud, nas cloud, etc.). The Cisco UCS uses the hierarchy of an organization to resolve the names of policies.
Request Syntax
<xs:element name="statsResolveThresholdPolicy" type="statsResolveThresholdPolicy"
substitutionGroup="externalMethod"/>
<xs:complexType name="statsResolveThresholdPolicy" mixed="true">
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="dn" type="referenceObject"/>
Response Syntax
<xs:element name="statsResolveThresholdPolicy" type="statsResolveThresholdPolicy"
substitutionGroup="externalMethod"/>
<xs:complexType name="statsResolveThresholdPolicy" mixed="true">
<xs:element name="outConfig" type="configConfig" minOccurs="0"/>
<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="dn" type="referenceObject"/>
Examples
Request
<statsResolveThresholdPolicy
dn="sys/chassis-1/blade-5/adaptor-1/ext-eth-1/eth-port-stats-rx"
</statsResolveThresholdPolicy>
Response
<statsResolveThresholdPolicy
dn="sys/chassis-1/blade-3/adaptor-1/ext-eth-1/eth-port-stats-rx"
childAction="deleteNonPresent"
descr="" dn="fabric/lan/thr-policy-default"
childAction="deleteNonPresent"
name="" rn="adaptorEthPortStats"
statsClassId="adaptorEthPortStats" >
childAction="deleteNonPresent"
propId="adaptorEthPortStatstotalPacketsDelta"
rn="adaptorEthPortStatstotalPacketsDelta" />
</statsResolveThresholdPolicy>