cinder.volume.drivers.dell_emc.vmax.provision
Modulecinder.volume.drivers.dell_emc.vmax.provision
Module¶VMAXProvision
(rest)¶Bases: object
Provisioning Class for Dell EMC VMAX volume drivers.
It supports VMAX arrays.
break_rdf_relationship
(array, device_id, target_device, rdf_group, rep_extra_specs, state)¶Break the rdf relationship between a pair of devices.
Parameters: |
|
---|
break_replication_relationship
(array, target_device_id, source_device_id, snap_name, extra_specs)¶Unlink a snapshot from its target volume.
Parameters: |
|
---|
create_group_replica
(array, source_group, snap_name, extra_specs)¶Create a replica (snapVx) of a volume group.
Parameters: |
|
---|
create_storage_group
(array, storagegroup_name, srp, slo, workload, extra_specs, do_disable_compression=False)¶Create a new storage group.
Parameters: |
|
---|---|
Returns: | storagegroup - storage group object |
create_volume_from_sg
(array, volume_name, storagegroup_name, volume_size, extra_specs)¶Create a new volume in the given storage group.
Parameters: |
|
---|---|
Returns: | dict – volume_dict - the volume dict |
create_volume_group
(array, group_name, extra_specs)¶Create a generic volume group.
Parameters: |
|
---|---|
Returns: | volume_group |
create_volume_replica
(array, source_device_id, target_device_id, snap_name, extra_specs, create_snap=False)¶Create a snap vx of a source and copy to a target.
Parameters: |
|
---|
create_volume_snapvx
(array, source_device_id, snap_name, extra_specs)¶Create a snapVx of a volume.
Parameters: |
|
---|
delete_group_replica
(array, snap_name, source_group_name)¶Delete the snapshot.
Parameters: |
|
---|
delete_temp_volume_snap
(array, snap_name, source_device_id)¶Delete the temporary snapshot created for clone operations.
There can be instances where the source and target both attempt to delete a temp snapshot simultaneously, so we must lock the snap and then double check it is on the array. :param array: the array serial number :param snap_name: the snapshot name :param source_device_id: the source device id
delete_volume_from_srp
(array, device_id, volume_name)¶Delete a volume from the srp.
Parameters: |
|
---|
delete_volume_snap
(array, snap_name, source_device_id)¶Delete a snapVx snapshot of a volume.
Parameters: |
|
---|
delete_volume_snap_check_for_links
(array, snap_name, source_device, extra_specs)¶Check if a snap has any links before deletion.
If a snapshot has any links, break the replication relationship before deletion. :param array: the array serial number :param snap_name: the snapshot name :param source_device: the source device id :param extra_specs: the extra specifications
extend_volume
(array, device_id, new_size, extra_specs)¶Extend a volume.
Parameters: |
|
---|---|
Returns: | status_code |
failover_volume
(array, device_id, rdf_group, extra_specs, local_vol_state, failover)¶Failover or back a volume pair.
Parameters: |
|
---|
get_slo_workload_settings_from_storage_group
(array, sg_name)¶Get slo and workload settings from a storage group.
Parameters: |
|
---|---|
Returns: | storage group slo settings |
get_srp_pool_stats
(array, array_info)¶Get the srp capacity stats.
Parameters: |
|
---|---|
Returns: | total_capacity_gb |
Returns: | remaining_capacity_gb |
Returns: | subscribed_capacity_gb |
Returns: | array_reserve_percent |
link_and_break_replica
(array, source_group_name, target_group_name, snap_name, extra_specs, delete_snapshot=False)¶Links a group snap and breaks the relationship.
Parameters: |
|
---|
verify_slo_workload
(array, slo, workload, srp)¶Check if SLO and workload values are valid.
Parameters: |
|
---|---|
Returns: | boolean |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.