The Subnet
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.
Singular form of key for resource.
Plural form of key for resource.
The base part of the URI for this resource.
Allow create operation for this resource.
Allow get operation for this resource.
Allow update operation for this resource.
Allow delete operation for this resource.
Allow list operation for this resource.
List of allocation pools each of which has a start and an end address for this subnet
The CIDR.
Timestamp when the subnet was created.
The subnet description.
A list of DNS nameservers.
Whether to publish DNS records for fixed IPs
The gateway IP address.
A list of host routes.
The IP version, which is 4 or 6. Type: int
The IPv6 address modes which are ‘dhcpv6-stateful’, ‘dhcpv6-stateless’ or ‘slaac’.
The IPv6 router advertisements modes which can be ‘slaac’, ‘dhcpv6-stateful’, ‘dhcpv6-stateless’.
Set to True
if DHCP is enabled and False
if DHCP is disabled.
Type: bool
The subnet name.
The ID of the attached network.
The prefix length to use for subnet allocation from a subnet pool
The ID of the project this subnet is associated with.
Tenant_id (deprecated attribute).
The ID of the segment this subnet is associated with.
Service types for this subnet
The subnet pool ID from which to obtain a CIDR.
Timestamp when the subnet was last updated.
Whether to use the default subnet pool to obtain a CIDR.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.