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.
Modify the tiering policy of the LUN.
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: dict
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.
Extracts value of the specified field from provider_location string.
Parameters: |
|
---|---|
Returns: | value of the specified field if it exists, otherwise, None is returned |
Fails over the volume back and forth.
Driver needs to update following info for this volume: 2. provider_location: update serial number and lun id
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.
Setup replication for LUN, this only happens in primary system.
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.
Updates metadata after host-assisted migration.
Retrieves stats info.
Bases: taskflow.task.Task
Starts a migration between the SMP and the temp lun.
Reversion strategy: None
Bases: taskflow.task.Task
Add the secondary image to MirrorView.
Reversion strategy: Remove the secondary image.
Bases: taskflow.task.Task
Creates a MirrorView with primary lun for replication.
Reversion strategy: Destroy the created MirrorView.
Bases: taskflow.task.Task
Creates a secondary LUN on secondary system.
Reversion strategy: Delete secondary LUN.
Bases: object
MirrorView synchronous/asynchronous operations.
This class is to support operations for volume replication. Each operation should ensure commands are sent to correct targeting device.
NOTE: currently, only synchronous is supported.
Adds secondary image to mirror.
Creates mirror view for LUN.
Creates secondary LUN in remote device.
Deletes secondary LUN in remote device.
Stops the synchronization between LUNs.
Returns mirror view properties.
Parameters: |
|
---|---|
Returns: | dict of mirror view properties as below: {
} |
Promotes the secondary image on secondary system.
Removes secondary image(s) from mirror.
Synchronizes the secondary image and wait for completion.
Bases: cinder.volume.drivers.emc.emc_vnx_cli._Enum
Bases: cinder.volume.drivers.emc.emc_vnx_cli._Enum
Bases: object
Bases: cinder.volume.drivers.emc.emc_vnx_cli.VNXCliParser
Bases: cinder.volume.drivers.emc.emc_vnx_cli._Enum
Bases: cinder.volume.drivers.emc.emc_vnx_cli.VNXCliParser
Bases: cinder.volume.drivers.emc.emc_vnx_cli.VNXCliParser
Bases: cinder.volume.drivers.emc.emc_vnx_cli._Enum
Bases: cinder.volume.drivers.emc.emc_vnx_cli._Enum
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.