UCSTemplate - addSanHBAToTemplateBootOrder
UCSTemplate - addSanHBAToTemplateBootOrder
Description :
This command adds a SAN HBA to a UCS template's boot order. You can add a maximum of two SAN HBAs to the boot order.
Use the order argument to specify the boot order as follows. Set the order argument to 0 to indicate the first HBA in the internal boot order. Set the order argument to 1 to indicate the second HBA in the internal boot order. You must set the HBAs in sequential order - first set the the first HBA (0), then the second HBA (1).
Return type : Boolean
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. |
index | Integer | The index of the element in the SAN HBA list configured for the template.The index starts from 0. |
mainIndex | Integer | The index of SAN HBA in the main boot order.Set the index to -1 to add the SAN HBA at the end of the list. |
order | Integer | The index of the SAN HBA in the internal boot order. |
Example
The following example adds a SAN HBA to the boot order of a UCS template.
Script
blcli UCSTemplate addSanHBAToTemplateBootOrder DBKey:SDepotObjectKey:1-1 0 -1 0