Red Hat Training

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

2.274. openstack router create

usage: openstack router create [-h] [-f {json,shell,table,value,yaml}]
                               [-c COLUMN] [--max-width <integer>]
                               [--noindent] [--prefix PREFIX]
                               [--enable | --disable] [--distributed]
                               [--project <project>]
                               [--project-domain <project-domain>]
                               [--availability-zone-hint <availability-zone>]
                               <name>
Create a new router

Positional arguments

<name>


        New router name

Optional arguments

-h, --help


        show this help message and exit

--enable


        Enable router (default)

--disable


        Disable router

--distributed


        Create a distributed router

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

--availability-zone-hint <availability-zone>


      Availability Zone in which to create this router
      (Router Availability Zone extension required, repeat
      option to set multiple availability zones)