cinder.volume.drivers.ibm.ibm_storage.proxy
Module¶IBMStorageProxy
(storage_info, logger, exception, driver=None, active_backend_id=None)¶Bases: object
Base class for connecting to storage.
Abstract Proxy between the XIV/DS8K Cinder Volume and Spectrum Accelerate Storage (e.g. XIV, Spectruam Accelerate, A9000, A9000R)
check_for_export
(context, volume_id)¶copy_volume_to_image
(context, volume, image_service, image_id)¶Copy volume to image.
Handled by ISCSiDriver
create_cloned_volume
(volume, src_vref)¶Create cloned volume.
create_export
(context, volume)¶create_snapshot
(snapshot)¶create snapshot
create_volume
(volume)¶Creates a volume.
create_volume_from_snapshot
(volume, snapshot)¶create volume from snapshot.
delete_snapshot
(snapshot)¶delete snapshot.
delete_volume
(volume)¶Deletes a volume on the IBM Storage machine.
ensure_export
(context, volume)¶get_volume_stats
(refresh=False)¶get volume stats.
initialize_connection
(volume, connector)¶Initialize connection.
Maps the created volume to the cinder volume node, and returns the iSCSI/FC targets to be used in the instance
prefix
= '[IBM XIV STORAGE]:'¶remove_export
(context, volume)¶Remove export.
Disconnect a volume from an attached instance
retype
(ctxt, volume, new_type, diff, host)¶Convert the volume to be of the new type.
setup
(context)¶Driver setup.
terminate_connection
(volume, connector)¶Terminate connection.
validate_connection
()¶Validates ibm_storage connection info.
volume_exists
(volume)¶Checks if a volume exists on xiv.
get_total_seconds
(td)¶logger
(func)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.