VNX CLI
Bases: taskflow.task.Task
Task to modify a Snapshot to allow ReadWrite on it.
Bases: taskflow.task.Task
Attaches the snapshot to the SMP created before.
Reversion strategy: Detach the SMP.
Bases: object
Adds a lun into storage group as specified hlu number.
Return True if the hlu is as specified, otherwise False.
check if a snapshot/cgsnapshot is existed.
Executes command against the VNX array.
When there is named parameter poll=False, the command will be sent alone with option -np.
Create a cgsnapshot (snap group).
create the consistency group.
Delete a cgsnapshot (snap group).
Deletes a LUN or mount point.
This function tries to deregister initiators on VNX.
The function will enable or disable the compression on lun.
Finds available iscsi targets for a host.
When the iscsi_initiator_map is configured, the driver will find an accessible portal and put it as the first portal in the portal list to ensure the accessible portal will be used when multipath is not used. All the registered portals will be returned for Nova to clean up all the unused devices related to this LUN created by logging into these portals during attaching other LUNs on VNX.
return array Serial No for pool backend.
The function would get all the enablers installed on array.
Returns wwn via sp and port_id
Parameters: |
|
---|
Function to get ports whose status are up.
This function used to modify a lun’s tiering policy.
Removes LUN(s) from cg
Replaces LUN(s) with new_ids for cg
Bases: taskflow.task.Task
Task to copy a volume snapshot/consistency group snapshot.
Reversion Strategy: Delete the copied snapshot/cgsnapshot
Bases: taskflow.task.Task
Task to create a consistency group.
Bases: taskflow.task.Task
Creates a destination lun for migration.
Reversion strategy: Delete the temp destination lun.
Bases: taskflow.task.Task
Creates a snap mount point (SMP) for the source snapshot.
Reversion strategy: Delete the SMP.
Bases: taskflow.task.Task
Creates a snapshot/cgsnapshot of a volume.
Reversion Strategy: Delete the created snapshot/cgsnapshot.
Bases: object
This class defines the functions to use the native CLI functionality.
Automatically register available initiators.
Returns: | True if has registered initiator otherwise return False |
---|
Automatically registers available initiators.
Returns True if has registered initiator otherwise returns False.
Automatically register specific IO ports to storage group.
Creates a cgsnapshot (snap group).
Creates a clone of the specified volume.
Creates a consistency group.
Creates a consistency group from cgsnapshot.
Creates mount point for a snapshot.
Creates a snapshot.
Creates a EMC volume.
Constructs a work flow to create a volume from snapshot.
This flow will do the following:
Deletes a cgsnapshot (snap group).
Deletes a consistency group.
Deletes a snapshot.
Deletes an EMC volume.
Determine all wanted enablers whether exist.
Extends an EMC volume.
Returns SP owner of the volume.
Returns the pool name of a volume.
Initializes the connection and returns connection info.
Initializes connection for mount point.
Imports the existing backend storage object as a volume.
} or manage_existing_ref:{
‘source-name’:<lun name in VNX>
}
Returns size of volume to be managed by manage_existing.
Leverage the VNX on-array migration functionality.
This method is invoked at the source backend.
Removes mount point for a snapshot.
Disallow connection from connector.
Disallows connection for mount point.
Unmanages a volume
Adds or removes LUN(s) to/from an existing consistency group
Updates the enabler information in stats.
Retrieves stats info.
Bases: taskflow.task.Task
Starts a migration between the SMP and the temp lun.
Reversion strategy: None
Bases: object
Bases: object
Bases: taskflow.task.Task
Task to wait migrations to be completed.
Applies decorator on the methods of a class.
This is a class decorator, which will apply method decorator referred by method_decorator to all the public methods (without underscore as the prefix) in a class.