]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add capability to update volume metadata.
authorjohn-griffith <john.griffith@solidfire.com>
Wed, 16 Jan 2013 06:38:11 +0000 (23:38 -0700)
committerjohn-griffith <john.griffith@solidfire.com>
Sat, 19 Jan 2013 19:32:03 +0000 (12:32 -0700)
commitbd71987bbf67715c8b84519b3ba3ac80552a901e
tree6fd18c8e8bcf3b467bf03d27caed35a66f552ee7
parentd3324a35adc6bdba9b58a1bc2dbb6d9654e8936a
Add capability to update volume metadata.

This addresses some cleanup and bugs with volume metadata updates
on the cinder side.  Mostly this implements v1/volume_metadata api
and adds things like propery checks to cinder.volume.api.update_volume_meta.

NOTE: This is only for api V1, a seperate patch will be provided for
V2 once this lands.

The remainder of the bp will be implemented in a cinderclient patch to follow.
Implement cinder side of blueprint update-vol-metadata

Also fixes bug: 1096018

Change-Id: Ie11931f657d3dcd69680fe5fcae435ff89549d97
cinder/api/v1/router.py
cinder/api/v1/volume_metadata.py [new file with mode: 0644]
cinder/exception.py
cinder/tests/api/fakes.py
cinder/tests/api/v1/test_volume_metadata.py [new file with mode: 0644]
cinder/tests/test_volume.py
cinder/volume/api.py