]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Dell SC: Add support for driver retype
authorSean McGinnis <sean_mcginnis@dell.com>
Wed, 24 Jun 2015 21:55:33 +0000 (16:55 -0500)
committerSean McGinnis <sean_mcginnis@dell.com>
Thu, 23 Jul 2015 17:47:53 +0000 (12:47 -0500)
commit93b26e29991e869cd8bd9cbce3e2ce08693925f2
treebf925affafbc975dac8845e2bb479646bca52799
parent1f71d038f1b24ba4968b522a05b52e686905a7ad
Dell SC: Add support for driver retype

Previously there was no need to support retype by the driver
since any kind of retyping would require migration. With the
addition of the ability to set specific Storage Profiles to
use by commit Icf76fceca5a0ae20bb08b276b0c41ef6cdb31087 we
now have something the driver can handle to optimize the
retyping operation.

This adds handling for changes in the selected Storage Profile
if the backend stays the same. Any other retype changes will
return failure, resulting in it falling back to full volume
migration.

Change-Id: I18c55e0392e18d1686546ba17cb99b53b7b50566
cinder/tests/unit/test_dellsc.py
cinder/tests/unit/test_dellscapi.py
cinder/volume/drivers/dell/dell_storagecenter_api.py
cinder/volume/drivers/dell/dell_storagecenter_common.py
cinder/volume/drivers/dell/dell_storagecenter_fc.py
cinder/volume/drivers/dell/dell_storagecenter_iscsi.py