Check the config file, make sure the essential items are set.
Check QoS priority.
Get host OS type from xml config file.
Parameters: |
|
---|---|
Returns: | host OS type |
Get timeout from huawei conf file.
Get iSCSI info from config file.
Get login IP, user name and password from config file.
Get parameters from config file for creating lun.
Get protocol from huawei conf file.
Calculate the volume size.
We should divide the given volume size by 512 for the 18000 system calculates volume size with sectors, which is 512 bytes.
Get wait interval from huawei conf file.
Get the given item details.
Parameters: |
|
---|---|
Returns: | A dict contains all the config info of the given item. |
Initialize basic LUN parameters.
Get root of xml file.
Check if the given volume is in use.