]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement metadata options for snapshots
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 18 Feb 2013 23:39:06 +0000 (23:39 +0000)
committerjohn-griffith <john.griffith@solidfire.com>
Thu, 21 Feb 2013 06:11:05 +0000 (23:11 -0700)
commit667031428bbe750933cd82b07a90116891d74747
tree3f4cc4225a6deb037f42a2f1c422e7c5ad04dc2f
parent8aae8bae07745d7770ec71336fddf1a81600b98a
Implement metadata options for snapshots

This patch implements metadata for snapshots as well as
the ability to update/delete that metadata.

Implements blueprint: update-snap-metadata

Change-Id: Iec2b7a51cdc3dffad41f24807067cc6c8e7d5135
16 files changed:
cinder/api/v1/router.py
cinder/api/v1/snapshot_metadata.py [new file with mode: 0644]
cinder/api/v1/snapshots.py
cinder/api/v2/snapshot_metadata.py [new file with mode: 0644]
cinder/api/v2/snapshots.py
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/db/sqlalchemy/migrate_repo/versions/009_add_snapshot_metadata_table.py [new file with mode: 0644]
cinder/db/sqlalchemy/models.py
cinder/exception.py
cinder/tests/api/v1/test_snapshot_metadata.py [new file with mode: 0644]
cinder/tests/api/v1/test_snapshots.py
cinder/tests/api/v2/test_snapshot_metadata.py [new file with mode: 0644]
cinder/tests/api/v2/test_snapshots.py
cinder/tests/test_migrations.py
cinder/volume/api.py