Add platform kernel_params support, fix vxlan
[yaml_builds.git] / hpgen10.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: hpgen10
19 site_type: sriov
20 ipmi_admin:
21   username: Administrator
22   password: Admin123
23 networks:
24   bonded: yes
25   primary: bond0
26   slaves:
27     - name: ens3f0
28     - name: ens3f1
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.4
39       static:
40         start: 192.168.41.5
41         end: 192.168.41.254
42   host:
43     vlan: 41
44     interface: bond0.41
45     cidr: 192.168.2.0/24
46     routes:
47        gateway: 192.168.2.200
48     ranges:
49       reserved:
50         start: 192.168.2.84
51         end: 192.168.2.86
52       static:
53         start: 192.168.2.1
54         end: 192.168.2.83
55   storage:
56     vlan: 42
57     interface: bond0.42
58     cidr: 172.31.1.0/24
59     ranges:
60       static:
61         start: 172.31.1.2
62         end: 172.31.1.254
63   pxe:
64     vlan: 
65     interface: eno1
66     cidr: 172.30.1.0/24
67     gateway: 172.30.1.1
68     routes:
69        gateway: 172.30.1.30
70     ranges:
71       reserved:
72         start: 172.30.1.1
73         end:  172.30.1.10
74       static:
75         start: 172.30.1.11
76         end: 172.30.1.200
77       dhcp:
78         start: 172.30.1.201
79         end: 172.30.1.254
80   ksn:
81     vlan: 44
82     interface: bond0.44
83     cidr: 172.29.1.0/24
84     local_asnumber: 65531
85     ranges:
86       static:
87         start: 172.29.1.5
88         end: 172.29.1.254
89     additional_cidrs:
90       -  172.29.1.136/29
91     ingress_cidr: 172.29.1.137/32
92     peers:
93     - ip: 172.29.1.1
94       scope: global
95       asnumber: 65001
96     vrrp_ip: 172.29.1.1 # keep peers ip address in case of only peer.
97   neutron:
98     vlan: 45
99     interface: bond0.45
100     cidr: 10.0.101.0/24
101     ranges:
102       static:
103         start: 10.0.101.2
104         end: 10.0.101.254
105 dns:
106   upstream_servers:
107     - 192.168.2.85
108     - 8.8.8.8
109     - 8.8.8.8
110   ingress_domain: hpgen10.akraino.org
111   domain: lab.akraino.org
112 sriovnets:
113 - physical: sriovnet1
114   interface: ens6f0
115   vlan_start: 2001
116   vlan_end: 3000
117   whitelists:
118   - "address": "0000:af:02.0"
119   - "address": "0000:af:02.1"
120   - "address": "0000:af:02.2"
121   - "address": "0000:af:02.3"
122   - "address": "0000:af:02.4"
123   - "address": "0000:af:02.5"
124   - "address": "0000:af:02.6"
125   - "address": "0000:af:02.7"
126   - "address": "0000:af:03.0"
127   - "address": "0000:af:03.1"
128   - "address": "0000:af:03.2"
129   - "address": "0000:af:03.3"
130   - "address": "0000:af:03.4"
131   - "address": "0000:af:03.5"
132   - "address": "0000:af:03.6"
133   - "address": "0000:af:03.7"
134   - "address": "0000:af:04.0"
135   - "address": "0000:af:04.1"
136   - "address": "0000:af:04.2"
137   - "address": "0000:af:04.3"
138   - "address": "0000:af:04.4"
139   - "address": "0000:af:04.5"
140   - "address": "0000:af:04.6"
141   - "address": "0000:af:04.7"
142   - "address": "0000:af:05.0"
143   - "address": "0000:af:05.1"
144   - "address": "0000:af:05.2"
145   - "address": "0000:af:05.3"
146   - "address": "0000:af:05.4"
147   - "address": "0000:af:05.5"
148   - "address": "0000:af:05.6"
149   - "address": "0000:af:05.7"
150 - physical: sriovnet2
151   interface: ens6f1
152   vlan_start: 2001
153   vlan_end: 3000
154   whitelists:
155   - "address": "0000:af:0a.0"
156   - "address": "0000:af:0a.1"
157   - "address": "0000:af:0a.2"
158   - "address": "0000:af:0a.3"
159   - "address": "0000:af:0a.4"
160   - "address": "0000:af:0a.5"
161   - "address": "0000:af:0a.6"
162   - "address": "0000:af:0a.7"
163   - "address": "0000:af:0b.0"
164   - "address": "0000:af:0b.1"
165   - "address": "0000:af:0b.2"
166   - "address": "0000:af:0b.3"
167   - "address": "0000:af:0b.4"
168   - "address": "0000:af:0b.5"
169   - "address": "0000:af:0b.6"
170   - "address": "0000:af:0b.7"
171   - "address": "0000:af:0c.0"
172   - "address": "0000:af:0c.1"
173   - "address": "0000:af:0c.2"
174   - "address": "0000:af:0c.3"
175   - "address": "0000:af:0c.4"
176   - "address": "0000:af:0c.5"
177   - "address": "0000:af:0c.6"
178   - "address": "0000:af:0c.7"
179   - "address": "0000:af:0d.0"
180   - "address": "0000:af:0d.1"
181   - "address": "0000:af:0d.2"
182   - "address": "0000:af:0d.3"
183   - "address": "0000:af:0d.4"
184   - "address": "0000:af:0d.5"
185   - "address": "0000:af:0d.6"
186   - "address": "0000:af:0d.7"
187 storage:
188   osds:
189     - data: /dev/sdb
190       journal: /var/lib/ceph/journal/journal-sdb
191     - data: /dev/sdc
192       journal: /var/lib/ceph/journal/journal-sdc
193     - data: /dev/sdd
194       journal: /var/lib/ceph/journal/journal-sdd
195     - data: /dev/sde
196       journal: /var/lib/ceph/journal/journal-sde
197     - data: /dev/sdf
198       journal: /var/lib/ceph/journal/journal-sdf
199     - data: /dev/sdg
200       journal: /var/lib/ceph/journal/journal-sdg
201     - data: /dev/sdh
202       journal: /var/lib/ceph/journal/journal-sdh
203     - data: /dev/sdi
204       journal: /var/lib/ceph/journal/journal-sdi
205   osd_count: 8
206   total_osd_count: 24
207 genesis:
208   name: aknode30
209   oob: 192.168.41.130
210   host: 192.168.2.30
211   storage: 172.31.1.30
212   pxe: 172.30.1.30
213   ksn: 172.29.1.30
214   neutron: 10.0.101.30
215   root_password: akraino,d
216   mac_address: 3c:fd:fe:aa:90:b0
217 masters:
218   - name : aknode31
219     oob: 192.168.41.131
220     host: 192.168.2.31
221     storage: 172.31.1.31
222     pxe: 172.30.1.31
223     ksn: 172.29.1.31
224     neutron: 10.0.101.31
225     oob_user: Administrator
226     oob_password: Admin123
227   - name : aknode32
228     oob: 192.168.41.132
229     host: 192.168.2.32
230     storage: 172.31.1.32
231     pxe: 172.30.1.32
232     ksn: 172.29.1.32
233     neutron: 10.0.101.32
234     oob_user: Administrator
235     oob_password: Admin123
236 #workers:
237 #  - name : aknode33
238 #    oob: 192.168.41.133
239 #    host: 192.168.2.33
240 #    storage: 172.31.1.33
241 #    pxe: 172.30.1.33
242 #    ksn: 172.29.1.33
243 #    neutron: 10.0.101.33
244 platform:
245   kernel_params:
246     hugepagesz: '1G'
247     hugepages: 32
248     default_hugepagesz: '1G'
249     iommu: 'pt'
250     intel_iommu: 'on'
251 hardware:
252   vendor: HP
253   generation: '10'
254   hw_version: '3'
255   bios_version: '2.8'
256   bios_template: hpe_dl380_g10_uefi_base.json.template
257   boot_template: hpe_dl380_g10_uefi_httpboot.json.template
258   http_boot_device: NIC.Slot.3-1-1
259 disks:
260   - name : sdj
261     labels:
262       bootdrive: 'true'
263     partitions:
264       - name: root
265         size: 20g
266         mountpoint: /
267       - name: boot
268         size: 1g
269         mountpoint: /boot
270       - name: var
271         size: '>300g'
272         mountpoint: /var
273   - name : sdk
274     partitions:
275       - name: ceph
276         size: 300g
277         mountpoint: /var/lib/ceph/journal
278 disks_compute:
279   - name : sdj
280     labels:
281       bootdrive: 'true'
282     partitions:
283       - name: root
284         size: 20g
285         mountpoint: /
286       - name: boot
287         size: 1g
288         mountpoint: /boot
289       - name: var
290         size: '>300g'
291         mountpoint: /var
292   - name : sdk
293     partitions:
294       - name: nova
295         size: '99%'
296         mountpoint: /var/lib/nova
297 genesis_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/n4mNLAj3XKG2fcm+8eVe0NUlNH0g8DA8KJ53rSLKccm8gm4UgLmGOJyBfUloQZMuOpU6a+hexN4ECCliqI7+KUmgJgsvLkJ3OUMNTEVu9tDX5mdXeffsufaqFkAdmbJ/9PMPiPQ3/UqbbtyEcqoZAwUWf4ggAWSp00SGE1Okg+skPSbDzPVHb4810eXZT1yoIg29HAenJNNrsVxvnMT2kw2OYmLfxgEUh1Ev4c5LnUog4GXBDHQtHAwaIoTu9s/q8VIvGav62RJVFn3U1D0jkiwDLSIFn8ezORQ4YkSidwdSrtqsqa2TJ0E5w/n5h5IVGO9neY8YlXrgynLd4Y+7 root@pocnjrsv132"
298 kubernetes:
299   api_service_ip: 10.96.0.1
300   etcd_service_ip: 10.96.0.2
301   pod_cidr: 10.99.0.0/16
302   service_cidr: 10.96.0.0/14
303 regional_server:
304   ip: 135.16.101.85
305 ...