Red Hat Training

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

8.155. neutron net-create

usage: neutron net-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
                          [--max-width <integer>] [--noindent]
                          [--prefix PREFIX] [--request-format {json}]
                          [--tenant-id TENANT_ID] [--admin-state-down]
                          [--shared] [--provider:network_type <network_type>]
                          [--provider:physical_network <physical_network_name>]
                          [--provider:segmentation_id <segmentation_id>]
                          [--vlan-transparent {True,False}]
                          [--description DESCRIPTION]
                          [--qos-policy QOS_POLICY]
                          [--availability-zone-hint AVAILABILITY_ZONE]
                          [--dns-domain DNS_DOMAIN]
                          NAME
Create a network for a given tenant.

Positional arguments

NAME


        Name of the network to be created.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--tenant-id TENANT_ID


      The owner tenant ID.

--admin-state-down


        Set admin state up to false.

--shared


        Set the network as shared.

--provider:network_type <network_type>


      The physical mechanism by which the virtual network is
      implemented.

--provider:physical_network <physical_network_name>


      Name of the physical network over which the virtual
      network is implemented.

--provider:segmentation_id <segmentation_id>


      VLAN ID for VLAN networks or tunnel-id for GRE/VXLAN
      networks.

--vlan-transparent {True,False}


      Create a VLAN transparent network.

--description DESCRIPTION


      Description of network.

--qos-policy QOS_POLICY


      ID or name of the QoS policy that shouldbe attached to
      the resource.

--availability-zone-hint AVAILABILITY_ZONE


      Availability Zone for the network (requires
      availability zone extension, this option can be
      repeated).

--dns-domain DNS_DOMAIN


      Assign DNS domain to the network (requires DNS
      integration extension)