c4e22a28a45ab7e96d9aeef54d9a7cad2f0fdd89
[yaml_builds.git] / dellgen10-sriov-a13.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-a13
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     ingress_vip: 192.168.2.49
47     maas_vip: 192.168.2.48
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.49
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     gateway: 172.29.1.1
90     local_asnumber: 65531
91     ranges:
92       reserved:
93         start: 172.29.1.1
94         end:  172.29.1.10
95       static:
96         start: 172.29.1.11
97         end: 172.29.1.254
98     additional_cidrs:
99       -  172.29.1.128/29
100     ingress_vip: 172.29.1.129/32
101     peers:
102     - ip: 172.29.1.1
103       scope: global
104       asnumber: 65001
105     # keep peers ip address in case of only peer.
106     vrrp_ip: 172.29.1.1
107   neutron:
108     vlan: 45
109     interface: bond0.45
110     cidr: 10.0.102.0/24
111     ranges:
112       reserved:
113         start: 10.0.102.1
114         end: 10.0.102.10
115       static:
116         start: 10.0.102.11
117         end: 10.0.102.254
118 dns:
119   upstream_servers:
120     - 192.168.2.85
121     - 192.168.1.85
122     #- 8.8.8.8
123     #- 8.8.4.4
124   ingress_domain: dellgen10.lab.akraino.org
125   domain: dellgen10.lab.akraino.org
126 gpu:
127   alias:
128     - name: "P4"
129       product_id: "1bb2"
130       vendor_id: "10de"
131     - name: "P40"
132       product_id: "1b38"
133       vendor_id: "10de"
134     - name: "P100"
135       product_id: "15f8"
136       vendor_id: "10de"
137     - name: "V100"
138       product_id: "1db4"
139       vendor_id: "10de"
140 sriov:
141   alias:
142     - name: "numa0"
143       product_id: "158b"
144       vendor_id: "8086"
145   nets:
146     - physical: sriovnet1
147       interface: enp135s0f0
148       vlan_start: 2001
149       vlan_end: 3000
150       whitelists:
151       - "address": "0000:87:02.*"
152       - "address": "0000:87:03.*"
153       - "address": "0000:87:04.*"
154       - "address": "0000:87:05.*"
155     - physical: sriovnet2
156       interface: enp135s0f1
157       vlan_start: 2001
158       vlan_end: 3000
159       whitelists:
160       - "address": "0000:87:0a.*"
161       - "address": "0000:87:0b.*"
162       - "address": "0000:87:0c.*"
163       - "address": "0000:87:0d.*"
164 storage:
165   osds:
166     - data: /dev/sda
167       journal: /dev/sdh1
168     - data: /dev/sdb
169       journal: /dev/sdh2
170     - data: /dev/sdc
171       journal: /dev/sdh3
172   osd_count: 3
173   total_osd_count: 9
174 tenant_storage:
175   osds:
176     - data: /dev/sdd
177       journal: /dev/sdh4
178     - data: /dev/sde
179       journal: /dev/sdh5
180     - data: /dev/sdf
181       journal: /dev/sdh6
182   osd_count: 3
183 genesis:
184   name: aknode40
185   oob: 192.168.41.40
186   host: 192.168.2.40
187   storage: 172.31.2.40
188   pxe: 172.30.2.40
189   ksn: 172.29.1.40
190   neutron: 10.0.102.40
191   root_password: akraino,d
192 masters:
193   - name : aknode41
194     oob: 192.168.41.41
195     host: 192.168.2.41
196     storage: 172.31.2.41
197     pxe: 172.30.2.41
198     ksn: 172.29.1.41
199     neutron: 10.0.102.41
200   - name : aknode42
201     oob: 192.168.41.42
202     host: 192.168.2.42
203     storage: 172.31.2.42
204     pxe: 172.30.2.42
205     ksn: 172.29.1.42
206     neutron: 10.0.102.42
207   - name : aknode43
208     oob: 192.168.41.43
209     host: 192.168.2.43
210     storage: 172.31.2.43
211     pxe: 172.30.2.43
212     ksn: 172.29.1.43
213     neutron: 10.0.102.43
214 #workers:
215 #  - name : aknode43
216 #    oob: 192.168.41.43
217 #    host: 192.168.2.43
218 #    storage: 172.31.2.43
219 #    pxe: 172.30.2.43
220 #    ksn: 172.29.1.43
221 #    neutron: 10.0.102.43
222 platform:
223   vcpu_pin_set: "4-21,26-43,48-65,72-87"
224   kernel_params:
225     hugepagesz: '1G'
226     hugepages: 32
227 #    default_hugepagesz: '1G'
228     transparent_hugepage: 'never'
229     iommu: 'pt'
230     intel_iommu: 'on'
231     amd_iommu: 'on'
232 #    console: 'ttyS1,115200n8'
233 hardware:
234   vendor: DELL
235   generation: '10'
236   hw_version: '3'
237   bios_version: '2.8'
238   bios_template: 
239   boot_template: dell_r740_g14_uefi_httpboot.xml.template
240   http_boot_device: NIC.Slot.2-1-1
241   device_aliases:
242     ## network
243     - name: eno3
244       key: pxe_nic01
245       address: '0000:01:00.0'
246       dev_type: 'I350 Gigabit Network Connection'
247       bus_type: 'pci'
248     - name: enp94s0f0
249       key: data_nic01
250       address: '0000:5e:00.0'
251       dev_type: 'Ethernet 10G 2P X520 Adapter'
252       bus_type: 'pci'
253     - name: enp94s0f1
254       key: data_nic02
255       address: '0000:5e:00.1'
256       dev_type: 'Ethernet 10G 2P X520 Adapter'
257       bus_type: 'pci'
258     ## storage  - use "dmesg | grep -Pe 'sd \d:\d'" to find address of drives
259     - name: /dev/sdg
260       key: bootdisk
261       address: '0:2.0.0'
262       dev_type: 'PERC H730P'
263       bus_type: 'scsi'
264     - name: /dev/sdh
265       key: cephjournal1
266       address: '0:2.1.0'
267       dev_type: 'PERC H730P'
268       bus_type: 'scsi'
269     - name: /dev/sdi
270       key: cephjournal2
271       address: '0:2.2.0'
272       dev_type: 'PERC H730P'
273       bus_type: 'scsi'
274     - name: /dev/sdj
275       key: ephemeral
276       address: '0:2.3.0'
277       dev_type: 'PERC H730P'
278       bus_type: 'scsi'
279
280 disks:
281 #  - name : sdg
282   - name : bootdisk
283     labels:
284       bootdrive: 'true'
285     partitions:
286       - name: root
287         size: 30g
288         bootable: true
289         mountpoint: /
290       - name: boot
291         size: 1g
292         mountpoint: /boot
293       - name: var
294         size: '300g'
295         mountpoint: /var
296 disks_compute:
297 #  - name : sdg
298   - name : bootdisk
299     labels:
300       bootdrive: 'true'
301     partitions:
302       - name: root
303         size: 30g
304         bootable: true
305         mountpoint: /
306       - name: boot
307         size: 1g
308         mountpoint: /boot
309       - name: var_log
310         size: '100g'
311         mountpoint: /var/log
312       - name: var
313         size: '>100g'
314         mountpoint: /var
315   - name : ephemeral
316     partitions:
317       - name: nova
318         size: 99%
319         mountpoint: /var/lib/nova
320 genesis_ssh_public_key: 
321 kubernetes:
322   api_service_ip: 10.96.0.1
323   etcd_service_ip: 10.96.0.2
324   pod_cidr: 10.98.0.0/16
325   service_cidr: 10.96.0.0/16
326 regional_server:
327   ip: 135.16.101.85
328 ...