cinder.volume.drivers.dell_emc.unity.adapter Module¶CommonAdapter(version=None)¶Bases: object
client¶create_cloned_volume(volume, src_vref)¶Creates cloned volume.
create_snapshot(snapshot)¶Creates a snapshot.
| Parameters: | snapshot – snapshot information. |
|---|
create_volume(volume)¶Creates a volume.
| Parameters: | volume – volume information |
|---|
create_volume_from_snapshot(volume, snapshot)¶delete_snapshot(snapshot)¶Deletes a snapshot.
| Parameters: | snapshot – the snapshot to delete. |
|---|
delete_volume(volume)¶do_setup(driver, conf)¶driver_name = ‘UnityAbstractDriver’¶driver_volume_type = ‘unknown’¶extend_volume(volume, new_size)¶get_all_ports()¶get_connection_info(hlu, host, connector)¶get_connector_uids(connector)¶get_lun_id(volume)¶Retrieves id of the volume’s backing LUN.
| Parameters: | volume – volume information |
|---|
get_managed_pools()¶get_pool_name(volume)¶get_pools_stats()¶initialize_connection(*args, **kwargs)¶initialize_connection_snapshot(*args, **kwargs)¶makeup_model(lun, is_snap_lun=False)¶manage_existing(volume, existing_ref)¶Manages an existing LUN in the array.
The LUN should be in a manageable pool backend, otherwise return error. Rename the backend storage object so that it matches the volume[‘name’] which is how drivers traditionally map between a cinder volume and the associated backend storage object.
LUN ID or name are supported in existing_ref, like:
existing_ref:{
‘source-id’:<LUN id in Unity>
}
or
existing_ref:{
‘source-name’:<LUN name in Unity>
}
manage_existing_get_size(volume, existing_ref)¶Returns size of volume to be managed by manage_existing.
The driver does some check here: 1. The LUN existing_ref should be managed by the volume.host.
normalize_config(config)¶pools¶protocol = ‘unknown’¶restore_snapshot(*args, **kwargs)¶serial_number¶terminate_connection(*args, **kwargs)¶terminate_connection_snapshot(*args, **kwargs)¶update_volume_stats()¶validate_ports(ports_whitelist)¶verify_cert¶FCAdapter(version=None)¶Bases: cinder.volume.drivers.dell_emc.unity.adapter.CommonAdapter
auto_zone_enabled¶do_setup(driver, config)¶driver_name = ‘UnityFCDriver’¶driver_volume_type = ‘fibre_channel’¶get_all_ports()¶get_connection_info(hlu, host, connector)¶get_connector_uids(connector)¶protocol = ‘FC’¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.