]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Adds new volume API extensions
authorUnmesh Gurjar <unmesh.gurjar@vertex.co.in>
Sat, 11 Aug 2012 17:31:51 +0000 (10:31 -0700)
committerUnmesh Gurjar <unmesh.gurjar@vertex.co.in>
Mon, 13 Aug 2012 09:54:09 +0000 (02:54 -0700)
commit2f5360753308eb8b10581fc3c026c1b66f42ebdc
tree8a626de12cb2f3ff122a5521b2282fe2eda8895c
parentdccfa57f6b49d9e92157a3361f42dee0f55bd70c
Adds new volume API extensions

Adds following extensions:
1. Create volume from image
2. Copy volume to image

Added unit tests.

Implements: blueprint create-volume-from-image
Change-Id: I9c73bd3fa2fa2e0648c01ff3f4fc66f757d7bc3f
22 files changed:
cinder/api/openstack/__init__.py
cinder/api/openstack/extensions.py
cinder/api/openstack/volume/__init__.py
cinder/api/openstack/volume/contrib/image_create.py [new file with mode: 0644]
cinder/api/openstack/volume/contrib/volume_actions.py
cinder/api/openstack/volume/volumes.py
cinder/flags.py
cinder/image/__init__.py [new file with mode: 0644]
cinder/image/glance.py [new file with mode: 0644]
cinder/tests/api/openstack/fakes.py
cinder/tests/api/openstack/volume/contrib/test_volume_actions.py
cinder/tests/api/openstack/volume/test_router.py
cinder/tests/api/openstack/volume/test_volumes.py
cinder/tests/image/__init__.py [new file with mode: 0644]
cinder/tests/image/fake.py [new file with mode: 0644]
cinder/tests/policy.json
cinder/tests/test_volume.py
cinder/utils.py
cinder/volume/api.py
cinder/volume/driver.py
cinder/volume/manager.py
etc/cinder/rootwrap.d/volume.filters