-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat OpenStack Platform
2.201. openstack network create
usage: openstack network create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--share | --no-share] [--enable | --disable] [--project <project>] [--project-domain <project-domain>] [--availability-zone-hint <availability-zone>] [--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] <name>
Positional arguments
- <name>
New network name
Optional arguments
- -h, --help
show this help message and exit
- --share
Share the network between projects
- --no-share
Do not share the network between projects
- --enable
Enable network (default)
- --disable
Disable network
- --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 network
(Network Availability Zone extension required, repeat
option to set multiple availability zones)
- --enable-port-security
Enable port security by default for ports created on
this network (default)
- --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)
- --default
Specify if this network should be used as the default
external network
- --no-default
Do not use the network as the default external network
(default)
- --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