List networks
Lists networks to which the specified project has access.
URI
/v2.0/networks
HTTP method
GET
Response status
Status code | Description |
---|---|
200 | Normal response codes |
unauthorized (401) | Error response codes |
Response body (normal status)
{
"networks": [
{
"status": "ACTIVE",
"subnets": [
"54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
],
"name": "private-network",
"admin_state_up": true,
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"router:external": true,
"shared": true,
"id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
"availability_zone": "AZ1"
},
{
"status": "ACTIVE",
"subnets": [
"08eae331-0402-425a-923c-34f7cfe39c1b"
],
"name": "private",
"admin_state_up": true,
"tenant_id": "26a7980765d0414dbc1fc1f88cdb7e6e",
"router:external": true,
"shared": true,
"id": "db193ab3-96e3-4cb3-8fc5-05f4296d0324",
"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. |
router:external | Specifies whether the network is an external network or not. |
availability_zone | The Availability Zone name |