X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fmetal3%2Fscripts%2Fnodes.json.sample;h=ce2402acbee97896ad5dd9f4fe2e68e73babf115;hb=308b436e60c4f9477641a196fe5a53996fd9bc92;hp=3b26917ecc9cd199bd9c35c56fc217ac872410e5;hpb=359ec3af72e96dae6d31dfaaeff70bfda092be89;p=icn.git diff --git a/deploy/metal3/scripts/nodes.json.sample b/deploy/metal3/scripts/nodes.json.sample index 3b26917..ce2402a 100644 --- a/deploy/metal3/scripts/nodes.json.sample +++ b/deploy/metal3/scripts/nodes.json.sample @@ -1,29 +1,111 @@ { "nodes": [ { - "name": "edge01-node01", + "name": "pod11-node2", "ipmi_driver_info": { "username": "root", "password": "root", - "address": "10.10.110.11" + "address": "10.10.110.12" }, "os": { - "image_name": "bionic-server-cloudimg-amd64.img", + "image_name": "focal-server-cloudimg-amd64.img", "username": "ubuntu", "password": "mypasswd" + }, + "net": { + "links": [ + { + "id": "baremetal_nic", + "ethernet_mac_address": "00:1e:67:fe:f4:19", + "type": "phy" + }, + { + "id": "provisioning_nic", + "ethernet_mac_address": "00:1e:67:fe:f4:1a", + "type": "phy" + }, + { + "id": "sriov_nic", + "ethernet_mac_address": "00:1e:67:f8:6a:41", + "type": "phy" + } + ], + "networks": [ + { + "id": "baremetal", + "link": "baremetal_nic", + "type": "ipv4", + "ip_address": "10.10.110.22/24", + "gateway": "10.10.110.1", + "dns_nameservers": ["8.8.8.8"] + }, + { + "id": "provisioning", + "link": "provisioning_nic", + "type": "ipv4_dhcp" + }, + { + "id": "sriov", + "link": "sriov_nic", + "type": "ipv4", + "ip_address": "10.10.113.3/24" + } + ], + "services": [] } }, { - "name": "edge01-node02", + "name": "pod11-node3", "ipmi_driver_info": { "username": "root", "password": "root", - "address": "10.10.110.14" + "address": "10.10.110.13" }, "os": { - "image_name": "bionic-server-cloudimg-amd64.img", + "image_name": "focal-server-cloudimg-amd64.img", "username": "ubuntu", "password": "mypasswd" + }, + "net": { + "links": [ + { + "id": "baremetal_nic", + "ethernet_mac_address": "00:1e:67:f1:5b:90", + "type": "phy" + }, + { + "id": "provisioning_nic", + "ethernet_mac_address": "00:1e:67:f1:5b:91", + "type": "phy" + }, + { + "id": "sriov_nic", + "ethernet_mac_address": "00:1e:67:f8:69:81", + "type": "phy" + } + ], + "networks": [ + { + "id": "baremetal", + "link": "baremetal_nic", + "type": "ipv4", + "ip_address": "10.10.110.203/24", + "gateway": "10.10.110.1", + "dns_nameservers": ["8.8.8.8"] + }, + { + "id": "provisioning", + "link": "provisioning_nic", + "type": "ipv4_dhcp" + }, + { + "id": "sriov", + "link": "sriov_nic", + "type": "ipv4", + "ip_address": "10.10.113.4/24" + } + ], + "services": [] } } ]