The cinder.volume.drivers.disco.disco Module

DISCO Block device Driver.

class DiscoDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

Execute commands related to DISCO Volumes.

CI_WIKI_NAME = 'ITRI_DISCO_CI'
VERSION = '1.0'
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.

is_timeout(start_time, timeout)

Check whether we reach the timeout.

local_path(volume)

Return the path to the DISCO volume.

remove_export(context, volume)

Remove an export for a logical volume.

terminate_connection(volume, connector, **kwargs)

Function called after attaching a volume.

Previous topic

The cinder.volume.drivers.dell.dell_storagecenter_iscsi Module

Next topic

The cinder.volume.drivers.dothill.dothill_client Module

This Page