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, or gre
  • --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. The network_type attribute defines the segmentation model. For example, if the network_type value is vlan, this ID is a vlan identifier. If the network_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>