]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
vmware: Storage policy based volume placement.
authorSubramanian Neelakantan <subramanian.neelakantan@gmail.com>
Wed, 11 Dec 2013 13:49:37 +0000 (19:19 +0530)
committerSubramanian Neelakantan <subramanian.neelakantan@gmail.com>
Mon, 3 Mar 2014 05:34:10 +0000 (11:04 +0530)
commit848ef0043f60795db680afe8f67b633459eaf52c
tree16835cdce77ac4d91977e202fa3217cfb9df5c7f
parentebf55d5203eae263a7a577767edc250c3a45c138
vmware: Storage policy based volume placement.

This change adds a new feature to vmdk cinder driver. Users will be
able to specify a vSphere storage policy in a volume-type. Creating
a volume with this volume-type associates the volume with the
storage policy in vSphere. The driver places this volume only on a
datastore that satisfies this storage policy.

Implements: blueprint vmdk-storage-policy-volume-type
Change-Id: I84585e7d5fc8b28f8cfed98cb621b5b6ce9435e0
cinder/tests/test_vmware_vmdk.py
cinder/tests/test_vmware_volumeops.py
cinder/volume/drivers/vmware/api.py
cinder/volume/drivers/vmware/pbm.py [new file with mode: 0644]
cinder/volume/drivers/vmware/vim.py
cinder/volume/drivers/vmware/vim_util.py
cinder/volume/drivers/vmware/vmdk.py
cinder/volume/drivers/vmware/volumeops.py
etc/cinder/cinder.conf.sample