The cinder.volume.drivers.smbfs
Module¶
-
class
SmbfsDriver
(execute=<function execute>, *args, **kwargs)¶ Bases:
cinder.volume.drivers.remotefs.RemoteFSSnapDriver
SMBFS based cinder volume driver.
-
CI_WIKI_NAME
= 'Cinder_Jenkins'¶
-
SHARE_FORMAT_REGEX
= '//.+/.+'¶
-
SUPPORTED
= False¶
-
VERSION
= '1.1.0'¶
-
copy_image_to_volume
(context, volume, image_service, image_id)¶ Fetch the image from image_service and write it to the volume.
-
create_cloned_volume
(inst, *args, **kwargs)¶
-
create_volume
(inst, *args, **kwargs)¶
-
create_volume_from_snapshot
(inst, *args, **kwargs)¶
-
delete_volume
(inst, *args, **kwargs)¶
-
do_setup
(context)¶
-
driver_prefix
= 'smbfs'¶
-
driver_volume_type
= 'smbfs'¶
-
extend_volume
(inst, *args, **kwargs)¶
-
get_volume_format
(volume, qemu_format=False)¶
-
initialize_connection
(inst, *args, **kwargs)¶
-
local_path
(volume)¶ Get volume path (mounted locally fs path) for given volume.
Parameters: volume – volume reference
-
parse_credentials
(mnt_flags)¶
-
parse_options
(option_str)¶
-
update_disk_allocation_data
(volume, virtual_size_gb=None)¶
-
volume_backend_name
= 'Generic_SMBFS'¶
-
-
update_allocation_data
(delete=False)¶