summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2015-10-23 16:59:03 +0800
committerLin Hua Cheng <os.lcheng@gmail.com>2015-11-09 04:27:45 +0000
commita337f664d23cea334be4618a0049a9f124df777c (patch)
treeb0040e9a10d7a222256fb7239e6adb49d8e25ee6 /doc
parent6dfa304617255f8f5d3011ee92648e3c2dbbe2fa (diff)
downloadpython-openstackclient-a337f664d23cea334be4618a0049a9f124df777c.tar.gz
Enable "openstack server pause" command to take multiple servers.
Current "openstack server pause" command could only pause one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: I809f77f0720457c9cdc1028a70b391c75885984c Implements: blueprint cmd-with-multi-servers
Diffstat (limited to 'doc')
-rw-r--r--doc/source/command-objects/server.rst6
-rw-r--r--doc/source/commands.rst2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst
index 3cb6598d..155b76fe 100644
--- a/doc/source/command-objects/server.rst
+++ b/doc/source/command-objects/server.rst
@@ -311,17 +311,17 @@ Migrate server to different host
server pause
------------
-Pause server
+Pause server(s)
.. program:: server pause
.. code:: bash
os server pause
- <server>
+ <server> [<server> ...]
.. describe:: <server>
- Server (name or ID)
+ Server(s) to pause (name or ID)
server reboot
-------------
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index 34a30c4e..e9a8b87e 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -172,7 +172,7 @@ Those actions with an opposite action are noted in parens if applicable.
* ``lock`` (``unlock``) - lock a server so that non-admin user won't be able to execute actions
* ``migrate`` - move a server to a different host; ``--live`` performs a
live migration if possible
-* ``pause`` (``unpause``) - stop a server and leave it in memory
+* ``pause`` (``unpause``) - stop one or more servers and leave them in memory
* ``reboot`` - forcibly reboot a server
* ``rebuild`` - rebuild a server using (most of) the same arguments as in the original create
* ``remove`` (``add``) - remove an object from a group of objects