osc network segment create
Creates a segment.
Normal response codes: 201
Error response codes: 400, 401
Usage: osc network segment create [OPTIONS]
Options:
--description <DESCRIPTION>— A human-readable description for the resource. Default is an empty string--name <NAME>— Human-readable name of the segment--no-name— Set explicit NULL for the name--network-id <NETWORK_ID>— The ID of the attached network--network-type <NETWORK_TYPE>— The type of physical network that maps to this network resource. For example,flat,vlan,vxlan, orgre--physical-network <PHYSICAL_NETWORK>— The physical network where this network/segment is implemented--segmentation-id <SEGMENTATION_ID>— The ID of the isolated segment on the physical network. Thenetwork_typeattribute defines the segmentation model. For example, if thenetwork_typevalue is vlan, this ID is a vlan identifier. If thenetwork_typevalue is gre, this ID is a gre key.Notethat only the segmentation-id of VLAN type networks can be changed!--tenant-id <TENANT_ID>