The Network
class inherits from Resource
.
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
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.
Availability zone hints to use when scheduling the network. Type: list of availability zone names
Availability zones for the network. Type: list of availability zone names
Timestamp when the network was created.
The network description.
The DNS domain associated.
The ID of the IPv4 address scope for the network.
The ID of the IPv6 address scope for the network.
The administrative state of the network, which is up True
or
down False
. Type: bool
Whether or not this is the default external network. Type: bool
The port security status, which is enabled True
or disabled
False
. Type: bool Default: False
Available for multiple provider extensions.
Whether or not the router is external. Type: bool Default: False
Indicates whether this network is shared across all tenants. By default, only administrative users can change this value. Type: bool
Read-only. The maximum transmission unit (MTU) of the network resource.
The network name.
The ID of the project this network is associated with.
The type of physical network that maps to this network resource.
For example, flat
, vlan
, vxlan
, or gre
.
Available for multiple provider extensions.
The physical network where this network object is implemented. Available for multiple provider extensions.
An isolated segment ID on the physical network. The provider network type defines the segmentation model. Available for multiple provider extensions.
The ID of the QoS policy attached to the port.
A list of provider segment objects. Available for multiple provider extensions.
The network status.
The associated subnet IDs. Type: list of strs of the subnet IDs
Timestamp when the network was last updated.
Indicates the VLAN transparency mode of the network
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.