summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2015-10-24 12:08:35 +0800
committerTang Chen <tangchen@cn.fujitsu.com>2015-11-05 15:43:39 +0800
commit7107b5536e9ece347014ec88c5c5bb3e68050882 (patch)
treeec31ee0d50bd86ac1151d2d7d1691d7a79309af9 /doc
parent1809faaf1fbffea497cfbe2f1c7adde6bf449234 (diff)
downloadpython-openstackclient-7107b5536e9ece347014ec88c5c5bb3e68050882.tar.gz
Add "server stop" command to osc.
There is no stop command in osc. Add it. Change-Id: Ia11a8f3b1245c884f7da442292009342d2ffde1e Implements: blueprint cmd-with-multi-servers
Diffstat (limited to 'doc')
-rw-r--r--doc/source/command-objects/server.rst15
-rw-r--r--doc/source/commands.rst3
2 files changed, 17 insertions, 1 deletions
diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst
index 4f0b836d..3cb6598d 100644
--- a/doc/source/command-objects/server.rst
+++ b/doc/source/command-objects/server.rst
@@ -610,6 +610,21 @@ Start server(s)
Server(s) to start (name or ID)
+server stop
+-----------
+
+Stop server(s)
+
+.. program:: server stop
+.. code:: bash
+
+ os server stop
+ <server> [<server> ...]
+
+.. describe:: <server>
+
+ Server(s) to stop (name or ID)
+
server suspend
--------------
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index d89e7193..34a30c4e 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -183,7 +183,8 @@ Those actions with an opposite action are noted in parens if applicable.
* ``save`` - download an object locally
* ``set`` (``unset``) - set a property on the object, formerly called metadata
* ``show`` - display detailed information about the specific object
-* ``start`` - start one or more servers
+* ``start`` (``stop``) - start one or more servers
+* ``stop`` (``start``) - stop one or more servers
* ``suspend`` (``resume``) - stop a server and save to disk freeing memory
* ``unlock`` (``lock``) - unlock a server
* ``unpause`` (``pause``) - return a paused server to running state