A network segment is an isolated Layer 2 segment within a network. A network may contain multiple network segments. Depending on the network configuration, Layer 2 connectivity between network segments within a network may not be guaranteed.
Network v2
Create new network segment
openstack network segment create
[--description <description>]
[--physical-network <physical-network>]
[--segment <segment>]
--network <network>
--network-type <network-type>
<name>
--description
<description>
¶Network segment description
--physical-network
<physical-network>
¶Physical network name of this network segment
--segment
<segment>
¶Segment identifier for this network segment which is based on the network type, VLAN ID for vlan network type and tunnel ID for geneve, gre and vxlan network types
--network
<network>
¶Network this network segment belongs to (name or ID)
--network-type
<network-type>
¶Network type of this network segment (flat, geneve, gre, local, vlan or vxlan)
name
¶New network segment name
This command is provided by the python-openstackclient plugin.
Delete network segment(s)
openstack network segment delete
<network-segment>
[<network-segment> ...]
network-segment
¶Network segment(s) to delete (name or ID)
This command is provided by the python-openstackclient plugin.
List network segments
openstack network segment list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--long]
[--network <network>]
--format-config-file
<FORMAT_CONFIG>
¶Config file for the dict-to-csv formatter
--sort-column
SORT_COLUMN
¶specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
--long
¶List additional fields in output
--network
<network>
¶List network segments that belong to this network (name or ID)
This command is provided by the python-openstackclient plugin.
Set network segment properties
openstack network segment set
[--description <description>]
[--name <name>]
<network-segment>
--description
<description>
¶Set network segment description
--name
<name>
¶Set network segment name
network-segment
¶Network segment to modify (name or ID)
This command is provided by the python-openstackclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.