update sr-iov templates to openstack rocky
[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     inf: net4
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   server_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   oem: Dell
221 #  bios_template: dell_r740_g14_uefi_base.xml.template
222 #  boot_template: dell_r740_g14_uefi_httpboot.xml.template
223 #  http_boot_device: NIC.Slot.2-1-1
224 masters:
225   - name : aknode41
226     oob: 192.168.41.41
227     host: 192.168.2.41
228     storage: 172.31.2.41
229     pxe: 172.30.2.41
230     ksn: 172.29.1.41
231     neutron: 10.0.102.41
232     oob_user: root
233     oob_password: calvin
234   - name : aknode42
235     oob: 192.168.41.42
236     host: 192.168.2.42
237     storage: 172.31.2.42
238     pxe: 172.30.2.42
239     ksn: 172.29.1.42
240     neutron: 10.0.102.42
241     oob_user: root
242     oob_password: calvin
243 #workers:
244 #  - name : aknode43
245 #    oob: 192.168.41.43
246 #    host: 192.168.2.43
247 #    storage: 172.31.2.43
248 #    pxe: 172.30.2.43
249 #    ksn: 172.29.1.43
250 #    neutron: 10.0.102.43
251 #  - name : aknode44
252 #    oob: 192.168.41.44
253 #    host: 192.168.2.44
254 #    storage: 172.31.2.44
255 #    pxe: 172.30.2.44
256 #    ksn: 172.29.1.44
257 #    neutron: 10.0.102.44
258 hardware:
259   vendor: DELL
260   generation: '10'
261   hw_version: '3'
262   bios_version: '2.8'
263   bios_template: dell_r740_g14_uefi_base.xml.template
264   boot_template: dell_r740_g14_uefi_httpboot.xml.template
265   http_boot_device: NIC.Slot.2-1-1
266 disks:
267   - name : sdg
268     labels:
269       bootdrive: 'true'
270     partitions:
271       - name: root
272         size: 20g
273         mountpoint: /
274       - name: boot
275         size: 1g
276         mountpoint: /boot
277       - name: var
278         size: 100g
279         mountpoint: /var
280   - name : sdh
281     partitions:
282       - name: ceph
283         size: 300g
284         mountpoint: /var/lib/ceph/journal
285 disks_compute:
286   - name : sdg
287     labels:
288       bootdrive: 'true'
289     partitions:
290       - name: root
291         size: 20g
292         mountpoint: /
293       - name: boot
294         size: 1g
295         mountpoint: /boot
296       - name: var
297         size: '>300g'
298         mountpoint: /var
299   - name : sdh
300     partitions:
301       - name: nova
302         size: '99%'
303         mountpoint: /var/lib/nova
304 genesis_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/n4mNLAj3XKG2fcm+8eVe0NUlNH0g8DA8KJ53rSLKccm8gm4UgLmGOJyBfUloQZMuOpU6a+hexN4ECCliqI7+KUmgJgsvLkJ3OUMNTEVu9tDX5mdXeffsufaqFkAdmbJ/9PMPiPQ3/UqbbtyEcqoZAwUWf4ggAWSp00SGE1Okg+skPSbDzPVHb4810eXZT1yoIg29HAenJNNrsVxvnMT2kw2OYmLfxgEUh1Ev4c5LnUog4GXBDHQtHAwaIoTu9s/q8VIvGav62RJVFn3U1D0jkiwDLSIFn8ezORQ4YkSidwdSrtqsqa2TJ0E5w/n5h5IVGO9neY8YlXrgynLd4Y+7 root@pocnjrsv132"
305 kubernetes:
306   api_service_ip: 10.96.0.1
307   etcd_service_ip: 10.96.0.2
308   pod_cidr: 10.98.0.0/16
309   service_cidr: 10.96.0.0/15
310 regional_server:
311   ip: 135.16.101.85
312 ...