Driver for virtual machines running on VMware supported datastores.
Bases: cinder.volume.driver.VolumeDriver
Manage volumes on VMware ESX server.
Creates volume from image.
Creates a backing for the volume under the ESX/VC server and copies the VMDK flat file from the glance image content. The method supports only image with VMDK disk format.
| Parameters: |
|
|---|
Creates glance image from volume.
Upload of only available volume is supported. Steps followed are:
Creates volume clone.
| Parameters: |
|
|---|
Creates a snapshot.
| Parameters: | snapshot – Snapshot object |
|---|
Creates a volume.
We do not create any backing. We do it only for the first time it is being attached to a virtual machine.
| Parameters: | volume – Volume object |
|---|
Creates a volume from a snapshot.
| Parameters: |
|
|---|
Delete snapshot.
| Parameters: | snapshot – Snapshot object |
|---|
Deletes volume backing.
| Parameters: | volume – Volume object |
|---|
Perform validations and establish connection to server.
| Parameters: | context – Context information |
|---|
Obtain status of the volume service.
| Parameters: | refresh – Whether to get refreshed information |
|---|
Allow connection to connector and return connection info.
The implementation returns the following information: {‘driver_volume_type’: ‘vmdk’
- ‘data’: {‘volume’: $VOLUME_MOREF_VALUE
‘volume_id’: $VOLUME_ID}
}
| Parameters: |
|
|---|---|
| Returns: | Return connection information |
Bases: cinder.volume.drivers.vmware.vmdk.VMwareEsxVmdkDriver
Manage volumes on VMware VC server.
Creates volume clone.
| Parameters: |
|
|---|
Creates a volume from a snapshot.
| Parameters: |
|
|---|