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
This commit is contained in:
doc/source/command-objects
openstackclient
releasenotes/notes
@ -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)
|
||||
|
Reference in New Issue
Block a user