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
VERSION = '1.1'

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 a disco snapshot.


Create a disco volume.

create_volume_from_snapshot(volume, snapshot)

Create a volume from a snapshot.


Delete a disco snapshot.


Delete a logical volume.


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 backend information.

initialize_connection(volume, connector)

Function called before attaching a 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 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.