]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
vmware: Remove pbm_default_policy config option
authorVipin Balachandran <vbala@vmware.com>
Mon, 17 Mar 2014 18:16:22 +0000 (23:46 +0530)
committerVipin Balachandran <vbala@vmware.com>
Mon, 17 Mar 2014 18:37:14 +0000 (00:07 +0530)
commit1e4d070a5b638de58c87363b18a76171dcd0ce38
tree43e0558ea396200cf9b3c75ba696f3c34e4e0860
parentc3d4ad86d2091939644c3b385c43400dca8ccca8
vmware: Remove pbm_default_policy config option

The pbm_default_policy config option is used to associate a storage
policy with the volume backing if there is no associated volume_type
or the volume_type doesn't have the storage_profile option. A better
approach is to set the storage_profile option in the default_volume_type.
This change removes the pbm_default_policy and queries the policy
using the storage_profile option in the given volume_type.

Closes-Bug: #1291181
Closes-Bug: #1291804
DocImpact

Change-Id: I2519ec1145712ce6927dacde91db468d066af021
cinder/tests/test_vmware_vmdk.py
cinder/volume/drivers/vmware/error_util.py
cinder/volume/drivers/vmware/vmdk.py
etc/cinder/cinder.conf.sample