cinder.volume.drivers.dell_emc.unity.client
Modulecinder.volume.drivers.dell_emc.unity.client
Module¶UnityClient
(host, username, password, verify_cert=True)¶Bases: object
attach
(host, lun_or_snap)¶Attaches a UnityLun or UnitySnap to a UnityHost.
Parameters: |
|
---|---|
Returns: | hlu |
create_host
(name, uids)¶Creates a host on Unity.
Creates a host on Unity which has the uids associated.
Parameters: |
|
---|---|
Returns: | UnitHost object |
create_io_limit_policy
(name, max_iops=None, max_kbps=None)¶create_lun
(name, size, pool, description=None, io_limit_policy=None)¶Creates LUN on the Unity system.
Parameters: |
|
---|---|
Returns: | UnityLun object |
create_snap
(src_lun_id, name=None)¶Creates a snapshot of LUN on the Unity system.
Parameters: |
|
---|
delete_lun
(lun_id)¶Deletes LUN on the Unity system.
Parameters: | lun_id – id of the LUN |
---|
delete_snap
(snap)¶detach
(host, lun_or_snap)¶Detaches a UnityLun or UnitySnap from a UnityHost.
Parameters: |
|
---|
extend_lun
(lun_id, size_gib)¶get_ethernet_ports
()¶get_fc_ports
()¶get_fc_target_info
(host=None, logged_in_only=False, allowed_ports=None)¶Get the ports WWN of FC on array.
Parameters: |
|
---|---|
Returns: | the WWN of FC ports. For example, the FC WWN on array is like: 50:06:01:60:89:20:09:25:50:06:01:6C:09:20:09:25. This function removes the colons and returns the last 16 bits: 5006016C09200925. |
get_host
(name)¶get_host_initiator_ids
(host)¶get_io_limit_policy
(qos_specs)¶get_iscsi_target_info
(allowed_ports=None)¶get_lun
(lun_id=None, name=None)¶Gets LUN on the Unity system.
Parameters: |
|
---|---|
Returns: | UnityLun object |
get_pool_name
(lun_name)¶get_pools
()¶Gets all storage pools on the Unity system.
Returns: | list of UnityPool object |
---|
get_serial
()¶get_snap
(name=None)¶system
¶thin_clone
(lun_or_snap, name, io_limit_policy=None, description=None, new_size_gb=None)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.