Get Network Details
GET/backend/api/openstack/networks/:network_id
Host: https://core.ocplanet.cloud
Retrieve detailed information about a specific network in OpenStack identified by its unique ID.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
id stringrequired
extra objectrequired
availability_zones arrayrequired
subnets object[]required
id stringrequired
name stringrequired
cidr stringrequired
ip_version integerrequired
gateway_ip stringrequired
project_id stringrequired
enable_dhcp booleanrequired
extra stringrequired
allocation_pools stringrequired
has_edit_permission booleanrequired
has_delete_permission booleanrequired
allowed_actions string[]required
name stringrequired
description stringrequired
shared booleanrequired
router_external booleanrequired
is_default booleanrequired
status stringrequired
admin_state_up booleanrequired
created_at stringrequired
updated_at stringrequired
region stringrequired
project stringrequired
{
"id": "string",
"extra": {
"availability_zones": [
null
]
},
"subnets": [
{
"id": "string",
"name": "string",
"cidr": "string",
"ip_version": 0,
"gateway_ip": "string",
"project_id": "string",
"enable_dhcp": true,
"extra": "string",
"allocation_pools": "string",
"has_edit_permission": true,
"has_delete_permission": true
}
],
"allowed_actions": [
"string"
],
"name": "string",
"description": "string",
"shared": true,
"router_external": true,
"is_default": true,
"status": "string",
"admin_state_up": true,
"created_at": "string",
"updated_at": "string",
"region": "string",
"project": "string"
}
{
"id": "5820370d-c55b-40d4-a172-089e457fb611",
"extra": {
"provider:physical_network": null,
"provider:network_type": "vxlan",
"provider:segmentation_id": 369,
"availability_zones": [
"nova"
]
},
"subnets": [
{
"id": "96ba4fff-f76c-4498-83cb-b4f4502c3cad",
"name": "subnet21175",
"cidr": "10.0.1.0/24",
"ip_version": 4,
"gateway_ip": "10.0.1.1",
"project_id": "50caa053ebc847c39b9c3149c746f0fa",
"enable_dhcp": true,
"extra": "{'ipv6_address_mode': None, 'ipv6_ra_mode': None, 'host_routes': [], 'dns_nameservers': []}",
"allocation_pools": "[{'start': '10.0.1.2', 'end': '10.0.1.254'}]",
"has_edit_permission": true,
"has_delete_permission": true
}
],
"allowed_actions": [
"update",
"delete",
"add_subnet",
"add_router"
],
"name": "network95065",
"description": "",
"shared": false,
"router_external": false,
"is_default": false,
"status": "ACTIVE",
"admin_state_up": true,
"created_at": "2024-03-15T12:51:49Z",
"updated_at": "2024-03-15T12:51:50Z",
"region": "ua-central-1",
"project": "50caa053ebc847c39b9c3149c746f0fa"
}
Loading...