From 189e4774f88243669ee1b9089d6c39021094c83d Mon Sep 17 00:00:00 2001 From: Xi Yang Date: Mon, 18 Jan 2016 17:09:14 +0800 Subject: Add support of setting snapshot state This patch is going to add the functionality of setting snapshot state which OSC currently lacks. Closes-Bug:#1535239 Change-Id: I2afd6567416e75ba0c70b73351cf1eb5394b3373 --- doc/source/command-objects/snapshot.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/snapshot.rst b/doc/source/command-objects/snapshot.rst index b4838684..90330118 100644 --- a/doc/source/command-objects/snapshot.rst +++ b/doc/source/command-objects/snapshot.rst @@ -2,7 +2,7 @@ snapshot ======== -Block Storage v1 +Block Storage v1, v2 snapshot create --------------- @@ -82,6 +82,7 @@ Set snapshot properties [--name ] [--description ] [--property [...] ] + [--state ] .. _snapshot_restore-snapshot: @@ -97,6 +98,14 @@ Set snapshot properties Property to add or modify for this snapshot (repeat option to set multiple properties) +.. option:: --state + + New snapshot state. + Valid values are "available", "error", "creating", + "deleting", and "error_deleting". + + *Volume version 2 only* + .. describe:: Snapshot to modify (name or ID) -- cgit v1.2.1