network trunk¶
A network trunk is a container to group logical ports from different networks and provide a single trunked vNIC for servers. It consists of one parent port which is a regular VIF and multiple subports which allow the server to connect to more networks.
Network v2
network subport list¶
List all subports for a given network trunk
openstack network subport list
    [-f {csv,json,table,value,yaml}]
    [-c COLUMN]
    [--quote {all,minimal,none,nonnumeric}]
    [--noindent]
    [--max-width <integer>]
    [--fit-width]
    [--print-empty]
    [--sort-column SORT_COLUMN]
    [--sort-ascending | --sort-descending]
    --trunk <trunk>
- -f <FORMATTER>, --format <FORMATTER>¶
 the output format, defaults to table
- -c COLUMN, --column COLUMN¶
 specify the column(s) to include, can be repeated to show multiple columns
- --quote <QUOTE_MODE>¶
 when to include quotes, defaults to nonnumeric
- --noindent¶
 whether to disable indenting the JSON
- --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.
- --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
- --trunk <trunk>¶
 List subports belonging to this trunk (name or ID)
This command is provided by the python-neutronclient plugin.
network trunk create¶
Create a network trunk for a given project
openstack network trunk create
    [-f {json,shell,table,value,yaml}]
    [-c COLUMN]
    [--noindent]
    [--prefix PREFIX]
    [--max-width <integer>]
    [--fit-width]
    [--print-empty]
    [--description <description>]
    --parent-port <parent-port>
    [--subport <port=,segmentation-type=,segmentation-id=>]
    [--enable | --disable]
    [--project <project>]
    [--project-domain <project-domain>]
    <name>
- -f <FORMATTER>, --format <FORMATTER>¶
 the output format, defaults to table
- -c COLUMN, --column COLUMN¶
 specify the column(s) to include, can be repeated to show multiple columns
- --noindent¶
 whether to disable indenting the JSON
- --prefix <PREFIX>¶
 add a prefix to all variable names
- --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.
- --description <description>¶
 A description of the trunk
- --parent-port <parent-port>¶
 Parent port belonging to this trunk (name or ID)
- --subport <port=,segmentation-type=,segmentation-id=>¶
 Subport to add. Subport is of form ‘port=<name or ID>,segmentation-type=,segmentation-ID=’ (–subport) option can be repeated
- --enable¶
 Enable trunk (default)
- --disable¶
 Disable trunk
- --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.
- name¶
 Name of the trunk to create
This command is provided by the python-neutronclient plugin.
network trunk delete¶
Delete a given network trunk
openstack network trunk delete <trunk> [<trunk> ...]
- trunk¶
 Trunk(s) to delete (name or ID)
This command is provided by the python-neutronclient plugin.
network trunk list¶
List all network trunks
openstack network trunk list
    [-f {csv,json,table,value,yaml}]
    [-c COLUMN]
    [--quote {all,minimal,none,nonnumeric}]
    [--noindent]
    [--max-width <integer>]
    [--fit-width]
    [--print-empty]
    [--sort-column SORT_COLUMN]
    [--sort-ascending | --sort-descending]
    [--long]
- -f <FORMATTER>, --format <FORMATTER>¶
 the output format, defaults to table
- -c COLUMN, --column COLUMN¶
 specify the column(s) to include, can be repeated to show multiple columns
- --quote <QUOTE_MODE>¶
 when to include quotes, defaults to nonnumeric
- --noindent¶
 whether to disable indenting the JSON
- --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.
- --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
- --long¶
 List additional fields in output
This command is provided by the python-neutronclient plugin.
network trunk set¶
Set network trunk properties
openstack network trunk set
    [--name <name>]
    [--description <description>]
    [--subport <port=,segmentation-type=,segmentation-id=>]
    [--enable | --disable]
    <trunk>
- --name <name>¶
 Set trunk name
- --description <description>¶
 A description of the trunk
- --subport <port=,segmentation-type=,segmentation-id=>¶
 Subport to add. Subport is of form ‘port=<name or ID>,segmentation-type=,segmentation-ID=’(–subport) option can be repeated
- --enable¶
 Enable trunk
- --disable¶
 Disable trunk
- trunk¶
 Trunk to modify (name or ID)
This command is provided by the python-neutronclient plugin.
network trunk show¶
Show information of a given network trunk
openstack network trunk show
    [-f {json,shell,table,value,yaml}]
    [-c COLUMN]
    [--noindent]
    [--prefix PREFIX]
    [--max-width <integer>]
    [--fit-width]
    [--print-empty]
    <trunk>
- -f <FORMATTER>, --format <FORMATTER>¶
 the output format, defaults to table
- -c COLUMN, --column COLUMN¶
 specify the column(s) to include, can be repeated to show multiple columns
- --noindent¶
 whether to disable indenting the JSON
- --prefix <PREFIX>¶
 add a prefix to all variable names
- --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.
- trunk¶
 Trunk to display (name or ID)
This command is provided by the python-neutronclient plugin.
network trunk unset¶
Unset subports from a given network trunk
openstack network trunk unset --subport <subport> <trunk>
- --subport <subport>¶
 Subport to delete (name or ID of the port) (–subport) option can be repeated
- trunk¶
 Unset subports from this trunk (name or ID)
This command is provided by the python-neutronclient plugin.