The cinder.volume.drivers.disco.disco Module

The cinder.volume.drivers.disco.disco Module

DISCO Block device Driver.

class DISCOCheck(client, param, start_time, function, configuration)

Bases: object

Used to monitor DISCO operations.

is_timeout(start_time, timeout)

Check whether we reach the timeout.

class DiscoDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

Execute commands related to DISCO Volumes.

Version history:
    1.0 - disco volume driver using SOAP
    1.1 - disco volume driver using REST and only compatible
          with version greater than disco-1.6.4
CI_WIKI_NAME = 'ITRI_DISCO_CI'
VERSION = '1.1'
check_for_setup_error()

Make sure we have the pre-requisites.

copy_image_to_volume(context, volume, image_service, image_id)

Fetch the image from image_service and write it to the volume.

copy_volume_to_image(context, volume, image_service, image_meta)

Copy a volume to a new image.

create_cloned_volume(volume, src_vref)

Create a clone of the specified volume.

create_export(context, volume, connector)

Export the volume.

create_snapshot(snapshot)

Create a disco snapshot.

create_volume(volume)

Create a disco volume.

create_volume_from_snapshot(volume, snapshot)

Create a volume from a snapshot.

delete_snapshot(snapshot)

Delete a disco snapshot.

delete_volume(volume)

Delete a logical volume.

do_setup(context)

Create client for DISCO request manager.

ensure_export(context, volume)

Ensure an export.

extend_volume(volume, new_size)

Extend an existing volume’s size.

get_volume_stats(refresh=False)

Get backend information.

initialize_connection(volume, connector)

Function called before attaching a volume.

local_path(volume)

Return the path to the DISCO volume.

manage_existing(volume, existing_ref)

Manage an existing volume.

manage_existing_get_size(volume, existing_ref)

Return size of an existing volume.

remove_export(context, volume)

Remove an export for a logical volume.

terminate_connection(volume, connector, **kwargs)

Function called after attaching a volume.

unmanage(volume)

Unmanage an existing volume.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.