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._connectionin Resource code should protect itself with a check for None.
- resource_key = 'network_segment_range'¶
Singular form of key for resource.
- resources_key = 'network_segment_ranges'¶
Plural form of key for resource.
- base_path = '/network_segment_ranges'¶
The base part of the URI for this resource.
- allow_create = True¶
Allow create operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- allow_commit = True¶
Allow update operation for this resource.
- allow_delete = True¶
Allow delete operation for this resource.
- allow_list = True¶
Allow list operation for this resource.
- 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,vlanorvxlan.
- 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
vlannetwork type and tunnel ID forgeneve,greandvxlannetwork types. Type: int
- maximum¶
The maximum segmentation ID for this network segment range. The network type defines the segmentation model, VLAN ID for
vlannetwork type and tunnel ID forgeneve,greandvxlannetwork 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