]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Create Consistency Group from CG Snapshot API
authorXing Yang <xing.yang@emc.com>
Tue, 24 Feb 2015 02:38:14 +0000 (21:38 -0500)
committerXing Yang <xing.yang@emc.com>
Tue, 3 Mar 2015 06:01:32 +0000 (01:01 -0500)
commitadb4c80be82caacad83f1366a4b34e5653fd5dab
tree6e768e107ce85cde4d6ad180b6e33de5bba9b238
parent1a62a6e60fda73bf31256fbf684dc03bb6cf0038
Create Consistency Group from CG Snapshot API

This patch addressed the following:
* Added a new create Consistency Group from CG Snapshot API.
  - Note this is separate from the Create Consistency Group
    API which requires volume types as the input.
* Added a corresponding driver API.

Conflicts:
cinder/volume/rpcapi.py

Partial-Implements: blueprint consistency-groups-kilo-update
Change-Id: I3a5f55d9dfd3fd4d70833824b29ebbd71986c143
16 files changed:
cinder/api/contrib/consistencygroups.py
cinder/consistencygroup/api.py
cinder/db/sqlalchemy/migrate_repo/versions/037_add_cgsnapshot_id_column_to_consistencygroups.py [new file with mode: 0644]
cinder/db/sqlalchemy/models.py
cinder/tests/api/contrib/test_consistencygroups.py
cinder/tests/test_create_volume_flow.py
cinder/tests/test_migrations.py
cinder/tests/test_volume.py
cinder/tests/test_volume_rpcapi.py
cinder/tests/utils.py
cinder/volume/api.py
cinder/volume/driver.py
cinder/volume/flows/api/create_volume.py
cinder/volume/flows/manager/create_volume.py
cinder/volume/manager.py
cinder/volume/rpcapi.py