Red Hat Training

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

5.115. nova network-create

usage: nova network-create [--fixed-range-v4 <x.x.x.x/yy>]
                           [--fixed-range-v6 CIDR_V6] [--vlan <vlan id>]
                           [--vlan-start <vlan start>] [--vpn <vpn start>]
                           [--gateway GATEWAY] [--gateway-v6 GATEWAY_V6]
                           [--bridge <bridge>]
                           [--bridge-interface <bridge interface>]
                           [--multi-host <'T'|'F'>] [--dns1 <DNS Address>]
                           [--dns2 <DNS Address>] [--uuid <network uuid>]
                           [--fixed-cidr <x.x.x.x/yy>]
                           [--project-id <project id>] [--priority <number>]
                           [--mtu MTU] [--enable-dhcp <'T'|'F'>]
                           [--dhcp-server DHCP_SERVER]
                           [--share-address <'T'|'F'>]
                           [--allowed-start ALLOWED_START]
                           [--allowed-end ALLOWED_END]
                           <network_label>
DEPRECATED: Create a network.

Positional arguments

<network_label>


        Label for network

Optional arguments

--fixed-range-v4 <x.x.x.x/yy>


      IPv4 subnet (ex: 10.0.0.0/8)

--fixed-range-v6


        CIDR_V6      IPv6 subnet (ex: fe80::/64

--vlan <vlan id>


        The vlan ID to be assigned to the project.

--vlan-start <vlan start>


        First vlan ID to be assigned to the project.
      Subsequent vlan IDs will be assigned
      incrementally.

--vpn <vpn start>


        vpn start

--gateway GATEWAY


        gateway

--gateway-v6


        GATEWAY_V6       IPv6 gateway

--bridge <bridge>


        VIFs on this network are connected to this
      bridge.

--bridge-interface <bridge interface>


      The bridge is connected to this interface.

--multi-host <'T'|'F'>


        Multi host

--dns1 <DNS Address>


        First DNS.

--dns2 <DNS Address>


        Second DNS.

--uuid <network uuid>


        Network UUID.

--fixed-cidr <x.x.x.x/yy>


        IPv4 subnet for fixed IPs (ex: 10.20.0.0/16).

--project-id <project id>


        Project ID.

--priority <number>


        Network interface priority.

--mtu MTU MTU


        for network.

--enable-dhcp <'T'|'F'>


        Enable DHCP.

--dhcp-server DHCP_SERVER


        DHCP-server address (defaults to gateway
      address)

--share-address <'T'|'F'>


        Share address

--allowed-start ALLOWED_START


      Start of allowed addresses for instances.

--allowed-end ALLOWED_END


        End of allowed addresses for instances.