Merge "[Api-Ref][Docs] Change dns_assignment parameter to be list"

This commit is contained in:
Zuul 2020-01-29 23:18:28 +00:00 committed by Gerrit Code Review
commit 52f8e49297
9 changed files with 71 additions and 51 deletions

View File

@ -25,11 +25,13 @@
"description": "", "description": "",
"device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2", "device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2",
"device_owner": "baremetal:none", "device_owner": "baremetal:none",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport", "hostname": "myport",
"ip_address": "10.0.0.2", "ip_address": "10.0.0.2",
"fqdn": "myport.my-domain.org" "fqdn": "myport.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport", "dns_name": "myport",
"extra_dhcp_opts": [ "extra_dhcp_opts": [

View File

@ -15,11 +15,13 @@
"description": "", "description": "",
"device_id": "5e3898d7-11be-483e-9732-b2f5eccd2b2e", "device_id": "5e3898d7-11be-483e-9732-b2f5eccd2b2e",
"device_owner": "network:router_interface", "device_owner": "network:router_interface",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport", "hostname": "myport",
"ip_address": "10.0.0.1", "ip_address": "10.0.0.1",
"fqdn": "myport.my-domain.org" "fqdn": "myport.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport", "dns_name": "myport",
"extra_dhcp_opts": [ "extra_dhcp_opts": [

View File

@ -12,11 +12,13 @@
"description": "", "description": "",
"device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2", "device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2",
"device_owner": "compute:nova", "device_owner": "compute:nova",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport", "hostname": "myport",
"ip_address": "20.20.0.4", "ip_address": "20.20.0.4",
"fqdn": "myport.my-domain.org" "fqdn": "myport.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport", "dns_name": "myport",
"extra_dhcp_opts": [ "extra_dhcp_opts": [

View File

@ -12,11 +12,13 @@
"description": "", "description": "",
"device_id": "", "device_id": "",
"device_owner": "", "device_owner": "",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport", "hostname": "myport",
"ip_address": "10.0.0.2", "ip_address": "10.0.0.2",
"fqdn": "myport.my-domain.org" "fqdn": "myport.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport", "dns_name": "myport",
"extra_dhcp_opts": [ "extra_dhcp_opts": [

View File

@ -7,11 +7,13 @@
"description": "", "description": "",
"device_id": "5e3898d7-11be-483e-9732-b2f5eccd2b2e", "device_id": "5e3898d7-11be-483e-9732-b2f5eccd2b2e",
"device_owner": "network:router_interface", "device_owner": "network:router_interface",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport", "hostname": "myport",
"ip_address": "10.0.0.1", "ip_address": "10.0.0.1",
"fqdn": "myport.my-domain.org" "fqdn": "myport.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport", "dns_name": "myport",
"extra_dhcp_opts": [ "extra_dhcp_opts": [

View File

@ -12,11 +12,13 @@
"description": "", "description": "",
"device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2", "device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2",
"device_owner": "compute:nova", "device_owner": "compute:nova",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport", "hostname": "myport",
"ip_address": "20.20.0.4", "ip_address": "20.20.0.4",
"fqdn": "myport.my-domain.org" "fqdn": "myport.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport", "dns_name": "myport",
"extra_dhcp_opts": [ "extra_dhcp_opts": [

View File

@ -16,11 +16,13 @@
"description": "", "description": "",
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824", "device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
"device_owner": "network:router_gateway", "device_owner": "network:router_gateway",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport", "hostname": "myport",
"ip_address": "172.24.4.2", "ip_address": "172.24.4.2",
"fqdn": "myport.my-domain.org" "fqdn": "myport.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport", "dns_name": "myport",
"extra_dhcp_opts": [], "extra_dhcp_opts": [],
@ -68,11 +70,13 @@
"description": "", "description": "",
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824", "device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
"device_owner": "network:router_interface", "device_owner": "network:router_interface",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport2", "hostname": "myport2",
"ip_address": "10.0.0.1", "ip_address": "10.0.0.1",
"fqdn": "myport2.my-domain.org" "fqdn": "myport2.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport2", "dns_name": "myport2",
"extra_dhcp_opts": [], "extra_dhcp_opts": [],

View File

@ -50,7 +50,7 @@
"description": "", "description": "",
"device_id": "", "device_id": "",
"device_owner": "", "device_owner": "",
"dns_assignment": {}, "dns_assignment": [],
"dns_domain": "", "dns_domain": "",
"dns_name": "", "dns_name": "",
"extra_dhcp_opts": [ "extra_dhcp_opts": [

View File

@ -8,11 +8,13 @@
"description": "", "description": "",
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824", "device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
"device_owner": "network:router_gateway", "device_owner": "network:router_gateway",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport", "hostname": "myport",
"ip_address": "172.24.4.2", "ip_address": "172.24.4.2",
"fqdn": "myport.my-domain.org" "fqdn": "myport.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport", "dns_name": "myport",
"extra_dhcp_opts": [ "extra_dhcp_opts": [
@ -53,11 +55,13 @@
"description": "", "description": "",
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824", "device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
"device_owner": "network:router_interface", "device_owner": "network:router_interface",
"dns_assignment": { "dns_assignment": [
{
"hostname": "myport2", "hostname": "myport2",
"ip_address": "10.0.0.1", "ip_address": "10.0.0.1",
"fqdn": "myport2.my-domain.org" "fqdn": "myport2.my-domain.org"
}, }
],
"dns_domain": "my-domain.org.", "dns_domain": "my-domain.org.",
"dns_name": "myport2", "dns_name": "myport2",
"extra_dhcp_opts": [ "extra_dhcp_opts": [