fix endpoints, dns, and deploy issues
[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 #workers:
208 #  - name : aknode43
209 #    oob: 192.168.41.43
210 #    host: 192.168.2.43
211 #    storage: 172.31.2.43
212 #    pxe: 172.30.2.43
213 #    ksn: 172.29.1.43
214 #    neutron: 10.0.102.43
215 platform:
216   vcpu_pin_set: "4-21,26-43,48-65,72-87"
217   kernel_params:
218     hugepagesz: '1G'
219     hugepages: 32
220 #    default_hugepagesz: '1G'
221     transparent_hugepage: 'never'
222     iommu: 'pt'
223     intel_iommu: 'on'
224     amd_iommu: 'on'
225 #    console: 'ttyS1,115200n8'
226 hardware:
227   vendor: DELL
228   generation: '10'
229   hw_version: '3'
230   bios_version: '2.8'
231   bios_template: 
232   boot_template: dell_r740_g14_uefi_httpboot.xml.template
233   http_boot_device: NIC.Slot.2-1-1
234   device_aliases:
235     ## network
236     - name: eno3
237       key: pxe_nic01
238       address: '0000:01:00.0'
239       dev_type: 'I350 Gigabit Network Connection'
240       bus_type: 'pci'
241     - name: enp94s0f0
242       key: data_nic01
243       address: '0000:5e:00.0'
244       dev_type: 'Ethernet 10G 2P X520 Adapter'
245       bus_type: 'pci'
246     - name: enp94s0f1
247       key: data_nic02
248       address: '0000:5e:00.1'
249       dev_type: 'Ethernet 10G 2P X520 Adapter'
250       bus_type: 'pci'
251     ## storage  - use "dmesg | grep -Pe 'sd \d:\d'" to find address of drives
252     - name: /dev/sdg
253       key: bootdisk
254       address: '0:2.0.0'
255       dev_type: 'PERC H730P'
256       bus_type: 'scsi'
257     - name: /dev/sdh
258       key: cephjournal1
259       address: '0:2.1.0'
260       dev_type: 'PERC H730P'
261       bus_type: 'scsi'
262     - name: /dev/sdi
263       key: cephjournal2
264       address: '0:2.2.0'
265       dev_type: 'PERC H730P'
266       bus_type: 'scsi'
267     - name: /dev/sdj
268       key: ephemeral
269       address: '0:2.3.0'
270       dev_type: 'PERC H730P'
271       bus_type: 'scsi'
272
273 disks:
274 #  - name : sdg
275   - name : bootdisk
276     labels:
277       bootdrive: 'true'
278     partitions:
279       - name: root
280         size: 30g
281         bootable: true
282         mountpoint: /
283       - name: boot
284         size: 1g
285         mountpoint: /boot
286       - name: var
287         size: '300g'
288         mountpoint: /var
289 disks_compute:
290 #  - name : sdg
291   - name : bootdisk
292     labels:
293       bootdrive: 'true'
294     partitions:
295       - name: root
296         size: 30g
297         bootable: true
298         mountpoint: /
299       - name: boot
300         size: 1g
301         mountpoint: /boot
302       - name: var_log
303         size: '100g'
304         mountpoint: /var/log
305       - name: var
306         size: '>100g'
307         mountpoint: /var
308   - name : ephemeral
309     partitions:
310       - name: nova
311         size: 99%
312         mountpoint: /var/lib/nova
313 genesis_ssh_public_key: 
314 kubernetes:
315   api_service_ip: 10.96.0.1
316   etcd_service_ip: 10.96.0.2
317   pod_cidr: 10.98.0.0/16
318   service_cidr: 10.96.0.0/16
319 regional_server:
320   ip: 135.16.101.85
321 ...