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: |
|
---|
Checks if a given LUN is already mapped
Parameters: |
|
---|---|
Returns: | True if the lun is attached |
Returns: | the LUN id |
Returns: | Info related to the target |
Checks if a given target exists and gets its info
Parameters: |
|
---|---|
Returns: | True if target exists |
Returns: | list with the target info |
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 EVSID for the named filesystem.
Parameters: |
|
---|---|
Returns: | EVS id of the file system |
Returns the information for the specified Logical Unit.
Returns the information of an existing Logical Unit on HNAS, according to the name provided.
Parameters: |
|
---|
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
Returns the target’s full iqn rather than its alias. :param cmd: ssc command name :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 :returns: string with full IQN
Returns the chap secret for the specified target.
Parameters: |
|
---|---|
Return secret: | CHAP secret of the target |
Gets version information from the storage unit
Parameters: |
|
---|---|
Returns: | formatted string with version information |
Renames the specified Logical Unit.
Renames an existing Logical Unit on HNAS according to the new name provided.
Parameters: |
|
---|
Run a command on SMU or using SSH
Parameters: |
|
---|---|
Returns: | formated string with version information |
Sets the chap secret for the specified target.
Parameters: |
|
---|