]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Clone CG
authorXing Yang <xing.yang@emc.com>
Mon, 20 Jul 2015 03:18:58 +0000 (23:18 -0400)
committerXing Yang <xing.yang@emc.com>
Tue, 28 Jul 2015 21:45:19 +0000 (17:45 -0400)
commit360518ca0134a6f1fd7c8b39e51370ea76b1fe90
tree413d43421db8b3d45f2e9d81313d25c186b1314f
parentcaacf04544d8a09a3fe48caace41f6af1bcc29a0
Clone CG

This patch modifies the existing "create CG from source" API
to take an existing CG as a source, in addition to a CG snapshot.

APIImpact
DocImpact
implements blueprint clone-cg

Change-Id: Ieabc190a5d9a08e2c84e42140192e6ee3dac9433
14 files changed:
cinder/api/contrib/consistencygroups.py
cinder/consistencygroup/api.py
cinder/db/sqlalchemy/migrate_repo/versions/051_add_source_cgid_column_to_consistencygroups.py [new file with mode: 0644]
cinder/db/sqlalchemy/models.py
cinder/tests/unit/api/contrib/test_consistencygroups.py
cinder/tests/unit/api/v2/stubs.py
cinder/tests/unit/test_migrations.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/test_volume_rpcapi.py
cinder/tests/unit/utils.py
cinder/volume/api.py
cinder/volume/driver.py
cinder/volume/manager.py
cinder/volume/rpcapi.py