python-openstackclient/doc/source/command-objects/ip-floating.rst
Huanxuan Ao 8e2f49fbf2 Support bulk deletion for commands that exist in both network and compute.
Some delete commands in networkv2 are exist in both network
and compute, They can use NetworkAndComputeDeleteclass to
supprot bulk deletion and error handling and the codes are
similar, so I change them all in this patch. The changed
commands including:
1.floating ip delete
2.security group delete
3.security group rule delete
Also, I update unit tests and docs for these commands in this patch.

Change-Id: I6c94c3d10ba579ddd9b14d17673c821e3481fd8a
Partially-Implements: blueprint multi-argument-network
2016-06-15 17:23:39 +08:00

2.2 KiB

ip floating

Compute v2, Network v2

ip floating add

Add floating IP address to server

ip floating add

os ip floating add
    <ip-address>
    <server>

<ip-address>

IP address to add to server (name only)

<server>

Server to receive the IP address (name or ID)

ip floating create

Create new floating IP address

ip floating create

os ip floating 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 v2 only)

--port <port>

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

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

Floating IP address (Network v2 only)

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

Fixed IP address mapped to the floating IP (Network v2 only)

<network>

Network to allocate floating IP from (name or ID)

ip floating delete

Delete floating IP(s)

ip floating delete

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

<floating-ip>

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

ip floating list

List floating IP addresses

ip floating list

os ip floating list

ip floating remove

Remove floating IP address from server

ip floating remove

os ip floating remove
    <ip-address>
    <server>

<ip-address>

IP address to remove from server (name only)

<server>

Server to remove the IP address from (name or ID)

ip floating show

Display floating IP details

ip floating show

os ip floating show <floating-ip>

<floating-ip>

Floating IP to display (IP address or ID)