verify masters and workers are yaml lists
[yaml_builds.git] / dellgen10.yaml
1 ---
2 ##############################################################################
3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.        #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may    #
6 # not use this file except in compliance with the License.                   #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
11 # Unless required by applicable law or agreed to in writing, software        #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
14 # See the License for the specific language governing permissions and        #
15 # limitations under the License.                                             #
16 ##############################################################################
17
18 site_name: dellgen10
19 ipmi_admin:
20   username: root
21   password: calvin
22 networks:
23   bonded: yes
24   primary: bond0
25   slaves:
26     - name: enp94s0f0
27     - name: enp94s0f1
28   oob:
29     vlan: 40
30     interface:
31     cidr: 192.168.41.0/24
32     routes:
33       gateway: 192.168.41.1
34     ranges:
35       reserved:
36         start: 192.168.41.2
37         end: 192.168.41.12
38       static:
39         start: 192.168.41.13
40         end: 192.168.41.254
41   host:
42     vlan: 41
43     interface: bond0.41
44     cidr: 192.168.2.0/24
45     subnet: 192.168.2.0
46     netmask: 255.255.255.0
47     routes:
48        gateway: 192.168.2.200
49     ranges:
50       reserved:
51         start: 192.168.2.84
52         end: 192.168.2.86
53       static:
54         start: 192.168.2.40
55         end: 192.168.2.45
56     dns:
57       domain: lab.akraino.org
58       servers: '192.168.2.85 8.8.8.8 8.8.4.4'
59   storage:
60     vlan: 42
61     interface: bond0.42
62     cidr: 172.31.2.0/24
63     ranges:
64       reserved:
65         start: 172.31.2.1
66         end: 172.31.2.10
67       static:
68         start: 172.31.2.11
69         end: 172.31.2.254
70   pxe:
71     vlan: 43
72     interface: eno3
73     cidr: 172.30.2.0/24
74     gateway: 172.30.2.1
75     routes:
76       gateway: 172.30.2.40
77     ranges:
78       reserved:
79         start: 172.30.2.2
80         end:  172.30.2.10
81       static:
82         start: 172.30.2.11
83         end: 172.30.2.200
84       dhcp:
85         start: 172.30.2.201
86         end: 172.30.2.254
87     dns:
88       domain: lab.akraino.org
89       servers: '192.168.2.85 8.8.8.8 8.8.4.4'
90     inf: net4
91   ksn:
92     vlan: 44
93     interface: bond0.44
94     cidr: 172.29.1.0/24
95     local_asnumber: 65531
96     ranges:
97       static:
98         start: 172.29.1.5
99         end: 172.29.1.254
100     additional_cidrs:
101       -  172.29.1.128/29
102     ingress_cidr: 172.29.1.129/32
103     peers:
104     - ip: 172.29.1.1
105       scope: global
106       asnumber: 65001
107     vrrp_ip: 172.29.1.1 # keep peers ip address in case of only peer.
108   neutron:
109     vlan: 45
110     interface: bond0.45
111     cidr: 10.0.102.0/24
112     ranges:
113       reserved:
114         start: 10.0.102.1
115         end: 10.0.102.10
116       static:
117         start: 10.0.102.11
118         end: 10.0.102.254
119 dns:
120   upstream_servers:
121     - 192.168.2.85
122     - 8.8.8.8
123     - 8.8.8.8
124   upstream_servers_joined: '192.168.2.85,8.8.8.8'
125   ingress_domain: dellgen10.akraino.org
126 sriovnets:
127 - physical: sriovnet1
128   interface: enp135s0f0
129   vlan_start: 2001
130   vlan_end: 3000
131   whitelists:
132   - "address": "0000:87:02.0"
133   - "address": "0000:87:02.1"
134   - "address": "0000:87:03.2"
135   - "address": "0000:87:03.3"
136   - "address": "0000:87:03.4"
137   - "address": "0000:87:03.5"
138   - "address": "0000:87:03.6"
139   - "address": "0000:87:03.7"
140   - "address": "0000:87:04.0"
141   - "address": "0000:87:04.1"
142   - "address": "0000:87:04.2"
143   - "address": "0000:87:04.3"
144   - "address": "0000:87:02.2"
145   - "address": "0000:87:04.4"
146   - "address": "0000:87:04.5"
147   - "address": "0000:87:04.6"
148   - "address": "0000:87:04.7"
149   - "address": "0000:87:05.0"
150   - "address": "0000:87:05.1"
151   - "address": "0000:87:05.2"
152   - "address": "0000:87:05.3"
153   - "address": "0000:87:05.4"
154   - "address": "0000:87:05.5"
155   - "address": "0000:87:02.3"
156   - "address": "0000:87:05.6"
157   - "address": "0000:87:05.7"
158   - "address": "0000:87:02.4"
159   - "address": "0000:87:02.5"
160   - "address": "0000:87:02.6"
161   - "address": "0000:87:02.7"
162   - "address": "0000:87:03.0"
163   - "address": "0000:87:03.1"
164 - physical: sriovnet2
165   interface: enp135s0f1
166   vlan_start: 2001
167   vlan_end: 3000
168   whitelists:
169   - "address": "0000:87:0a.0"
170   - "address": "0000:87:0a.1"
171   - "address": "0000:87:0b.2"
172   - "address": "0000:87:0b.3"
173   - "address": "0000:87:0b.4"
174   - "address": "0000:87:0b.5"
175   - "address": "0000:87:0b.6"
176   - "address": "0000:87:0b.7"
177   - "address": "0000:87:0c.0"
178   - "address": "0000:87:0c.1"
179   - "address": "0000:87:0c.2"
180   - "address": "0000:87:0c.3"
181   - "address": "0000:87:0a.2"
182   - "address": "0000:87:0c.4"
183   - "address": "0000:87:0c.5"
184   - "address": "0000:87:0c.6"
185   - "address": "0000:87:0c.7"
186   - "address": "0000:87:0d.0"
187   - "address": "0000:87:0d.1"
188   - "address": "0000:87:0d.2"
189   - "address": "0000:87:0d.3"
190   - "address": "0000:87:0d.4"
191   - "address": "0000:87:0d.5"
192   - "address": "0000:87:0a.3"
193   - "address": "0000:87:0d.6"
194   - "address": "0000:87:0d.7"
195   - "address": "0000:87:0a.4"
196   - "address": "0000:87:0a.5"
197   - "address": "0000:87:0a.6"
198   - "address": "0000:87:0a.7"
199   - "address": "0000:87:0b.0"
200   - "address": "0000:87:0b.1"
201 storage:
202   osds:
203     - data: /dev/sda
204       journal: /var/lib/ceph/journal/journal-sda
205     - data: /dev/sdb
206       journal: /var/lib/ceph/journal/journal-sdb
207     - data: /dev/sdc
208       journal: /var/lib/ceph/journal/journal-sdc
209     - data: /dev/sdd
210       journal: /var/lib/ceph/journal/journal-sdd
211     - data: /dev/sde
212       journal: /var/lib/ceph/journal/journal-sde
213     - data: /dev/sdf
214       journal: /var/lib/ceph/journal/journal-sdf
215   osd_count: 6
216   total_osd_count: 18
217 genesis:
218   name: aknode40
219   oob: 192.168.41.40
220   host: 192.168.2.40
221   storage: 172.31.2.40
222   pxe: 172.30.2.40
223   ksn: 172.29.1.40
224   neutron: 10.0.102.40
225   root_password: akraino,d
226   oem: Dell
227   bios_template: dell_r740_g14_uefi_base.xml.template
228   boot_template: dell_r740_g14_uefi_httpboot.xml.template
229   http_boot_device: NIC.Slot.2-1-1
230 masters:
231   - name : aknode41
232     oob: 192.168.41.41
233     host: 192.168.2.41
234     storage: 172.31.2.41
235     pxe: 172.30.2.41
236     ksn: 172.29.1.41
237     neutron: 10.0.102.41
238     oob_user: root
239     oob_password: calvin
240   - name : aknode42
241     oob: 192.168.41.42
242     host: 192.168.2.42
243     storage: 172.31.2.42
244     pxe: 172.30.2.42
245     ksn: 172.29.1.42
246     neutron: 10.0.102.42
247     oob_user: root
248     oob_password: calvin
249 #workers:
250 #  - name : aknode43
251 #    oob: 192.168.41.43
252 #    host: 192.168.2.43
253 #    storage: 172.31.2.43
254 #    pxe: 172.30.2.43
255 #    ksn: 172.29.1.43
256 #    neutron: 10.0.102.43
257 #  - name : aknode44
258 #    oob: 192.168.41.44
259 #    host: 192.168.2.44
260 #    storage: 172.31.2.44
261 #    pxe: 172.30.2.44
262 #    ksn: 172.29.1.44
263 #    neutron: 10.0.102.44
264 hardware:
265   vendor: DELL
266   generation: '10'
267   hw_version: '3'
268   bios_version: '2.8'
269 disks:
270   - name : sdg
271     labels:
272       bootdrive: 'true'
273     partitions:
274       - name: root
275         size: 20g
276         mountpoint: /
277       - name: boot
278         size: 1g
279         mountpoint: /boot
280       - name: var
281         size: 100g
282         mountpoint: /var
283   - name : sdh
284     partitions:
285       - name: ceph
286         size: 300g
287         mountpoint: /var/lib/ceph/journal
288 disks_compute:
289   - name : sdg
290     labels:
291       bootdrive: 'true'
292     partitions:
293       - name: root
294         size: 20g
295         mountpoint: /
296       - name: boot
297         size: 1g
298         mountpoint: /boot
299       - name: var
300         size: '>300g'
301         mountpoint: /var
302   - name : sdh
303     partitions:
304       - name: nova
305         size: '99%'
306         mountpoint: /var/lib/nova
307 genesis_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/n4mNLAj3XKG2fcm+8eVe0NUlNH0g8DA8KJ53rSLKccm8gm4UgLmGOJyBfUloQZMuOpU6a+hexN4ECCliqI7+KUmgJgsvLkJ3OUMNTEVu9tDX5mdXeffsufaqFkAdmbJ/9PMPiPQ3/UqbbtyEcqoZAwUWf4ggAWSp00SGE1Okg+skPSbDzPVHb4810eXZT1yoIg29HAenJNNrsVxvnMT2kw2OYmLfxgEUh1Ev4c5LnUog4GXBDHQtHAwaIoTu9s/q8VIvGav62RJVFn3U1D0jkiwDLSIFn8ezORQ4YkSidwdSrtqsqa2TJ0E5w/n5h5IVGO9neY8YlXrgynLd4Y+7 root@pocnjrsv132"
308 kubernetes:
309   api_service_ip: 10.96.0.1
310   etcd_service_ip: 10.96.0.2
311   pod_cidr: 10.98.0.0/16
312   service_cidr: 10.96.0.0/15
313 regional_server:
314   ip: 135.16.101.85
315 ...