Network v2
Create floating IP
openstack floating ip create
[--extra-property type=<property_type>,name=<property_name>,value=<property_value>]
[--subnet <subnet>]
[--port <port>]
[--floating-ip-address <ip-address>]
[--fixed-ip-address <ip-address>]
[--qos-policy <qos-policy>]
[--description <description>]
[--project <project>]
[--dns-domain <dns-domain>]
[--dns-name <dns-name>]
[--project-domain <project-domain>]
[--tag <tag> | --no-tag]
<network>
Additional parameters can be passed using this property. Default type of the extra property is string (‘str’), but other types can be used as well. Available types are: ‘dict’, ‘list’, ‘str’, ‘bool’, ‘int’. In case of ‘list’ type, ‘value’ can be semicolon-separated list of values. For ‘dict’ value is semicolon-separated list of the key:value pairs.
Subnet on which you want to create the floating IP (name or ID)
Network version 2 only
Port to be associated with the floating IP (name or ID)
Network version 2 only
Floating IP address
Network version 2 only
Fixed IP address mapped to the floating IP
Network version 2 only
Attach QoS policy to the floating IP (name or ID)
Network version 2 only
Set floating IP description
Network version 2 only
Owner’s project (name or ID)
Network version 2 only
Set DNS domain for this floating IP
Network version 2 only
Set DNS name for this floating IP
Network version 2 only
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Network version 2 only
Tag to be added to the floating IP (repeat option to set multiple tags)
Network version 2 only
No tags associated with the floating IP
Network version 2 only
Network to allocate floating IP from (name or ID)
Delete floating IP(s)
openstack floating ip delete <floating-ip> [<floating-ip> ...]
Floating IP(s) to delete (IP address or ID)
List floating IP(s)
openstack floating ip list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--network <network>]
[--port <port>]
[--fixed-ip-address <ip-address>]
[--floating-ip-address <ip-address>]
[--long]
[--status <status>]
[--project <project>]
[--project-domain <project-domain>]
[--router <router>]
[--tags <tag>[,<tag>,...]]
[--any-tags <tag>[,<tag>,...]]
[--not-tags <tag>[,<tag>,...]]
[--not-any-tags <tag>[,<tag>,...]]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
List floating IP(s) according to given network (name or ID)
Network version 2 only
List floating IP(s) according to given port (name or ID)
Network version 2 only
List floating IP(s) according to given fixed IP address
Network version 2 only
List floating IP(s) according to given floating IP address
Network version 2 only
List additional fields in output
Network version 2 only
List floating IP(s) according to given status (‘ACTIVE’, ‘DOWN’)
Network version 2 only
List floating IP(s) according to given project (name or ID)
Network version 2 only
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
List floating IP(s) according to given router (name or ID)
Network version 2 only
List floating IP which have all given tag(s) (Comma-separated list of tags)
Network version 2 only
List floating IP which have any given tag(s) (Comma-separated list of tags)
Network version 2 only
Exclude floating IP which have all given tag(s) (Comma-separated list of tags)
Network version 2 only
Exclude floating IP which have any given tag(s) (Comma-separated list of tags)
Network version 2 only
Set floating IP Properties
openstack floating ip set
[--extra-property type=<property_type>,name=<property_name>,value=<property_value>]
[--port <port>]
[--fixed-ip-address <ip-address>]
[--description <description>]
[--qos-policy <qos-policy> | --no-qos-policy]
[--tag <tag>]
[--no-tag]
<floating-ip>
Additional parameters can be passed using this property. Default type of the extra property is string (‘str’), but other types can be used as well. Available types are: ‘dict’, ‘list’, ‘str’, ‘bool’, ‘int’. In case of ‘list’ type, ‘value’ can be semicolon-separated list of values. For ‘dict’ value is semicolon-separated list of the key:value pairs.
Associate the floating IP with port (name or ID)
Fixed IP of the port (required only if port has multiple IPs)
Set floating IP description
Attach QoS policy to the floating IP (name or ID)
Remove the QoS policy attached to the floating IP
Tag to be added to the floating IP (repeat option to set multiple tags)
Clear tags associated with the floating IP. Specify both –tag and –no-tag to overwrite current tags
Floating IP to modify (IP address or ID)
Display floating IP details
openstack floating ip show <floating-ip>
Floating IP to display (IP address or ID)
Unset floating IP Properties
openstack floating ip unset
[--extra-property type=<property_type>,name=<property_name>,value=<property_value>]
[--port]
[--qos-policy]
[--tag <tag> | --all-tag]
<floating-ip>
Additional parameters can be passed using this property. Default type of the extra property is string (‘str’), but other types can be used as well. Available types are: ‘dict’, ‘list’, ‘str’, ‘bool’, ‘int’. In case of ‘list’ type, ‘value’ can be semicolon-separated list of values. For ‘dict’ value is semicolon-separated list of the key:value pairs.
Disassociate any port associated with the floating IP
Remove the QoS policy attached to the floating IP
Tag to be removed from the floating IP (repeat option to remove multiple tags)
Clear all tags associated with the floating IP
Floating IP to disassociate (IP address or ID)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.