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