The cinder.volume.drivers.windows.smbfs Module

class WindowsSmbfsDriver(*args, **kwargs)

Bases: cinder.volume.drivers.remotefs.RemoteFSPoolMixin, cinder.volume.drivers.remotefs.RemoteFSSnapDriverDistributed

CI_WIKI_NAME = ‘Microsoft_iSCSI_CI’
SHARE_FORMAT_REGEX = ‘//.+/.+’
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.

copy_volume_to_image(context, volume, image_service, image_meta)

Copy the volume to the specified image.

create_volume(volume)
delete_volume(volume)

Deletes a logical volume.

do_setup(context)
driver_prefix = ‘smbfs’
driver_volume_type = ‘smbfs’
extend_volume(volume, size_gb)
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.

Parameters:volume – volume reference
volume_backend_name = ‘Generic_SMBFS’