openstack.network.v2.network_segment_range¶
The NetworkSegmentRange Class¶
The NetworkSegmentRange
class inherits from Resource
.
- class openstack.network.v2.network_segment_range.NetworkSegmentRange(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- name¶
The network segment range name.
- default¶
The network segment range is loaded from the host configuration file. Type: bool
The network segment range is shared with other projects. Type: bool
- project_id¶
The ID of the project associated with this network segment range.
- network_type¶
The type of network associated with this network segment range, such as
geneve
,gre
,vlan
orvxlan
.
- physical_network¶
The name of the physical network associated with this network segment range.
- minimum¶
The minimum segmentation ID for this network segment range. The network type defines the segmentation model, VLAN ID for
vlan
network type and tunnel ID forgeneve
,gre
andvxlan
network types. Type: int
- maximum¶
The maximum segmentation ID for this network segment range. The network type defines the segmentation model, VLAN ID for
vlan
network type and tunnel ID forgeneve
,gre
andvxlan
network types. Type: int
- used¶
Mapping of which segmentation ID in the range is used by which tenant. Type: dict
- available¶
List of available segmentation IDs in this network segment range. Type: list