The Segment class inherits from Resource.
openstack.network.v2.segment.Segment(attrs=None, loaded=False)¶Caution
This API is a work in progress and is subject to change.
Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new() and
Resource.existing().
| Parameters: |
|
|---|
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 or vxlan.
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 for geneve, gre and vxlan network types.
Type: int
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.