
This patch implements "ip floating delete" command for both compute and network. Also includes unit tests. Change-Id: Ie61f0faad65ec90f9d9956ae463412be8d963d05 partial-Bug: 1519502 Related-to: blueprint neutron-client Co-Authored-By: Tang Chen <chen.tang@easystack.cn>
85 lines
1.3 KiB
ReStructuredText
85 lines
1.3 KiB
ReStructuredText
===========
|
|
ip floating
|
|
===========
|
|
|
|
Compute v2, Network v2
|
|
|
|
ip floating add
|
|
---------------
|
|
|
|
Add floating IP address to server
|
|
|
|
.. program:: ip floating add
|
|
.. code:: bash
|
|
|
|
os ip floating add
|
|
<ip-address>
|
|
<server>
|
|
|
|
.. describe:: <ip-address>
|
|
|
|
IP address to add to server (name only)
|
|
|
|
.. describe:: <server>
|
|
|
|
Server to receive the IP address (name or ID)
|
|
|
|
ip floating create
|
|
------------------
|
|
|
|
Create new floating IP address
|
|
|
|
.. program:: ip floating create
|
|
.. code:: bash
|
|
|
|
os ip floating create
|
|
<pool>
|
|
|
|
.. describe:: <pool>
|
|
|
|
Pool to fetch IP address from (name or ID)
|
|
|
|
ip floating delete
|
|
------------------
|
|
|
|
Delete floating IP
|
|
|
|
.. program:: ip floating delete
|
|
.. code:: bash
|
|
|
|
os ip floating delete <floating-ip>
|
|
|
|
.. describe:: <floating-ip>
|
|
|
|
Floating IP to delete (IP address or ID)
|
|
|
|
ip floating list
|
|
----------------
|
|
|
|
List floating IP addresses
|
|
|
|
.. program:: ip floating list
|
|
.. code:: bash
|
|
|
|
os ip floating list
|
|
|
|
ip floating remove
|
|
------------------
|
|
|
|
Remove floating IP address from server
|
|
|
|
.. program:: ip floating remove
|
|
.. code:: bash
|
|
|
|
os ip floating remove
|
|
<ip-address>
|
|
<server>
|
|
|
|
.. describe:: <ip-address>
|
|
|
|
IP address to remove from server (name only)
|
|
|
|
.. describe:: <server>
|
|
|
|
Server to remove the IP address from (name or ID)
|