The cinder.volume.drivers.block_device Module

class BlockDeviceDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

VERSION = '1.0.0'
check_for_setup_error()
clear_volume(volume)

unprovision old volumes to prevent data leaking between users.

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 the volume to the specified image.

create_cloned_volume(volume, src_vref)
create_export(context, volume)

Creates an export for a logical volume.

create_volume(volume)
delete_volume(volume)

Deletes a logical volume.

ensure_export(context, volume)

Synchronously recreates an export for a logical volume. :param context: :param volume:

find_appropriate_size_device(size)
get_volume_stats(refresh=False)
initialize_connection(volume, connector)
local_path(volume)
remove_export(context, volume)

Removes an export for a logical volume.

set_execute(execute)
terminate_connection(volume, connector, **kwargs)

Previous topic

The cinder.volume.driver Module

Next topic

The cinder.volume.drivers.coraid Module

This Page