]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
HP 3PAR retype implementation
authorMark Sturdevant <mark.sturdevant@hp.com>
Fri, 4 Jul 2014 00:34:46 +0000 (17:34 -0700)
committerMark Sturdevant <mark.sturdevant@hp.com>
Fri, 25 Jul 2014 19:05:31 +0000 (12:05 -0700)
commite99d1a007d5757959a91c735e97aa47597f9a5b5
tree3339023ad157ecd334926a975c5c4497e88bec95
parent2f09c3031ef2d2db598ec4c56f6127e33d29b2cc
HP 3PAR retype implementation

Add retype support to the HP 3PAR driver. The driver will modify the
volume's current userCPG, snapCPG provisioningType, and QOS settings, as
needed, to make the volume behave appropriately for the new type. The
existing retype framework handles what to do if the driver cannot retype
(when it returns False or raises an exception).

The combination of optional type-specified VV set, old-style scoped
extra-specs and QOS-specs will be resolved using existing code. So no
new interpretation of a mixed-up type specifications will be introduced
(no need to re-document these driver caveats).

Other than the usual validity checking, the 3PAR retype will have one
limitation. Retype will not be allowed if the volume has snapshots and
the retype would require modifying/tuning the snapCPG or userCPG.

Change-Id: I6c7816233635e369dd7ff349c2a437b22a849a84
Implements: blueprint retype-hp-3par
cinder/tests/fake_hp_client_exceptions.py
cinder/tests/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_common.py
cinder/volume/drivers/san/hp/hp_3par_fc.py
cinder/volume/drivers/san/hp/hp_3par_iscsi.py