Files
neutron-lib/api-ref/source/v2/samples/subnets/subnet-create-response.json
Boden R 41212a5311 complete api ref for std attr revisions
This patch completes the api ref for standard attribute based revision
numbers by:
- Updating applicable resource JSON responses to include
revision_number.
- Documents the revision_number response param where missing.
- Adds a section in the intro about revisions as well as conditional
HTTP based operations using If-Match header.
- Standardizes the revision_number response param; doesn't seem
necessary for each resource to have it's own.

Change-Id: Ib9a19126c35f89bc9c2ad891a7339702a406e2d5
Partial-Bug: #1703234
2017-08-30 16:06:23 -06:00

31 lines
917 B
JSON

{
"subnet": {
"name": "",
"enable_dhcp": true,
"network_id": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
"segment_id": null,
"project_id": "4fd44f30292945e481c7b8a0c8908869",
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"dns_nameservers": [],
"allocation_pools": [
{
"start": "192.168.199.2",
"end": "192.168.199.254"
}
],
"host_routes": [],
"ip_version": 4,
"gateway_ip": "192.168.199.1",
"cidr": "192.168.199.0/24",
"id": "3b80198d-4f7b-4f77-9ef5-774d54e17126",
"created_at": "2016-10-10T14:35:47Z",
"description": "",
"ipv6_address_mode": null,
"ipv6_ra_mode": null,
"revision_number": 1,
"service_types": [],
"subnetpool_id": null,
"updated_at": "2016-10-10T14:35:47Z"
}
}