cinder.volume.drivers.vzstorage
Module¶PloopDevice
(path, snapshot_id=None, read_only=True, execute=<function execute at 0x3a91c80>)¶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 at 0x3a91c80>, *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.1’¶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.
delete_volume
(inst, *args, **kwargs)¶do_setup
(context)¶Any initialization the volume driver does while starting.
extend_volume
(inst, *args, **kwargs)¶get_volume_format
(volume)¶initialize_connection
(inst, *args, **kwargs)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.