summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/server.rst
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-04-07 14:10:37 +0800
committerTang Chen <chen.tang@easystack.cn>2016-07-04 10:40:59 +0800
commitd1f9ea3f750bb4c1f440ebfa93d06a40673ec0aa (patch)
tree559dfdb90602c15ad0d47baf2fb08fa501bbe9ca /doc/source/command-objects/server.rst
parent50bd56db258a16199463afcdeb2f0579384cc711 (diff)
downloadpython-openstackclient-d1f9ea3f750bb4c1f440ebfa93d06a40673ec0aa.tar.gz
Transfer "ip floating add/remove" to "server add/remove
floating ip" This patch does the following things to transfer "ip floating add/remove" to "server add/remove floating ip": * Add new command "server add/remove floating ip", and unit tests and doc. * Deprecate "ip floating add/remove" command. compute/v2/floatingip.py is not removed because the arguments' positions are different between the new and old commands. * ip floating add <ip-address> <server> server add floating ip <server> <ip-address> * ip floating remove <ip-address> <server> server remove floating ip <server> <ip-address> Change-Id: Ic0dd22ca6fb7b7bc3e820fd5a14d7c551e7ab963 Implements: blueprint rework-ip-commands Partial-bug: 1555990 Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
Diffstat (limited to 'doc/source/command-objects/server.rst')
-rw-r--r--doc/source/command-objects/server.rst40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst
index f11355b6..3393e7fb 100644
--- a/doc/source/command-objects/server.rst
+++ b/doc/source/command-objects/server.rst
@@ -4,6 +4,26 @@ server
Compute v2
+server add floating ip
+----------------------
+
+Add floating IP address to server
+
+.. program:: server add floating ip
+.. code:: bash
+
+ os server add floating ip
+ <server>
+ <ip-address>
+
+.. describe:: <server>
+
+ Server (name or ID) to receive the floating IP address
+
+.. describe:: <ip-address>
+
+ Floating IP address (IP address only) to assign to server
+
server add security group
-------------------------
@@ -418,6 +438,26 @@ Rebuild server
Server (name or ID)
+server remove floating ip
+-------------------------
+
+Remove floating IP address from server
+
+.. program:: server remove floating ip
+.. code:: bash
+
+ os server remove floating ip
+ <server>
+ <ip-address>
+
+.. describe:: <server>
+
+ Server (name or ID) to remove the floating IP address from
+
+.. describe:: <ip-address>
+
+ Floating IP address (IP address only) to remove from server
+
server remove security group
----------------------------