Chuyển tới nội dung chính
openstack network create

Create new network

Options​

OptionDescription
<name>New network name
--extra-property type=<property_type>,name=<property_name>,value=<property_value>Additional parameters can be passed using this property. Default type of the extra property is string ('str'), but other types can be used as well. Available types are: 'dict', 'list', 'str', 'bool', 'int'. In case of 'list' type, 'value' can be semicolon-separated list of values. For 'dict' value is semicolon-separated list of the key:value pairs.
--shareShare the network between projects
--no-shareDo not share the network between projects
--enableEnable network (default)
--disableDisable network
--project <project>Owner's project (name or ID)
--description <description>Set network description
--mtu <mtu>Set network mtu
--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-securityEnable port security by default for ports created on this network (default)
--disable-port-securityDisable port security by default for ports created on this network
--externalThe network has an external routing facility that is not managed by Neutron and can be used. For example: openstack router set --external-gateway NETWORK (external-net extension required)
--internalOpposite of '--external' (default)
--defaultSpecify if this network should be used as the default external network
--no-defaultDo not use the network as the default external network (default)
--qos-policy <qos-policy>QoS policy to attach to this network (name or ID)
--transparent-vlanMake the network VLAN transparent
--no-transparent-vlanDo not make the network VLAN transparent
--qinq-vlanEnable VLAN QinQ (S-Tag ethtype 0x8a88) for the network
--no-qinq-vlanDisable VLAN QinQ (S-Tag ethtype 0x8a88) for the network
--provider-network-type <provider-network-type>The physical mechanism by which the virtual network is implemented. For example: flat, geneve, gre, local, vlan or 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
--dns-domain <dns-domain>Set DNS domain for this network (requires DNS integration extension)
--tag <tag>Tag to be added to the network (repeat option to set multiple tags)
--no-tagNo tags associated with the network