]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
IBM Storwize driver: Retype the volume with correct empty QoS
authorVincent Hou <sbhou@cn.ibm.com>
Fri, 12 Sep 2014 08:10:02 +0000 (16:10 +0800)
committerVincent Hou <sbhou@cn.ibm.com>
Mon, 29 Sep 2014 13:59:23 +0000 (21:59 +0800)
commit26de1b1d829849665dae921b8be739194b84515d
tree25f929edac929e998d4ee33e7a098aaa50247fae
parentbfd861ab822147624b7f0cfd47e1ecc43787e7bf
IBM Storwize driver: Retype the volume with correct empty QoS

* Currently for Storwzie driver, if the new type does not have QoS
configurations, the old QoS configurations remain in the volume after
retyping it. It should be retyped into a volume with empty QoS for the
Storwize driver.
* Refactor three dicts into one for better maintainance of the QoS keys
for Storwize driver.

DocImpact

Change-Id: I2b2801a4ef72ef02c11392ed00b56f5263a8a7e4
Closes-Bug: #1368595
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py