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/locator-led sys/chassis-1/server-1/locator-led" is defined within the "equipmentLocatorLed" MO.
<configConfMo
cookie="<real_cookie>">
<inConfig>
<equipmentLocatorLed
adminState='on'
dn='sys/rack-unit-1chassis-1/server-1/locator-led'> <== MO level
</equipmentLocatorLed>
</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 chassis-1/server-1/locator-led" is defined at the configConfMo method level and within the "equipmentLocatorLed" MO.
<configConfMo
cookie="<real_cookie>"
dn='sys/rack-unit-1chassis-1/server-1/locator-led'> <== Method level
<inConfig>
<equipmentLocatorLed
adminState='on'
dn='sys/rack-unit-1chassis-1/server-1/locator-led'> <== MO Level
</equipmentLocatorLed>
</inConfig>
</configConfMo>
Note |
Specifying a DN at the Method level is optional, and is supported in the Cisco IMC XML API implementation to be consistent with the Cisco UCS Manager XML API implementation. |