openstack.network.v2.segment¶
The Segment Class¶
The Segment
class inherits from Resource
.
-
class
openstack.network.v2.segment.
Segment
(_synchronized=False, **attrs)¶ The base resource
Parameters: _synchronized (bool) – This is not intended to be used directly. See new()
andexisting()
.-
description
= None¶ The segment description.
-
name
= None¶ The segment name.
-
network_id
= None¶ The ID of the network associated with this segment.
-
network_type
= None¶ The type of network associated with this segment, such as
flat
,geneve
,gre
,local
,vlan
orvxlan
.
-
physical_network
= None¶ The name of the physical network associated with this segment.
-
segmentation_id
= None¶ The segmentation ID for this segment. The network type defines the segmentation model, VLAN ID for
vlan
network type and tunnel ID forgeneve
,gre
andvxlan
network types. Type: int
-