diff options
| author | Xi Yang <yang.xi@99cloud.net> | 2016-01-18 17:09:14 +0800 |
|---|---|---|
| committer | Xi Yang <yang.xi@99cloud.net> | 2016-03-09 00:13:55 +0800 |
| commit | 189e4774f88243669ee1b9089d6c39021094c83d (patch) | |
| tree | 3ea67f456bbb16d4087b7e82fb4f297d0bbc3390 /doc/source/command-objects | |
| parent | 752705ae307e0bf53d4282120009bf3d155da137 (diff) | |
| download | python-openstackclient-189e4774f88243669ee1b9089d6c39021094c83d.tar.gz | |
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
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/snapshot.rst | 11 |
1 files changed, 10 insertions, 1 deletions
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 <name>] [--description <description>] [--property <key=value> [...] ] + [--state <state>] <snapshot> .. _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 <state> + + New snapshot state. + Valid values are "available", "error", "creating", + "deleting", and "error_deleting". + + *Volume version 2 only* + .. describe:: <snapshot> Snapshot to modify (name or ID) |
