]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement function to manage/unmanage snapshots
authorwanghao <wanghao749@huawei.com>
Wed, 31 Dec 2014 04:06:53 +0000 (12:06 +0800)
committerwanghao <wanghao749@huawei.com>
Wed, 26 Aug 2015 06:16:34 +0000 (14:16 +0800)
commitb5fdd31619b551995a5c7ec3a7305645fbc774a2
tree55785fe7f53f2e9632c5d996da8352b1ff3f12b0
parenta953ecea5b4ad74ae28c8306b88e01ae6be23740
Implement function to manage/unmanage snapshots

1. Add snapshots manage action in contrib api and unmanage
action in API extension.
2. Implement manage_existing_snapshot in manager and flow
to import existing snapshots.
3. Add manage/unmanage support in the LVM driver

Implements: blueprint support-import-export-snapshots
DocImpact
APIImpact
Similar to volume manage/unmanage.
Change-Id: Ib6cf8392b0bc99f803316991f31a75788677e9cf
17 files changed:
cinder/api/contrib/snapshot_manage.py [new file with mode: 0644]
cinder/api/contrib/snapshot_unmanage.py [new file with mode: 0644]
cinder/tests/unit/api/contrib/test_snapshot_manage.py [new file with mode: 0644]
cinder/tests/unit/api/contrib/test_snapshot_unmanage.py [new file with mode: 0644]
cinder/tests/unit/policy.json
cinder/tests/unit/test_volume.py
cinder/tests/unit/test_volume_rpcapi.py
cinder/tests/unit/test_volume_utils.py
cinder/volume/api.py
cinder/volume/driver.py
cinder/volume/drivers/lvm.py
cinder/volume/flows/common.py
cinder/volume/flows/manager/manage_existing_snapshot.py [new file with mode: 0644]
cinder/volume/manager.py
cinder/volume/rpcapi.py
cinder/volume/utils.py
etc/cinder/policy.json