The Network
class inherits from Resource
.
openstack.network.v2.network.
Network
(attrs=None, loaded=False)¶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: |
---|
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.
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
down False
. 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 disabled
False
. Type: bool Default: False
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
, or gre
.
provider_physical_network
= None¶The physical network where this network object is implemented.
provider_segmentation_id
= None¶An isolated segment ID on the physical network. The provider network type defines the segmentation model.
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.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.