cinder.volume.drivers.vmware.fcd
Module¶VMware VStorageObject driver
Volume driver based on VMware VStorageObject aka First Class Disk (FCD). This driver requires a minimum vCenter version of 6.5.
VMwareVStorageObjectDriver
(*args, **kwargs)¶Bases: cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver
Volume driver based on VMware VStorageObject
CI_WIKI_NAME
= ‘VMware_CI’¶MIN_SUPPORTED_VC_VERSION
= ‘6.5’¶STORAGE_TYPE
= ‘vstorageobject’¶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.
Parameters: |
|
---|---|
Returns: | Model updates. |
copy_volume_to_image
(context, volume, image_service, image_meta)¶Copy the volume to the specified image.
Parameters: |
|
---|---|
Returns: | Model updates. |
create_cloned_volume
(volume, src_vref)¶Creates a clone of the specified volume.
Parameters: |
|
---|
create_snapshot
(snapshot)¶Creates a snapshot.
Parameters: | snapshot – Information for the snapshot to be created. |
---|
create_volume
(volume)¶Create a new volume on the backend.
Parameters: | volume – Volume object containing specifics to create. |
---|---|
Returns: | (Optional) dict of database updates for the new volume. |
create_volume_from_snapshot
(volume, snapshot)¶Creates a volume from a snapshot.
Parameters: |
|
---|---|
Returns: | A dict of database updates for the new volume. |
delete_snapshot
(snapshot)¶Deletes a snapshot.
Parameters: | snapshot – The snapshot to delete. |
---|
delete_volume
(volume)¶Delete a volume from the backend.
Parameters: | volume – The volume to delete. |
---|
do_setup
(context)¶Any initialization the volume driver needs to do while starting.
Parameters: | context – The admin context. |
---|
extend_volume
(volume, new_size)¶Extend the size of a volume.
Parameters: |
|
---|
get_volume_stats
(refresh=False)¶Collects volume backend stats.
Parameters: | refresh – Whether to discard any cached values and force a full refresh of stats. |
---|---|
Returns: | dict of appropriate values. |
initialize_connection
(volume, connector, initiator_data=None)¶Allow connection to connector and return connection info.
Parameters: |
|
---|---|
Returns: | A dictionary of connection information. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.