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