UCSBootableStoragePool - importIdentities
UCSBootableStoragePool - importIdentities
Description :
This command imports bootable storage identities from a CSV file into a pool.
The first row in the CSV file is the header row. The first column in the header row must be WWNN. The second column must be WWPN. The remaining lines of the file contain WWWN and WWPN addresses for the identities you want to import. Example:
WWNN,WWPN
20-00-00-00-00-00-00-40,20-00-00-00-00-00-00-41
20-00-00-00-00-00-00-44,20-00-00-00-00-00-00-45
As input, use the poolKey argument to specify the DBKey of the pool into which you wish to import identities. You can get the DBKey of the pool by using the DepotObject : getDBKeyByTypeStringGroupAndName command.
For charset, use one of the strings listed in UCSPoolCleanup : bulkDeallocateMacAddresses .
Return type : com.bladelogic.om.infra.model.base.keys.SDepotObjectKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
poolKey | com.bladelogic.om.infra.model.base.keys.SDepotObjectKey | The DBKey of the UCS bootable storage pool into which you are importing identities. |
filePath | String | Local path to the CSV file. |
charset | String | The character set used in the CSV file. Can be UTF-8 or another supported character set. |
Example
The following example imports identities from a CSV file containing WWNN, WWPN tuples or doublets
Script
blcli UCSBootableStoragePool importIdentities DBKey:SDepotObjectKey:1-1 "C:/import_data.csv" UTF-8