]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
New update_snapshot_status API
authorEric Harney <eharney@redhat.com>
Fri, 19 Jul 2013 14:02:51 +0000 (10:02 -0400)
committerEric Harney <eharney@redhat.com>
Tue, 3 Sep 2013 12:37:43 +0000 (08:37 -0400)
commita5aa1c9167958ee806ac43d1b0be39ea1ce96917
treea1c0238c469af0e89ba32007d1e04322321de62c
parent59df774239ac0783826762108768d79ebb4c0dd5
New update_snapshot_status API

Adds new snapshot_actions module

Update_snapshot_status: Allows updating of 'state' and
'progress' fields of a snapshot.  This is used by Nova
to inform Cinder of its outcome when performing snapshot
operations for attached volumes.  Updates are restricted
to a subset of possible start and finish states.

Implements blueprint qemu-assisted-snapshots

Change-Id: I54772f794b97e1cc6b24b121b757219248e37109
cinder/api/contrib/snapshot_actions.py [new file with mode: 0644]
cinder/tests/api/contrib/test_snapshot_actions.py [new file with mode: 0644]
cinder/tests/policy.json
etc/cinder/policy.json