UCSTemplate - resetTemplateWWNN
UCSTemplate - resetTemplateWWNN
Description :
This command resets the WWNN of a UCS template.
Use the templateKey argument to specify the DBKey of the template you want to modify. You can get the DBKey of the template by using the DepotObject : getDBKeyByTypeStringGroupAndName command.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
templateKey | com.bladelogic.om.infra.model.base.keys.SDepotObjectKey | The DBKey of the template you want to modify. |
isManual | Boolean | True if you want to use manual WWNN, false otherwise. |
wwn | String | The WWN address. |
isStoragePool | Boolean | True if you want to use a UCS Storage pool, false otherwise. |
storagePoolKey | com.bladelogic.om.infra.model.base.keys.SDepotObjectKey | The DBKey for the UCS Storage pool. Provide a DBKey for storagePoolKey only if isStoragePool is set to true. |
isBootableStoragePool | Boolean | True if you want to use a UCS Bootable Storage pool, false otherwise. |
bootStoragePoolKey | com.bladelogic.om.infra.model.base.keys.SDepotObjectKey | The DBKey for the UCS Bootable Storage pool. Provide a DBKey for bootStoragePoolKey only if isBootablePool is set to true. |
Example
The following example resets the WWNN of UCS template.
Script
blcli UCSTemplate resetTemplateWWNN DBKey:SDepotObjectKey:1-1 true "00-00-00-00-00-00-00-01" false null false null