The cinder.volume.drivers.block_device
Module¶
-
class
BlockDeviceDriver
(*args, **kwargs)¶ Bases:
cinder.volume.driver.BaseVD
,cinder.volume.driver.CloneableImageVD
-
CI_WIKI_NAME
= 'Cinder_Jenkins'¶
-
SUPPORTED
= False¶
-
VERSION
= '2.3.0'¶
-
check_for_setup_error
()¶
-
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
(*args, **kwargs)¶
-
create_export
(context, volume, connector)¶
-
create_snapshot
(*args, **kwargs)¶
-
create_volume
(*args, **kwargs)¶
-
create_volume_from_snapshot
(*args, **kwargs)¶
-
delete_snapshot
(snapshot)¶
-
delete_volume
(volume)¶ Deletes a logical volume.
-
ensure_export
(context, volume)¶
-
extend_volume
(volume, new_size)¶
-
find_appropriate_size_device
(size)¶
-
get_pool
(volume)¶
-
get_volume_stats
(refresh=False)¶
-
initialize_connection
(volume, connector)¶
-
local_path
(device)¶
-
remove_export
(context, volume)¶
-
terminate_connection
(volume, connector, **kwargs)¶
-
validate_connector
(connector)¶
-