Local IP Associations (local_ip_associations)¶
The resource lets users assign Local IPs to user Ports. This is a sub-resource of the Local IP resource.
Network v2
local ip association create¶
Create Local IP Association
openstack local ip association create
[--fixed-ip <fixed_ip>]
[--project-domain <project-domain>]
<local-ip>
<fixed_port>
-
--fixed-ip<fixed_ip>¶ Fixed IP for Local IP Association
-
--project-domain<project-domain>¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
-
local-ip¶ Local IP that the port association belongs to (IP address or ID)
-
fixed_port¶ The ID or Name of Port to allocate Local IP Association
local ip association delete¶
Delete Local IP association(s)
openstack local ip association delete
<local_ip>
<fixed_port_id>
[<fixed_port_id> ...]
-
local_ip¶ Local IP that the port association belongs to (IP address or ID)
-
fixed_port_id¶ The fixed port ID of Local IP Association
local ip association list¶
List Local IP Associations
openstack local ip association list
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--fixed-port <fixed_port>]
[--fixed-ip <fixed_ip>]
[--host <host>]
[--project-domain <project-domain>]
<local_ip>
-
--sort-columnSORT_COLUMN¶ specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
-
--sort-ascending¶ sort the column(s) in ascending order
-
--sort-descending¶ sort the column(s) in descending order
-
--fixed-port<fixed_port>¶ Filter the list result by the ID or name of the fixed port
-
--fixed-ip<fixed_ip>¶ Filter the list result by fixed ip
-
--host<host>¶ Filter the list result by given host
-
--project-domain<project-domain>¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
-
local_ip¶ Local IP that port associations belongs to