diff options
| author | Rui Chen <chenrui.momo@gmail.com> | 2016-05-28 18:55:50 +0800 |
|---|---|---|
| committer | Rui Chen <chenrui.momo@gmail.com> | 2016-05-28 18:55:50 +0800 |
| commit | 1a7284f63ad13f41c6ff4295d69f065310242524 (patch) | |
| tree | 96688b8b42c6ec885ae791f8cdb1aa5b02ba2af1 /doc/source/command-objects | |
| parent | 7247707d343c931ab18830f6475c3e0c49ea2a74 (diff) | |
| download | python-openstackclient-1a7284f63ad13f41c6ff4295d69f065310242524.tar.gz | |
Support to set server state
When a server is unexpected state, OSC don't support reset
the server to active or error state, that's supported by
novaclient, and it's an important command for operators, the
patch implement this function.
Change-Id: I3e7800feb192832b0719ef9a353945beb6bfd509
Implements: blueprint server-reset-state
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/server.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst index bf972986..f11355b6 100644 --- a/doc/source/command-objects/server.rst +++ b/doc/source/command-objects/server.rst @@ -559,6 +559,7 @@ Set server properties --property <key=value> [--property <key=value>] ... --root-password + --state <state> <server> .. option:: --name <new-name> @@ -574,6 +575,10 @@ Set server properties Property to add/change for this server (repeat option to set multiple properties) +.. option:: --state <state> + + New server state (valid value: active, error) + .. describe:: <server> Server (name or ID) |
