]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement retype for Pure drivers
authorPatrick East <patrick.east@purestorage.com>
Thu, 23 Jul 2015 23:02:43 +0000 (16:02 -0700)
committerPatrick East <patrick.east@purestorage.com>
Thu, 23 Jul 2015 23:02:43 +0000 (16:02 -0700)
commitc6026a2cb223e500e5b522efbba7ecf5bf63c50a
tree67890b41d15006054fa0ceea329e688c133abf43
parentb8921e8e52d176f618fc39e2f114a25aa4d985b4
Implement retype for Pure drivers

Currently retyping on the same backend requires a migration to occur
due to using the default implementation of retype on the base volume
driver.

Volumes on the Pure arrays do not have any differentiation
between volume types Cinder may be using. Because of this we can
implement a retype method that will be used whenever changing
types on the same backend that essentially does nothing except return.

Change-Id: Ibf4c57166fe5742cc7e079c4422f7efd2b6dce79
Closes-Bug: 1477780
cinder/tests/unit/test_pure.py
cinder/volume/drivers/pure.py