python-openstackclient/doc/source/command-objects/floating-ip.rst
Tang Chen 0aa2304f38 Transfer "ip floating CRUD" to "floating ip CRUD"
This patch does the following things to transfer
"ip floating xxx" to "floating ip xxx":
* Add new command "floating ip create/delete/list/show", and doc.
* Deprecate "ip floating create/delete/list/show" command.

Change-Id: Ib071acaac81988431244e858bddafa7f93403df5
Implements: blueprint rework-ip-commands
Closes-bug: 1555990
Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
2016-07-20 13:37:48 +08:00

1.5 KiB

floating ip

Compute v2, Network v2

floating ip create

Create floating IP

floating ip create

os floating ip create
    [--subnet <subnet>]
    [--port <port>]
    [--floating-ip-address <floating-ip-address>]
    [--fixed-ip-address <fixed-ip-address>]
    <network>

--subnet <subnet>

Subnet on which you want to create the floating IP (name or ID) Network version 2 only

--port <port>

Port to be associated with the floating IP (name or ID) Network version 2 only

--floating-ip-address <floating-ip-address>

Floating IP address Network version 2 only

--fixed-ip-address <fixed-ip-address>

Fixed IP address mapped to the floating IP Network version 2 only

<network>

Network to allocate floating IP from (name or ID)

floating ip delete

Delete floating IP(s)

floating ip delete

os floating ip delete <floating-ip> [<floating-ip> ...]

<floating-ip>

Floating IP(s) to delete (IP address or ID)

floating ip list

List floating IP(s)

floating ip list

os floating ip list

floating ip show

Display floating IP details

floating ip show

os floating ip show <floating-ip>

<floating-ip>

Floating IP to display (IP address or ID)