]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: manage_existing for VMDK driver
authorVipin Balachandran <vbala@vmware.com>
Fri, 29 Jan 2016 12:19:17 +0000 (04:19 -0800)
committerVipin Balachandran <vbala@vmware.com>
Tue, 16 Feb 2016 06:53:54 +0000 (12:23 +0530)
commita8e965c3d4723ecb1fb0db2c85439522f07d46cd
tree6f892a0e65ad74a303ee0788af0bf1b07ab86c81
parent451d17d4166d0ccf9c5c280af65172fbea62a216
VMware: manage_existing for VMDK driver

This patch implements manage_existing for the VMDK driver. Manage
existing creates a volume backing from the vmdk identified by the
source-name option. The source-name format is:
                                    "vmdk_path@vm_inventory_path".

This patch detaches the disk device at vmdk_path from the VM at
vCenter inventory path given by vm_inventory_path and attaches it
to the volume backing.

Implements: blueprint vmdk-manage-existing
Change-Id: I03501bb9bcc9932211174d5a00511af347befd96
cinder/tests/unit/test_vmware_vmdk.py
cinder/tests/unit/test_vmware_volumeops.py
cinder/volume/drivers/vmware/vmdk.py
cinder/volume/drivers/vmware/volumeops.py
releasenotes/notes/vmware-vmdk-manage-existing-0edc20d9d4d19172.yaml [new file with mode: 0644]