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: |
|
---|
admin_state_up
= None¶The administrative state of the network, which is up True
or
down False
. Type: bool
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
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.
router_external
= None¶Whether or not the router is external. Type: bool
router_type
= None¶Whether or not the router is ‘External’ or ‘Internal’.
Indicates whether this network is shared across all tenants. By default, only administrative users can change this value. Type: bool
status
= None¶The network status.
subnet_ids
= None¶The associated subnet IDs. Type: list of strs of the subnet IDs
mtu
= None¶Read-only. The maximum transmission unit (MTU) of the network resource.
is_port_security_enabled
= None¶The port security status, which is enabled True
or disabled
False
. Type: bool Default: False
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.