Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

2.214. openstack network trunk create

usage: openstack network trunk create [-h] [-f {json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--noindent] [--prefix PREFIX]
                                      [--description <description>]
                                      --parent-port <parent-port>
                                      [--subport <port=,segmentation-type=,segmentation-id=>]
                                      [--enable | --disable]
                                      [--project <project>]
                                      [--project-domain <project-domain>]
                                      <name>
Create a network trunk for a given project

Positional arguments

<name>


        Name of the trunk to create

Optional arguments

-h, --help


        show this help message and exit

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