Este contenido no está disponible en el idioma seleccionado.
Chapter 42. l2gw
This chapter describes the commands under the l2gw command.
42.1. l2gw connection create Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create l2gateway-connection
| Value | Summary |
|---|---|
| <GATEWAY-NAME/UUID> | Descriptive name for logical gateway. |
| <NETWORK-NAME/UUID> | Network name or uuid. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --default-segmentation-id SEG_ID | default segmentation-id that will be applied to the interfaces for which segmentation id was not specified in l2-gateway-create command. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the networking-l2gw plugin.
42.2. l2gw connection delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack l2gw connection delete [-h]
<L2_GATEWAY_CONNECTIONS>
[<L2_GATEWAY_CONNECTIONS> ...]
openstack l2gw connection delete [-h]
<L2_GATEWAY_CONNECTIONS>
[<L2_GATEWAY_CONNECTIONS> ...]
Delete a given l2gateway-connection
| Value | Summary |
|---|---|
| <L2_GATEWAY_CONNECTIONS> | ID(s) of l2_gateway_connections(s) to delete. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the networking-l2gw plugin.
42.3. l2gw connection list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List l2gateway-connections
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project <project> | Owner’s project (name or id) |
| --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 |
| --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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the networking-l2gw plugin.
42.4. l2gw connection show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Show information of a given l2gateway-connection
| Value | Summary |
|---|---|
| <L2_GATEWAY_CONNECTION> | ID of l2_gateway_connection to look up. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the networking-l2gw plugin.
42.5. l2gw create Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create l2gateway resource
| Value | Summary |
|---|---|
| <GATEWAY-NAME> | Descriptive name for logical gateway. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project <project> | Owner’s project (name or id) |
| --project-domain <project-domain> | Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. |
| --device name=name,interface_names=INTERFACE-DETAILS | Device name and Interface-names of l2gateway. INTERFACE-DETAILS is of form "<interface_name1>;[<inte rface_name2>][ |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the networking-l2gw plugin.
42.6. l2gw delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack l2gw delete [-h] <L2_GATEWAY> [<L2_GATEWAY> ...]
openstack l2gw delete [-h] <L2_GATEWAY> [<L2_GATEWAY> ...]
Delete a given l2gateway
| Value | Summary |
|---|---|
| <L2_GATEWAY> | Id(s) or name(s) of l2_gateway to delete. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the networking-l2gw plugin.
42.7. l2gw list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List l2gateway that belongs to a given tenant
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project <project> | Owner’s project (name or id) |
| --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 |
| --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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the networking-l2gw plugin.
42.8. l2gw show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack l2gw show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--fit-width]
[--print-empty] [--noindent] [--prefix PREFIX]
<L2_GATEWAY>
openstack l2gw show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--fit-width]
[--print-empty] [--noindent] [--prefix PREFIX]
<L2_GATEWAY>
Show information of a given l2gateway
| Value | Summary |
|---|---|
| <L2_GATEWAY> | Id or name of l2_gateway to look up. |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the networking-l2gw plugin.
42.9. l2gw update Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Update a given l2gateway
| Value | Summary |
|---|---|
| <L2_GATEWAY> | Id or name of l2_gateway to update. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name name | Descriptive name for logical gateway. |
| --device name=name,interface_names=INTERFACE-DETAILS | Device name and Interface-names of l2gateway. INTERFACE-DETAILS is of form "<interface_name1>;[<inte rface_name2>][ |
| 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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
This command is provided by the networking-l2gw plugin.