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