Show network
Shows information for a specified network.
URI
/v2.0/networks/{network_id}
Description of the URI:
{network_id} UUID The UUID for the network of interest to you.
HTTP method
GET
Response status
Status code | Description |
---|---|
200 | Normal response codes |
unauthorized (401) | Error response codes |
itemNotFound (404) | Error response codes |
Response body (normal status)
{
"network": {
"status": "ACTIVE",
"subnets": [
"54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
],
"name": "private-network",
"admin_state_up": true,
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"router:external": true,
"mtu": 0,
"shared": true,
"id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
"availability_zone": "AZ1"
}
}
Description of response body (normal status)
Item | Description |
---|---|
admin_state_up | The administrative state of the network, which is up (true) or down (false). |
id | The network ID. |
name | The network name. |
shared | Indicates whether this network is shared across all projects. |
status | The network status. |
subnets | The associated subnets. |
tenant_id | The project ID. |
availability_zone | The Availability Zone name |
router:external | Specifies whether the network is an external network or not. |
mtu | The MTU of a network resource. This value is 0. |