Local IPs (local_ips)

Extension that allows users to create a virtual IP that can later be assigned to multiple ports/VMs (similar to anycast IP) and is guaranteed to only be reachable within the same physical server/node boundaries

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-column SORT_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

local ip create

Create Local IP

openstack local ip create
    [--name <name>]
    [--description <description>]
    [--network <network>]
    [--local-port <local_port>]
    [--local-ip-address <local_ip_address>]
    [--ip-mode <ip_mode>]
    [--project-domain <project-domain>]
--name <name>

New local IP name

--description <description>

New local IP description

--network <network>

Network to allocate Local IP (name or ID)

--local-port <local_port>

Port to allocate Local IP (name or ID)

--local-ip-address <local_ip_address>

IP address or CIDR

--ip-mode <ip_mode>

local IP ip mode

--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 delete

Delete local IP(s)

openstack local ip delete <local-ip> [<local-ip> ...]
local-ip

Local IP(s) to delete (name or ID)

local ip list

List local IPs

openstack local ip list
    [--sort-column SORT_COLUMN]
    [--sort-ascending | --sort-descending]
    [--name <name>]
    [--project <project>]
    [--network <network>]
    [--local-port <local_port>]
    [--local-ip-address <local_ip_address>]
    [--ip-mode <ip_mode>]
    [--project-domain <project-domain>]
--sort-column SORT_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

--name <name>

List only local IPs of given name in output

--project <project>

List Local IPs according to their project (name or ID)

--network <network>

List Local IP(s) according to given network (name or ID)

--local-port <local_port>

List Local IP(s) according to given port (name or ID)

--local-ip-address <local_ip_address>

List Local IP(s) according to given Local IP Address

--ip-mode <ip_mode>

List Local IP(s) according to given IP mode

--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 set

Set local ip properties

openstack local ip set
    [--name <name>]
    [--description <description>]
    <local-ip>
--name <name>

Set local IP name

--description <description>

Set local IP description

local-ip

Local IP to modify (name or ID)

local ip show

Display local IP details

openstack local ip show <local-ip>
local-ip

Local IP to display (name or ID)