cinder.volume.drivers.dell_emc.vnx.client
Module¶Client
(ip, username, password, scope, naviseccli, sec_file, queue_path=None)¶Bases: object
add_image
(mirror_name, sp_ip, secondary_lun_id)¶add_lun_to_ioclass
(ioclass_name, lun_id)¶add_lun_to_sg
(storage_group, lun, max_retries)¶Adds the lun to storage_group.
add_mirror
(group_name, mirror_name)¶attach_snapshot
(smp_name, snap_name)¶cleanup_async_lun
(name, force=False)¶Helper method to cleanup stuff for async migration.
Note
Only call it when VNXLunUsedByFeatureError occurs
cleanup_migration
(src_id, dst_id=None)¶Invoke when migration meets error.
Parameters: |
|
---|
copy_snapshot
(snap_name, new_snap_name)¶create_cg_snapshot
(cg_snap_name, cg_name)¶create_consistency_group
(cg_name, lun_id_list=None)¶create_ioclass_bws
(name, max_bws)¶Creates a ioclass by bandwidth in MiB.
create_ioclass_iops
(name, max_iops)¶Creates a ioclass by IOPS.
create_lun
(pool, name, size, provision, tier, cg_id=None, ignore_thresholds=False, qos_specs=None)¶create_mirror
(mirror_name, primary_lun_id)¶create_mirror_group
(group_name)¶create_mount_point
(lun_name, smp_name)¶create_policy
(policy_name)¶Creates the policy and starts it.
create_snapshot
(lun_id, snap_name, keep_for=None)¶Creates a snapshot.
create_storage_group
(name)¶delay_delete_lun
(name)¶Delay the deletion by putting it in a storops queue.
delete_cg_snapshot
(cg_snap_name)¶delete_consistency_group
(cg_name)¶delete_lun
(name, force=False)¶Deletes a LUN or mount point.
delete_mirror
(mirror_name)¶delete_mirror_group
(group_name)¶delete_snapshot
(snapshot_name)¶Deletes a snapshot.
deregister_initiators
(initiators)¶detach_snapshot
(smp_name)¶enable_compression
(lun)¶Enables compression on lun.
Parameters: | lun – instance of VNXLun |
---|
expand_lun
(*args, **kwargs)¶filter_sg
(attached_lun_id)¶fracture_image
(mirror_name)¶fracture_mirror_group
(group_name)¶get_available_ip
()¶get_cg
(name)¶get_enablers
()¶get_fc_targets
(sp=None, port_id=None)¶get_ioclass
(qos_specs)¶get_iscsi_targets
(sp=None, port_id=None, vport_id=None)¶get_lun
(name=None, lun_id=None)¶get_lun_id
(volume)¶Retrieves the LUN ID of volume.
get_mirror
(mirror_name)¶get_pool
(name)¶get_pool_feature
()¶get_pool_name
(lun_name)¶get_pools
()¶get_running_policy
()¶Returns the only running/measuring policy on VNX.
get_serial
()¶get_storage_group
(name)¶Retrieve the storage group by name.
Check the storage group instance cache first to save CLI call. If the specified storage group doesn’t exist in the cache, try to grab it from CLI.
Parameters: | name – name of the storage group |
---|---|
Returns: | storage group instance |
get_vnx_enabler_status
()¶get_wwn_of_online_fc_ports
(ports)¶Returns wwns of online fc ports.
wwn of a certain port will not be included in the return list when it is not present or down.
is_compression_enabled
()¶is_dedup_enabled
()¶is_fast_cache_enabled
()¶is_fast_enabled
()¶is_mirror_view_enabled
()¶is_snap_enabled
()¶is_thin_enabled
()¶lun_has_snapshot
(lun)¶Checks lun has snapshot.
Parameters: | lun – instance of VNXLun |
---|
migrate_lun
(*args, **kwargs)¶modify_lun
()¶modify_snapshot
(snap_name, allow_rw=None, auto_delete=None, keep_for=None)¶ping_node
(port, ip_address)¶promote_image
(mirror_name)¶promote_mirror_group
(group_name)¶register_initiator
(storage_group, host, initiator_port_map)¶Registers the initiators of host to the storage_group.
Parameters: |
|
---|
remove_image
(mirror_name)¶remove_mirror
(group_name, mirror_name)¶session_finished
(src_lun)¶sg_has_lun_attached
(sg)¶sync_image
(mirror_name)¶sync_mirror_group
(group_name)¶update_consistencygroup
(cg, lun_ids_to_add, lun_ids_to_remove)¶verify_migration
(src_id, dst_id, dst_wwn)¶Verify whether migration session finished successfully.
Parameters: |
|
---|---|
Returns Boolean: | |
True or False |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.