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--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_type
attribute defines the segmentation model. For example, if thenetwork_type
value is vlan, this ID is a vlan identifier. If thenetwork_type
value is gre, this ID is a gre key.Note
that only the segmentation-id of VLAN type networks can be changed!--tenant-id <TENANT_ID>