The cinder.volume.drivers.smbfs Module

class SmbfsDriver(execute=<function execute at 0x2b94fe721668>, *args, **kwargs)

Bases: cinder.volume.drivers.remotefs.RemoteFSSnapDriver

SMBFS based cinder volume driver.

SHARE_FORMAT_REGEX = '//.+/.+'
VERSION = '1.0.0'
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(*args, **kwargs)
create_cloned_volume(*args, **kwargs)

Creates a clone of the specified volume.

create_snapshot(*args, **kwargs)

Apply locking to the create snapshot operation.

create_volume_from_snapshot(*args, **kwargs)
delete_snapshot(*args, **kwargs)

Apply locking to the delete snapshot operation.

delete_volume(*args, **kwargs)

Deletes a logical volume.

do_setup(context)
driver_prefix = 'smbfs'
driver_volume_type = 'smbfs'
extend_volume(*args, **kwargs)
get_qemu_version()
get_volume_format(volume, qemu_format=False)
initialize_connection(volume, connector)

Allow connection to connector and return connection info.

Parameters:
  • volume – volume reference
  • connector – connector reference
local_path(volume)

Get volume path (mounted locally fs path) for given volume. :param volume: volume reference

parse_credentials(mnt_flags)
parse_options(option_str)
volume_backend_name = 'Generic_SMBFS'

Previous topic

The cinder.volume.drivers.sheepdog Module

Next topic

The cinder.volume.drivers.solidfire Module

This Page