Add explicit network configuration to nodes.json
[icn.git] / deploy / metal3 / scripts / nodes.json.sample
1 {
2   "nodes": [
3     {
4       "name": "pod11-node2",
5       "ipmi_driver_info": {
6         "username": "root",
7         "password": "root",
8         "address": "10.10.110.12"
9       },
10       "os": {
11         "image_name": "bionic-server-cloudimg-amd64.img",
12         "username": "ubuntu",
13         "password": "mypasswd"
14       },
15       "net": {
16         "links": [
17           {
18             "id": "baremetal_nic",
19             "ethernet_mac_address": "00:1e:67:fe:f4:19",
20             "type": "phy"
21           },
22           {
23             "id": "bootstrap_nic",
24             "ethernet_mac_address": "00:1e:67:f8:6a:40",
25             "type": "phy"
26           },
27           {
28             "id": "provisioning_nic",
29             "ethernet_mac_address": "00:1e:67:fe:f4:1a",
30             "type": "phy"
31           }
32         ],
33         "networks": [
34           {
35             "id": "baremetal",
36             "link": "baremetal_nic",
37             "type": "ipv4",
38             "ip_address": "10.10.110.22/24",
39             "gateway": "10.10.110.1",
40             "dns_nameservers": ["8.8.8.8"]
41           },
42           {
43             "id": "provisioning",
44             "link": "provisioning_nic",
45             "type": "ipv4_dhcp"
46           },
47           {
48             "id": "bootstrap",
49             "link": "bootstrap_nic",
50             "type": "ipv4_dhcp"
51           }
52         ],
53         "services": []
54       }
55     },
56      {
57       "name": "pod11-node3",
58       "ipmi_driver_info": {
59         "username": "root",
60         "password": "root",
61         "address": "10.10.110.13"
62       },
63       "os": {
64         "image_name": "bionic-server-cloudimg-amd64.img",
65         "username": "ubuntu",
66         "password": "mypasswd"
67       },
68       "net": {
69         "links": [
70           {
71             "id": "baremetal_nic",
72             "ethernet_mac_address": "00:1e:67:f1:5b:90",
73             "type": "phy"
74           },
75           {
76             "id": "bootstrap_nic",
77             "ethernet_mac_address": "00:1e:67:f8:69:80",
78             "type": "phy"
79           },
80           {
81             "id": "provisioning_nic",
82             "ethernet_mac_address": "00:1e:67:f1:5b:91",
83             "type": "phy"
84           }
85         ],
86         "networks": [
87           {
88             "id": "baremetal",
89             "link": "baremetal_nic",
90             "type": "ipv4",
91             "ip_address": "10.10.110.203/24",
92             "gateway": "10.10.110.1",
93             "dns_nameservers": ["8.8.8.8"]
94           },
95           {
96             "id": "provisioning",
97             "link": "provisioning_nic",
98             "type": "ipv4_dhcp"
99           },
100           {
101             "id": "bootstrap",
102             "link": "bootstrap_nic",
103             "type": "ipv4_dhcp"
104           }
105         ],
106         "services": []
107       }
108     }
109   ]
110 }