]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
set/unset volume image metadata
authorDave Chen <wei.d.chen@intel.com>
Fri, 16 Jan 2015 09:59:18 +0000 (17:59 +0800)
committerDave Chen <wei.d.chen@intel.com>
Sat, 11 Jul 2015 04:13:58 +0000 (12:13 +0800)
commit4196e5f2d56d68134f08563e7eb51164214d2075
treeb3c738ecf19914104dc28480a6579b25e6f8745b
parent5669075b28ddcc03ffc72e5e5ef32c6552d5df9a
set/unset volume image metadata

This patch implements:
- Create, delete, update APIs for modifying volume image metadata.
- Refactoring in the volume API to accommodate both user and
  image metadata.
- All of the necessary testcases needed for the changes.

DocImpact
APIImpact
Partially implements: bp support-modify-volume-image-metadata
Change-Id: I22792ef7bd49c763d7c130aa8cac9abc3fff2d4c
14 files changed:
cinder/api/common.py
cinder/api/contrib/volume_image_metadata.py
cinder/api/v2/volume_metadata.py
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/exception.py
cinder/tests/unit/api/contrib/test_volume_image_metadata.py
cinder/tests/unit/api/v1/test_volume_metadata.py
cinder/tests/unit/api/v2/test_volume_metadata.py
cinder/tests/unit/policy.json
cinder/tests/unit/test_db_api.py
cinder/tests/unit/test_volume.py
cinder/volume/api.py
requirements.txt