]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR: Create volume from snapshot with larger size
authorRamy Asselin <ramy.asselin@hp.com>
Mon, 24 Feb 2014 22:54:08 +0000 (14:54 -0800)
committerRamy Asselin <ramy.asselin@hp.com>
Tue, 25 Feb 2014 18:54:32 +0000 (10:54 -0800)
commit9090f99986c5b2cf725814e6ab64fd2d2a829d3e
tree587c844a4f24ade736a8d41f08f9f78033b2f635
parente31b9e78374bcaeae573cce2915897ceb870ffc3
3PAR: Create volume from snapshot with larger size

Refactored the migrate_volume code to be usable by both migrate volume
and create volume from snapshot with a larger size. The common functionality
is to clone a volume as a base volume. Migrate volume specifies a different
CPG, whereas create volume from snapshot uses the same CPG.

Change-Id: I4081807294d918fc0e9c2e17bae89b6df7ee1513
Closes-Bug: #1279478
cinder/tests/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_common.py