]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: Change inventory folder hierarchy
authorVipin Balachandran <vbala@vmware.com>
Sat, 10 Jan 2015 17:32:00 +0000 (23:02 +0530)
committerVipin Balachandran <vbala@vmware.com>
Mon, 17 Aug 2015 11:35:54 +0000 (17:05 +0530)
commitda4f08b062024ee84889b7fc582a1c72b6e4d472
tree9e61a66b13a717dd0c7e729a3dc8aa2b050d8e84
parentea4be60e8584c715e2c3119000e94074da310970
VMware: Change inventory folder hierarchy

In vCenter inventory, volumes are organized under the folder:
<datacenter_vm_folder>/<volume_folder>, where <volume_folder>
is the value of driver config option 'vmware_volume_folder'.
Due to this organization certain project-specific maintenance
tasks (using vSphere client) might be difficult for vCenter
admin. For example, the admin may need to migrate the volumes
of a particular project from one vCenter datastore to another.

This patch changes the folder hierarchy to:
  <datacenter_vm_folder>/OpenStack/Project
                               (<project_id>)/<volume_folder>
for better organization.

DocImpact
  Modified default value of config option
  'vmware_volume_folder' and updated its description.

Closes-Bug: #1485550
Change-Id: I37a3bd00efaa3b4a0bbcb22cbe9fff3f4fb80456
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