Hitachi Unified Storage (HUS-HNAS) platform. Backend operations.
Bases: object
Back end. Talks to HUS-HNAS.
Setup the lun on on the specified target port
Parameters: |
|
---|
Clones a volume
Clone primitive used to support all iSCSI snapshot/cloning functions. Used for iSCSI only.
Parameters: |
|
---|---|
Returns: | formated string |
Creates a new Logical Unit.
If the operation can not be performed for some reason, utils.execute() throws an error and aborts the operation. Used for iSCSI only
Parameters: |
|
---|---|
Returns: | formated string with ‘LUN %d HDP: %d size: %s MB, is successfully created’ |
Remove the lun on on the specified target port
Parameters: |
|
---|---|
Returns: | formated string |
Delete an logical unit. Used for iSCSI only
Parameters: |
|
---|---|
Returns: | formated string ‘Logical unit deleted successfully.’ |
Extend a iSCSI volume.
Parameters: |
|
---|
Clones NFS files to a new one named ‘name’
Clone primitive used to support all NFS snapshot/cloning functions.
Parameters: |
|
---|---|
Returns: | formated string |
Gets the list of filesystems and fsids.
Parameters: |
|
---|---|
Returns: | formated string with filesystems and fsids |
Gets IP addresses for EVSs, use EVSID as controller.
Parameters: |
|
---|---|
Returns: | formated string with iSCSI information |
Gets information on each NFS export.
Parameters: |
|
---|---|
Returns: | formated string |
Obtain the targets full iqn
Return the target’s full iqn rather than its alias.
Parameters: |
|
---|---|
Returns: | string with full IQN |
Returns the chap secret for the specified target. :param ip0: string IP address of controller :param user: string user authentication for array :param pw: string password authentication for array :param targetalias: alias of the target :param hdp: data pool of the logical unit :return secret: CHAP secret of the target
Gets version information from the storage unit
Parameters: |
|
---|---|
Returns: | formated string with version information |
Run a command on SMU or using SSH
Parameters: |
|
---|---|
Returns: | formated string with version information |
Sets the chap secret for the specified target. :param ip0: string IP address of controller :param user: string user authentication for array :param pw: string password authentication for array :param targetalias: alias of the target :param hdp: data pool of the logical unit :param secret: CHAP secret of the target