Files
neutron-lib/api-ref/source/v2/samples/subnets/subnet-update-response.json
Jens Harbott 56e0979fdd Add 'dns_publish_fixed_ip' attribute to Subnet
Add a new attribute ``dns_publish_fixed_ip`` into ``subnet``
resource. This attribute will be used to indicate whether to publish DNS
records for fixed IPs from this subnet.

Neutron patch: https://review.opendev.org/662409

Thanks go to [0] which I took as a reference to create this patch.

[0] I1371fc0b47c0015423e4346ffd43d39c8264b1a3

Change-Id: I08ef19fcc06559c92ae3f8e6e66c5fd896815232
Partial-Bug: 1784879
2019-06-14 09:26:27 +00:00

30 lines
878 B
JSON

{
"subnet": {
"name": "my_subnet",
"enable_dhcp": true,
"network_id": "db193ab3-96e3-4cb3-8fc5-05f4296d0324",
"revision_number": 1,
"segment_id": null,
"project_id": "26a7980765d0414dbc1fc1f88cdb7e6e",
"tenant_id": "26a7980765d0414dbc1fc1f88cdb7e6e",
"created_at": "2016-03-08T20:19:41",
"dns_nameservers": [],
"dns_publish_fixed_ip": false,
"service_types": [],
"allocation_pools": [
{
"start": "10.0.0.2",
"end": "10.0.0.254"
}
],
"host_routes": [],
"ip_version": 4,
"gateway_ip": "10.0.0.1",
"cidr": "10.0.0.0/24",
"updated_at": "2016-03-08T20:19:41",
"id": "08eae331-0402-425a-923c-34f7cfe39c1b",
"description": "",
"tags": ["tag1,tag2"]
}
}