Defining a Distinguished Name using the configConfMo Method
The configConfMo method is used to configure one or more properties in a Managed Object (MO). The MO to be configured is uniquely identified by a Distinguished Name (DN). This chapter shows two ways to provide a DN using the configConfMo method.
At the Managed Object Level
You can provide a DN at the Managed Object level. In the following example, the DN "sys/rack-unit-1/sol-if" is defined within the "solIf" MO.
<configConfMo
cookie="<real_cookie>"><inConfig><solIf
dn="sys/rack-unit-1/sol-if"
adminState="enable">
</solIf>
</inConfig>
</configConfMo>
At the Method and Managed Object Level
You can provide a DN at the Method and Managed Object level. In the following example, the DN "sys/rack-unit-1/sol-if" is defined at the configConfMo method level and within the "solIf" MO.
<configConfMo
cookie="<real_cookie>"
dn="sys/rack-unit-1/sol-if">
<inConfig>
<solIf
dn="sys/rack-unit-1/sol-if"
adminState="enable">
</solIf>
</inConfig>
</configConfMo>
Note |
Specifying a DN at the Method level is optional, and is supported in the Cisco CIMC XML API implementation to be consistent with the Cisco UCS Manager XML API implementation. |