10907011b7
Added request/response parameters for the rest_method:: GET /v2.0/subnets POST /v2.0/subnets (Create Subnet) POST /v2.0/subnets (Bulk Create Subnet) GET /v2.0/subnets/{subnet_id} (Show Subnet Details) PUT /v2.0/subnets/{subnet_id} (Update Subnet) DELETE /v2.0/subnets/{subnet_id} (Delete Subnet) Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: I7cfba70c6805161ee9e26135fe08f5075e94d755 Partially-Implements: blueprint neutron-in-tree-api-ref Partial-Bug: #1613151
31 lines
911 B
JSON
31 lines
911 B
JSON
{
|
|
"subnet": {
|
|
"name": "my_subnet",
|
|
"enable_dhcp": true,
|
|
"network_id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
|
|
"segment_id": null,
|
|
"project_id": "4fd44f30292945e481c7b8a0c8908869",
|
|
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
|
|
"created_at": "2016-03-08T20:19:41",
|
|
"dns_nameservers": [],
|
|
"allocation_pools": [
|
|
{
|
|
"start": "192.0.0.2",
|
|
"end": "192.255.255.254"
|
|
}
|
|
],
|
|
"host_routes": [],
|
|
"ip_version": 4,
|
|
"gateway_ip": "192.0.0.1",
|
|
"cidr": "192.0.0.0/8",
|
|
"updated_at": "2016-03-08T20:19:41",
|
|
"id": "54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
|
|
"description": "",
|
|
"ipv6_address_mode": null,
|
|
"ipv6_ra_mode": null,
|
|
"revision_number": 2,
|
|
"service_types": [],
|
|
"subnetpool_id": null
|
|
}
|
|
}
|