
This change addresses a long-standing issue in rST documentation imported from XML. That import process added backslash escapes in front of various characters. The three most common being '(', ')', and '_'. These instances are removed. Signed-off-by: Ron Stone <ronald.stone@windriver.com> Change-Id: Id43a9337ffcd505ccbdf072d7b29afdb5d2c997e
2.4 KiB
Add Segmentation Ranges Using the CLI
You can use the CLI to add segmentation ranges to data networks.
Use the
openstack network segment range
command to create VLAN/VXLAN segmentation ranges.This example creates segmentation ranges on data network data-net-a.
~(keystone_admin)]$ openstack network segment range create segment-a-common \ --description "Shared segmentation range" --physical-network data-net-a \ --network-type vlan \ --minimum 10 \ --maximum 10 \ ~(keystone_admin)]$ openstack network segment range create segment-a-project1 \ --private \ --project ${project1_UUID} \ --physical-network data-net-a \ --network-type vlan \ --minimum 623 --maximum 623 ~(keystone_admin)]$ openstack network segment range create segment-a-project2 \ --private \ --project ${project2_UUID} \ --physical-network data-net-b \ --network-type vlan \ --minimum 664 \ --maximum 680
where
- <name>
-
name of the segment is a positional argument and can be supplied at the beginning or the end of the
openstack network segment range create
command.This is not a named option.
- description
-
is a description of the segmentation range.
- private
-
is an flag to denote this is a segmentation range for a single project.
- project
-
is the name or UUID of the project associated with the range.
- physical-network
-
is the data network associated with the range.
- network type
-
is the network type (VLAN/VXLAN) of the range.
- minimum
-
is the minimum value of the segmentation range.
- maximum
-
is the maximum value of the segmentation range.
You can also obtain information about segmentation ranges using the following command:
~(keystone_admin)]$ openstack network segment range show <range_name_or_uuid>