Red Hat Training

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

2.211. openstack network set

usage: openstack network set [-h] [--name <name>] [--enable | --disable]
                             [--share | --no-share]
                             [--enable-port-security | --disable-port-security]
                             [--external | --internal]
                             [--default | --no-default]
                             [--provider-network-type <provider-network-type>]
                             [--provider-physical-network <provider-physical-network>]
                             [--provider-segment <provider-segment>]
                             [--transparent-vlan | --no-transparent-vlan]
                             <network>
Set network properties

Positional arguments

<network>


        Network to modify (name or ID)

Optional arguments

-h, --help


        show this help message and exit

--name <name>


        Set network name

--enable


        Enable network

--disable


        Disable network

--share


        Share the network between projects

--no-share


        Do not share the network between projects

--enable-port-security


      Enable port security by default for ports created on
      this network

--disable-port-security


      Disable port security by default for ports created on
      this network

--external


        Set this network as an external network (external-net
      extension required)

--internal


        Set this network as an internal network

--default


        Set the network as the default external network

--no-default


        Do not use the network as the default external network

--provider-network-type <provider-network-type>


      The physical mechanism by which the virtual network is
      implemented. The supported options are: flat, geneve,
      gre, local, vlan, vxlan.

--provider-physical-network <provider-physical-network>


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

--provider-segment <provider-segment>


      VLAN ID for VLAN networks or Tunnel ID for
      GENEVE/GRE/VXLAN networks

--transparent-vlan


        Make the network VLAN transparent

--no-transparent-vlan


      Do not make the network VLAN transparent