Chapter 44. local
This chapter describes the commands under the local
command.
44.1. local ip association create Copy linkLink copied to clipboard!
Create Local IP Association
Usage:
Value | Summary |
---|---|
<local-ip> | Local ip that the port association belongs to (name or ID) |
<fixed-port> | The id or name of port to allocate local ip Association |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--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. |
Value | Summary |
---|---|
-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--prefix PREFIX | Add a prefix to all variable names |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
44.2. local ip association delete Copy linkLink copied to clipboard!
Delete Local IP association(s)
Usage:
openstack local ip association delete [-h] <local-ip> <fixed-port-id> [<fixed-port-id> ...]
openstack local ip association delete [-h]
<local-ip> <fixed-port-id>
[<fixed-port-id> ...]
Value | Summary |
---|---|
<local-ip> | Local ip that the port association belongs to (name or id) |
<fixed-port-id> | The fixed port id of local ip association |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
44.3. local ip association list Copy linkLink copied to clipboard!
List Local IP Associations
Usage:
Value | Summary |
---|---|
<local-ip> | Local ip that port associations belongs to |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--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. |
Value | Summary |
---|---|
-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
--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 |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
44.4. local ip create Copy linkLink copied to clipboard!
Create Local IP
Usage:
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--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. |
Value | Summary |
---|---|
-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--prefix PREFIX | Add a prefix to all variable names |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
44.5. local ip delete Copy linkLink copied to clipboard!
Delete local IP(s)
Usage:
openstack local ip delete [-h] <local-ip> [<local-ip> ...]
openstack local ip delete [-h] <local-ip> [<local-ip> ...]
Value | Summary |
---|---|
<local-ip> | Local ip(s) to delete (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
44.6. local ip list Copy linkLink copied to clipboard!
List local IPs
Usage:
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--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. |
Value | Summary |
---|---|
-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
--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 |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
44.7. local ip set Copy linkLink copied to clipboard!
Set local ip properties
Usage:
openstack local ip set [-h] [--name <name>] [--description <description>] <local-ip>
openstack local ip set [-h] [--name <name>]
[--description <description>]
<local-ip>
Value | Summary |
---|---|
<local-ip> | Local ip to modify (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--name <name> | Set local ip name |
--description <description> | Set local ip description |
44.8. local ip show Copy linkLink copied to clipboard!
Display local IP details
Usage:
openstack local ip show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] <local-ip>
openstack local ip show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<local-ip>
Value | Summary |
---|---|
<local-ip> | Local ip to display (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
-c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--prefix PREFIX | Add a prefix to all variable names |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |