2016-06-17 15:06:40 +08:00
|
|
|
===========
|
|
|
|
floating ip
|
|
|
|
===========
|
|
|
|
|
|
|
|
Compute v2, Network v2
|
|
|
|
|
|
|
|
floating ip create
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Create floating IP
|
|
|
|
|
|
|
|
.. program:: floating ip create
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack floating ip create
|
2016-06-17 15:06:40 +08:00
|
|
|
[--subnet <subnet>]
|
|
|
|
[--port <port>]
|
2017-04-03 16:15:14 -05:00
|
|
|
[--floating-ip-address <ip-address>]
|
|
|
|
[--fixed-ip-address <ip-address>]
|
2016-09-20 12:29:08 -05:00
|
|
|
[--description <description>]
|
2017-11-05 12:05:09 +08:00
|
|
|
[--qos-policy <qos-policy>]
|
2016-08-16 16:00:32 +07:00
|
|
|
[--project <project> [--project-domain <project-domain>]]
|
2018-02-23 08:03:12 +00:00
|
|
|
[--tag <tag> | --no-tag]
|
2018-04-04 13:44:24 +00:00
|
|
|
[--dns-domain <dns-domain>]
|
|
|
|
[--dns-name <dns-name>]
|
2016-06-17 15:06:40 +08:00
|
|
|
<network>
|
|
|
|
|
|
|
|
.. option:: --subnet <subnet>
|
|
|
|
|
|
|
|
Subnet on which you want to create the floating IP (name or ID)
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --port <port>
|
|
|
|
|
|
|
|
Port to be associated with the floating IP (name or ID)
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2017-04-03 16:15:14 -05:00
|
|
|
.. option:: --floating-ip-address <ip-address>
|
2016-06-17 15:06:40 +08:00
|
|
|
|
|
|
|
Floating IP address
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2017-04-03 16:15:14 -05:00
|
|
|
.. option:: --fixed-ip-address <ip-address>
|
2016-06-17 15:06:40 +08:00
|
|
|
|
|
|
|
Fixed IP address mapped to the floating IP
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2016-09-20 12:29:08 -05:00
|
|
|
.. option:: --description <description>
|
|
|
|
|
|
|
|
Set floating IP description
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2017-11-05 12:05:09 +08:00
|
|
|
.. option:: --qos-policy <qos-policy>
|
|
|
|
|
|
|
|
QoS policy to attach to the floating IP (name or ID)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2016-08-16 16:00:32 +07:00
|
|
|
.. option:: --project <project>
|
|
|
|
|
|
|
|
Owner's project (name or ID)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --project-domain <project-domain>
|
|
|
|
|
|
|
|
Domain the project belongs to (name or ID).
|
|
|
|
This can be used in case collisions between project names exist.
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2018-02-23 08:03:12 +00:00
|
|
|
.. option:: --tag <tag>
|
|
|
|
|
|
|
|
Tag to be added to the floating IP (repeat option to set multiple tags)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --no-tag
|
|
|
|
|
|
|
|
No tags associated with the floating IP
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2018-04-04 13:44:24 +00:00
|
|
|
.. option:: --dns-domain <dns-domain>
|
|
|
|
|
|
|
|
Set DNS domain for this floating IP (requires DNS integration extension).
|
|
|
|
|
|
|
|
.. option:: --dns-name <dns-name>
|
|
|
|
|
|
|
|
Set DNS name for this floating IP (requires DNS integration extension).
|
|
|
|
|
2016-06-17 15:06:40 +08:00
|
|
|
.. describe:: <network>
|
|
|
|
|
|
|
|
Network to allocate floating IP from (name or ID)
|
|
|
|
|
|
|
|
floating ip delete
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Delete floating IP(s)
|
|
|
|
|
|
|
|
.. program:: floating ip delete
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack floating ip delete <floating-ip> [<floating-ip> ...]
|
2016-06-17 15:06:40 +08:00
|
|
|
|
|
|
|
.. describe:: <floating-ip>
|
|
|
|
|
|
|
|
Floating IP(s) to delete (IP address or ID)
|
|
|
|
|
|
|
|
floating ip list
|
|
|
|
----------------
|
|
|
|
|
|
|
|
List floating IP(s)
|
|
|
|
|
|
|
|
.. program:: floating ip list
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack floating ip list
|
2016-11-13 10:11:03 +08:00
|
|
|
[--network <network>]
|
|
|
|
[--port <port>]
|
2017-04-03 16:15:14 -05:00
|
|
|
[--fixed-ip-address <ip-address>]
|
2016-12-09 14:23:26 +08:00
|
|
|
[--long]
|
|
|
|
[--status <status>]
|
|
|
|
[--project <project> [--project-domain <project-domain>]]
|
|
|
|
[--router <router>]
|
2018-02-23 08:03:12 +00:00
|
|
|
[--tags <tag>[,<tag>,...]] [--any-tags <tag>[,<tag>,...]]
|
|
|
|
[--not-tags <tag>[,<tag>,...]] [--not-any-tags <tag>[,<tag>,...]]
|
2016-11-13 10:11:03 +08:00
|
|
|
|
|
|
|
.. option:: --network <network>
|
|
|
|
|
|
|
|
List floating IP(s) according to given network (name or ID)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --port <port>
|
|
|
|
|
|
|
|
List floating IP(s) according to given port (name or ID)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2017-04-03 16:15:14 -05:00
|
|
|
.. option:: --fixed-ip-address <ip-address>
|
2016-11-13 10:11:03 +08:00
|
|
|
|
|
|
|
List floating IP(s) according to given fixed IP address
|
|
|
|
|
|
|
|
*Network version 2 only*
|
2016-06-17 15:06:40 +08:00
|
|
|
|
2019-01-07 13:02:57 +01:00
|
|
|
.. option:: --floating-ip-address <ip-address>
|
|
|
|
|
|
|
|
List floating IP(s) according to given floating IP address
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2016-12-09 14:23:26 +08:00
|
|
|
.. option:: --long
|
|
|
|
|
|
|
|
List additional fields in output
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --status <status>
|
|
|
|
|
|
|
|
List floating IP(s) according to given status ('ACTIVE', 'DOWN')
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --project <project>
|
|
|
|
|
|
|
|
List floating IP(s) according to given project (name or ID)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --project-domain <project-domain>
|
|
|
|
|
|
|
|
Domain the project belongs to (name or ID). This can
|
|
|
|
be used in case collisions between project names exist.
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --router <router>
|
|
|
|
|
|
|
|
List floating IP(s) according to given router (name or ID)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2018-02-23 08:03:12 +00:00
|
|
|
.. option:: --tags <tag>[,<tag>,...]
|
|
|
|
|
|
|
|
List floating IP(s) which have all given tag(s)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --any-tags <tag>[,<tag>,...]
|
|
|
|
|
|
|
|
List floating IP(s) which have any given tag(s)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --not-tags <tag>[,<tag>,...]
|
|
|
|
|
|
|
|
Exclude floating IP(s) which have all given tag(s)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
|
|
|
.. option:: --not-any-tags <tag>[,<tag>,...]
|
|
|
|
|
|
|
|
Exclude floating IP(s) which have any given tag(s)
|
|
|
|
|
|
|
|
*Network version 2 only*
|
|
|
|
|
2016-10-06 10:01:59 -05:00
|
|
|
floating ip set
|
|
|
|
---------------
|
|
|
|
|
|
|
|
Set floating IP properties
|
|
|
|
|
|
|
|
.. program:: floating ip set
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
openstack floating ip set
|
2018-06-13 05:21:53 -04:00
|
|
|
[--port <port>]
|
2016-10-06 10:01:59 -05:00
|
|
|
[--fixed-ip-address <ip-address>]
|
2017-11-05 12:05:09 +08:00
|
|
|
[--qos-policy <qos-policy> | --no-qos-policy]
|
2018-02-23 08:03:12 +00:00
|
|
|
[--tag <tag>] [--no-tag]
|
2016-10-06 10:01:59 -05:00
|
|
|
<floating-ip>
|
|
|
|
|
|
|
|
.. option:: --port <port>
|
|
|
|
|
2018-03-15 16:30:43 -04:00
|
|
|
Associate the floating IP with port (name or ID)
|
2016-10-06 10:01:59 -05:00
|
|
|
|
|
|
|
.. option:: --fixed-ip-address <ip-address>
|
|
|
|
|
|
|
|
Fixed IP of the port (required only if port has multiple IPs)
|
|
|
|
|
2017-11-05 12:05:09 +08:00
|
|
|
.. option:: --qos-policy <qos-policy>
|
|
|
|
|
|
|
|
Attach QoS policy to the floating IP (name or ID)
|
|
|
|
|
|
|
|
.. option:: --no-qos-policy
|
|
|
|
|
|
|
|
Remove the QoS policy attached to the floating IP
|
|
|
|
|
2018-02-23 08:03:12 +00:00
|
|
|
.. option:: --tag <tag>
|
|
|
|
|
|
|
|
Tag to be added to the floating IP (repeat option to set multiple tags)
|
|
|
|
|
|
|
|
.. option:: --no-tag
|
|
|
|
|
|
|
|
Clear tags associated with the floating IP. Specify both --tag
|
|
|
|
and --no-tag to overwrite current tags
|
|
|
|
|
2016-10-06 10:01:59 -05:00
|
|
|
.. _floating_ip_set-floating-ip:
|
|
|
|
.. describe:: <floating-ip>
|
|
|
|
|
|
|
|
Floating IP to associate (IP address or ID)
|
|
|
|
|
2016-06-17 15:06:40 +08:00
|
|
|
floating ip show
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Display floating IP details
|
|
|
|
|
|
|
|
.. program:: floating ip show
|
|
|
|
.. code:: bash
|
|
|
|
|
2016-12-20 09:18:55 +08:00
|
|
|
openstack floating ip show <floating-ip>
|
2016-06-17 15:06:40 +08:00
|
|
|
|
|
|
|
.. describe:: <floating-ip>
|
|
|
|
|
|
|
|
Floating IP to display (IP address or ID)
|
2016-10-06 10:01:59 -05:00
|
|
|
|
|
|
|
floating ip unset
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
Unset floating IP Properties
|
|
|
|
|
|
|
|
.. program:: floating ip unset
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
openstack floating ip unset
|
2018-06-13 05:21:53 -04:00
|
|
|
[--port]
|
|
|
|
[--qos-policy]
|
2018-02-23 08:03:12 +00:00
|
|
|
[--tag <tag> | --all-tag]
|
2016-10-06 10:01:59 -05:00
|
|
|
<floating-ip>
|
|
|
|
|
|
|
|
.. option:: --port
|
|
|
|
|
|
|
|
Disassociate any port associated with the floating IP
|
|
|
|
|
2017-11-05 12:05:09 +08:00
|
|
|
.. option:: --qos-policy
|
|
|
|
|
|
|
|
Remove the QoS policy attached to the floating IP
|
|
|
|
|
2018-02-23 08:03:12 +00:00
|
|
|
.. option:: --tag <tag>
|
|
|
|
|
|
|
|
Tag to be removed from the floating IP
|
|
|
|
(repeat option to remove multiple tags)
|
|
|
|
|
|
|
|
.. option:: --all-tag
|
|
|
|
|
|
|
|
Clear all tags associated with the floating IP
|
|
|
|
|
2016-10-06 10:01:59 -05:00
|
|
|
.. _floating_ip_unset-floating-ip:
|
|
|
|
.. describe:: <floating-ip>
|
|
|
|
|
|
|
|
Floating IP to disassociate (IP address or ID)
|