openstack.network.v2.network¶
The Network Class¶
The Network
class inherits from Resource
.
-
class
openstack.network.v2.network.
Network
(_synchronized=False, **attrs)¶ The base resource
Parameters: _synchronized (bool) – This is not intended to be used directly. See new()
andexisting()
.-
availability_zone_hints
= None¶ Availability zone hints to use when scheduling the network. Type: list of availability zone names
-
availability_zones
= None¶ Availability zones for the network. Type: list of availability zone names
-
created_at
= None¶ Timestamp when the network was created.
-
description
= None¶ The network description.
-
dns_domain
= None¶ The DNS domain associated.
-
ipv4_address_scope_id
= None¶ The ID of the IPv4 address scope for the network.
-
ipv6_address_scope_id
= None¶ The ID of the IPv6 address scope for the network.
-
is_admin_state_up
= None¶ The administrative state of the network, which is up
True
or downFalse
. Type: bool
-
is_default
= None¶ Whether or not this is the default external network. Type: bool
-
is_port_security_enabled
= None¶ The port security status, which is enabled
True
or disabledFalse
. Type: bool Default: False Available for multiple provider extensions.
-
is_router_external
= None¶ 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
-
mtu
= None¶ Read-only. The maximum transmission unit (MTU) of the network resource.
-
name
= None¶ The network name.
-
project_id
= None¶ The ID of the project this network is associated with.
-
provider_network_type
= None¶ The type of physical network that maps to this network resource. For example,
flat
,vlan
,vxlan
, orgre
. Available for multiple provider extensions.
-
provider_physical_network
= None¶ The physical network where this network object is implemented. Available for multiple provider extensions.
-
provider_segmentation_id
= None¶ An isolated segment ID on the physical network. The provider network type defines the segmentation model. Available for multiple provider extensions.
-
qos_policy_id
= None¶ The ID of the QoS policy attached to the port.
-
revision_number
= None¶ Revision number of the network. Type: int
-
segments
= None¶ A list of provider segment objects. Available for multiple provider extensions.
-
status
= None¶ The network status.
-
subnet_ids
= None¶ The associated subnet IDs. Type: list of strs of the subnet IDs
-
updated_at
= None¶ Timestamp when the network was last updated.
-
is_vlan_transparent
= None¶ Indicates the VLAN transparency mode of the network
A list of assocaited tags Type: list of tag strings
-