The cinder.volume.drivers.vzstorage Module

The cinder.volume.drivers.vzstorage Module

class PloopDevice(path, snapshot_id=None, read_only=True, execute=<function execute>)

Bases: object

Setup a ploop device for ploop image

This class is for mounting ploop devices using with statement: with PloopDevice(‘/vzt/private/my-ct/harddisk.hdd’) as dev_path: # do something

  • path – A path to ploop harddisk dir
  • snapshot_id – Snapshot id to mount
  • execute – execute helper
class VZStorageDriver(execute=<function execute>, *args, **kwargs)

Bases: cinder.volume.drivers.remotefs.RemoteFSSnapDriver

Cinder driver for Virtuozzo Storage.

Creates volumes as files on the mounted vzstorage cluster.

Version history:
1.0 - Initial driver. 1.1 - Supports vz:volume_format in vendor properties.
CI_WIKI_NAME = 'Virtuozzo_Storage_CI'
SHARE_FORMAT_REGEX = '(?:(\\S+):\\/)?([a-zA-Z0-9_-]+)(?::(\\S+))?'
VERSION = '1.1'
copy_image_to_volume(context, volume, image_service, image_id)

Fetch the image from image_service and write it to the volume.

delete_volume(inst, *args, **kwargs)

Any initialization the volume driver does while starting.

extend_volume(inst, *args, **kwargs)
initialize_connection(inst, *args, **kwargs)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.