cinder.volume.drivers.vzstorage
Module¶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
Parameters: |
|
---|
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.
CI_WIKI_NAME
= 'Virtuozzo_Storage_CI'¶SHARE_FORMAT_REGEX
= '(?:(\\S+):\\/)?([a-zA-Z0-9_-]+)(?::(\\S+))?'¶VERSION
= '1.0'¶choose_volume_format
(volume)¶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_snapshot
(inst, *args, **kwargs)¶delete_snapshot
(inst, *args, **kwargs)¶delete_volume
(inst, *args, **kwargs)¶do_setup
(context)¶Any initialization the volume driver does while starting.
driver_prefix
= 'vzstorage'¶driver_volume_type
= 'vzstorage'¶extend_volume
(inst, *args, **kwargs)¶get_volume_format
(volume)¶initialize_connection
(inst, *args, **kwargs)¶volume_backend_name
= 'Virtuozzo_Storage'¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.