blob: 78326758d527f6216bf4c0c76db9e177c0dd8282 [file] [log] [blame]
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +03001# Set the repository suite, one of the: 'nightly', 'testing', 'stable', or any other required
2{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'testing') %}
3
4#{% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'physical_mcp11_ovs_dpdk') + '.local' %}
5{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-bm-mcp-pike-k8s-contrail') %}
6{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
7{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
8{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %}
9{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %}
10{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %}
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +030011{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
12{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
13{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +030014{% set HOSTNAME_CMP001 = os_env('HOSTNAME_CMP001', 'cmp001.' + DOMAIN_NAME) %}
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +030015{% set HOSTNAME_CMP002 = os_env('HOSTNAME_CMP002', 'cmp002.' + DOMAIN_NAME) %}
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +030016{% set ETH0_IP_ADDRESS_CFG01 = os_env('ETH0_IP_ADDRESS_CFG01', '172.17.41.3') %}
17{% set ETH0_IP_ADDRESS_KVM01 = os_env('ETH0_IP_ADDRESS_KVM01', '172.17.41.4') %}
18{% set ETH0_IP_ADDRESS_KVM02 = os_env('ETH0_IP_ADDRESS_KVM02', '172.17.41.5') %}
19{% set ETH0_IP_ADDRESS_KVM03 = os_env('ETH0_IP_ADDRESS_KVM03', '172.17.41.6') %}
20{% set ETH0_IP_ADDRESS_CMP001 = os_env('ETH0_IP_ADDRESS_CMP001', '172.17.41.7') %}
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +030021{% set ETH0_IP_ADDRESS_CMP002 = os_env('ETH0_IP_ADDRESS_CMP002', '172.17.41.8') %}
22{% set ETH0_IP_ADDRESS_CTL01 = os_env('ETH0_IP_ADDRESS_CTL01', '172.17.41.9') %}
23{% set ETH0_IP_ADDRESS_CTL02 = os_env('ETH0_IP_ADDRESS_CTL02', '172.17.41.10') %}
24{% set ETH0_IP_ADDRESS_CTL03 = os_env('ETH0_IP_ADDRESS_CTL03', '172.17.41.11') %}
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +030025{% import 'cookied-bm-mcp-pike-k8s-contrail/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
26{% import 'cookied-bm-mcp-pike-k8s-contrail/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
27{% import 'cookied-bm-mcp-pike-k8s-contrail/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA with context %}
28{% import 'cookied-bm-mcp-pike-k8s-contrail/underlay--user-data1604-hwe-compute.yaml' as CLOUDINIT_USER_DATA_HWE_CMP with context %}
29
30---
31aliases:
32 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
33 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
34 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
35 - &cloudinit_user_data {{ CLOUDINIT_USER_DATA }}
36 - &cloudinit_user_data_hwe_cmp {{ CLOUDINIT_USER_DATA_HWE_CMP }}
37
38
39template:
40 devops_settings:
41 env_name: {{ os_env('ENV_NAME', 'cookied-bm-mcp-pike-k8s-contrail_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
42
43 address_pools:
44 admin-pool01:
45 net: {{ os_env('ADMIN_ADDRESS_POOL01', '172.17.41.0/26:26') }}
46 params:
47 ip_reserved:
48 gateway: +1
49 l2_network_device: +61
50 default_{{ HOSTNAME_CFG01 }}: {{ ETH0_IP_ADDRESS_CFG01 }}
51 default_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }}
52 default_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }}
53 default_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }}
54 default_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }}
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +030055 default_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }}
56 default_{{ HOSTNAME_CTL01 }}: {{ ETH0_IP_ADDRESS_CTL01 }}
57 default_{{ HOSTNAME_CTL02 }}: {{ ETH0_IP_ADDRESS_CTL02 }}
58 default_{{ HOSTNAME_CTL03 }}: {{ ETH0_IP_ADDRESS_CTL03 }}
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +030059
60 virtual_{{ HOSTNAME_CFG01 }}: {{ ETH0_IP_ADDRESS_CFG01 }}
61 virtual_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }}
62 virtual_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }}
63 virtual_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }}
64 virtual_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }}
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +030065 virtual_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }}
66 virtual_{{ HOSTNAME_CTL01 }}: {{ ETH0_IP_ADDRESS_CTL01 }}
67 virtual_{{ HOSTNAME_CTL02 }}: {{ ETH0_IP_ADDRESS_CTL02 }}
68 virtual_{{ HOSTNAME_CTL03 }}: {{ ETH0_IP_ADDRESS_CTL03 }}
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +030069 #ip_ranges:
70 # dhcp: [+2, -4]
71 private-pool01:
72 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.167.13.0/24:24') }}
73 params:
74 ip_reserved:
75 gateway: +1
76 l2_network_device: +1
77
78 tenant-pool01:
79 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.167.14.0/24:24') }}
80 params:
81 ip_reserved:
82 gateway: +1
83 l2_network_device: +1
84
85 external-pool01:
86 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '172.17.41.128/26:26') }}
87 params:
88 ip_reserved:
89 gateway: +1
90 l2_network_device: -2
91
92 groups:
93
94 - name: virtual
95 driver:
96 name: devops.driver.libvirt
97 params:
98 connection_string: !os_env CONNECTION_STRING, qemu:///system
99 storage_pool_name: !os_env STORAGE_POOL_NAME, default
100 stp: False
101 hpet: False
102 enable_acpi: true
103 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
104
105 network_pools:
106 admin: admin-pool01
107
108 l2_network_devices:
109 # Ironic management interface
110 admin:
111 address_pool: admin-pool01
112 dhcp: false
113 parent_iface:
114 phys_dev: !os_env IRONIC_LAB_PXE_IFACE_0
115
116 group_volumes:
117 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
118 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
119 format: qcow2
120 - name: cfg01_day01_image # Pre-configured day01 image
121 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
122 format: qcow2
123
124 nodes:
125 - name: {{ HOSTNAME_CFG01 }}
126 role: salt_master
127 params:
128 vcpu: !os_env SLAVE_NODE_CPU, 4
129 memory: !os_env SLAVE_NODE_MEMORY, 8192
130 boot:
131 - hd
132 cloud_init_volume_name: iso
133 cloud_init_iface_up: ens3
134 volumes:
135 - name: system
136 capacity: !os_env NODE_VOLUME_SIZE, 150
137 backing_store: cfg01_day01_image
138 format: qcow2
139 - name: iso # Volume with name 'iso' will be used
140 # for store image with cloud-init metadata.
141 capacity: 1
142 format: raw
143 device: cdrom
144 bus: ide
145 cloudinit_meta_data: *cloudinit_meta_data
146 cloudinit_user_data: *cloudinit_user_data_cfg01
147
148 interfaces:
149 - label: ens3
150 l2_network_device: admin
151 interface_model: *interface_model
152 mac_address: !os_env ETH0_MAC_ADDRESS_CFG01
153 #- label: ens4
154 # l2_network_device: private
155 # interface_model: *interface_model
156 network_config:
157 ens3:
158 networks:
159 - admin
160 #ens4:
161 # networks:
162 # - private
163
164
165 - name: default
166 driver:
167 name: devops_driver_ironic
168 params:
169 os_auth_token: fake-token
170 ironic_url: !os_env IRONIC_URL # URL that will be used by fuel-devops
171 # to access Ironic API
172 # Agent URL that is accessible from deploying node when nodes
173 # are bootstrapped with PXE. Usually PXE/provision network address is used.
174 agent_kernel_url: !os_env IRONIC_AGENT_KERNEL_URL
175 agent_ramdisk_url: !os_env IRONIC_AGENT_RAMDISK_URL
176
177 network_pools:
178 admin: admin-pool01
179
180 nodes:
181
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +0300182 - name: {{ HOSTNAME_KVM01 }}
183 role: salt_minion
184 params:
185 ipmi_user: !os_env IPMI_USER
186 ipmi_password: !os_env IPMI_PASSWORD
187 ipmi_previlegies: OPERATOR
188 ipmi_host: !os_env IPMI_HOST_KVM01 # hostname or IP address
189 ipmi_lan_interface: lanplus
190 ipmi_port: 623
191
192 root_volume_name: system # see 'volumes' below
193 cloud_init_volume_name: iso # see 'volumes' below
194 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
195 volumes:
196 - name: system
197 capacity: !os_env NODE_VOLUME_SIZE, 200
198
199 # The same as for agent URL, here is an URL to the image that should be
200 # used for deploy the node. It should also be accessible from deploying
201 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
202 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
203 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
204
205 - name: iso # Volume with name 'iso' will be used
206 # for store image with cloud-init metadata.
207
208 cloudinit_meta_data: *cloudinit_meta_data
209 cloudinit_user_data: *cloudinit_user_data
210
211 interfaces:
212 - label: enp9s0f0
213 l2_network_device: admin
214 mac_address: !os_env ETH0_MAC_ADDRESS_KVM01
215 - label: enp9s0f1
216 mac_address: !os_env ETH1_MAC_ADDRESS_KVM01
217
218 network_config:
219 enp9s0f0:
220 networks:
221 - admin
222 bond0:
223 networks:
224 - control
225 aggregation: active-backup
226 parents:
227 - enp9s0f1
228
229 - name: {{ HOSTNAME_KVM02 }}
230 role: salt_minion
231 params:
232 ipmi_user: !os_env IPMI_USER
233 ipmi_password: !os_env IPMI_PASSWORD
234 ipmi_previlegies: OPERATOR
235 ipmi_host: !os_env IPMI_HOST_KVM02 # hostname or IP address
236 ipmi_lan_interface: lanplus
237 ipmi_port: 623
238
239 root_volume_name: system # see 'volumes' below
240 cloud_init_volume_name: iso # see 'volumes' below
241 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
242 volumes:
243 - name: system
244 capacity: !os_env NODE_VOLUME_SIZE, 200
245
246 # The same as for agent URL, here is an URL to the image that should be
247 # used for deploy the node. It should also be accessible from deploying
248 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
249 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
250 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
251
252 - name: iso # Volume with name 'iso' will be used
253 # for store image with cloud-init metadata.
254
255 cloudinit_meta_data: *cloudinit_meta_data
256 cloudinit_user_data: *cloudinit_user_data
257
258 interfaces:
259 - label: enp9s0f0
260 l2_network_device: admin
261 mac_address: !os_env ETH0_MAC_ADDRESS_KVM02
262 - label: enp9s0f1
263 mac_address: !os_env ETH1_MAC_ADDRESS_KVM02
264
265 network_config:
266 enp9s0f0:
267 networks:
268 - admin
269 bond0:
270 networks:
271 - control
272 aggregation: active-backup
273 parents:
274 - enp9s0f1
275
276 - name: {{ HOSTNAME_KVM03 }}
277 role: salt_minion
278 params:
279 ipmi_user: !os_env IPMI_USER
280 ipmi_password: !os_env IPMI_PASSWORD
281 ipmi_previlegies: OPERATOR
282 ipmi_host: !os_env IPMI_HOST_KVM03 # hostname or IP address
283 ipmi_lan_interface: lanplus
284 ipmi_port: 623
285
286 root_volume_name: system # see 'volumes' below
287 cloud_init_volume_name: iso # see 'volumes' below
288 # cloud_init_iface_up: eno1 # see 'interfaces' below.
289 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
290 volumes:
291 - name: system
292 capacity: !os_env NODE_VOLUME_SIZE, 200
293
294 # The same as for agent URL, here is an URL to the image that should be
295 # used for deploy the node. It should also be accessible from deploying
296 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
297 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
298 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
299
300 - name: iso # Volume with name 'iso' will be used
301 # for store image with cloud-init metadata.
302
303 cloudinit_meta_data: *cloudinit_meta_data
304 cloudinit_user_data: *cloudinit_user_data
305
306 interfaces:
307 # - label: eno1
308 - label: enp9s0f0
309 l2_network_device: admin
310 mac_address: !os_env ETH0_MAC_ADDRESS_KVM03
311 # - label: eno2
312 - label: enp9s0f1
313 mac_address: !os_env ETH1_MAC_ADDRESS_KVM03
314
315 network_config:
316 # eno1:
317 enp9s0f0:
318 networks:
319 - admin
320 bond0:
321 networks:
322 - control
323 aggregation: active-backup
324 parents:
325 - enp9s0f1
326
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +0300327 - name: {{ HOSTNAME_CTL01 }}
sgudzfc5b22f2018-08-23 17:45:04 +0300328 role: k8s_controller
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +0300329 params:
330 ipmi_user: !os_env IPMI_USER
331 ipmi_password: !os_env IPMI_PASSWORD
332 ipmi_previlegies: OPERATOR
333 ipmi_host: !os_env IPMI_HOST_CTL01 # hostname or IP address
334 ipmi_lan_interface: lanplus
335 ipmi_port: 623
336
337 root_volume_name: system # see 'volumes' below
338 cloud_init_volume_name: iso # see 'volumes' below
339 cloud_init_iface_up: enp2s0f0 # see 'interfaces' below.
340 volumes:
341 - name: system
342 capacity: !os_env NODE_VOLUME_SIZE, 200
343
344 # The same as for agent URL, here is an URL to the image that should be
345 # used for deploy the node. It should also be accessible from deploying
346 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
347 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
348 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
349
350 - name: iso # Volume with name 'iso' will be used
351 # for store image with cloud-init metadata.
352
353 cloudinit_meta_data: *cloudinit_meta_data
354 cloudinit_user_data: *cloudinit_user_data
355
356 interfaces:
357 - label: enp2s0f0
358 l2_network_device: admin
359 mac_address: !os_env ETH0_MAC_ADDRESS_CTL01
360 - label: enp2s0f1
361 mac_address: !os_env ETH1_MAC_ADDRESS_CTL01
362
363 network_config:
364 enp2s0f0:
365 networks:
366 - admin
367
368 - name: {{ HOSTNAME_CTL02 }}
369 role: salt_minion
370 params:
371 ipmi_user: !os_env IPMI_USER
372 ipmi_password: !os_env IPMI_PASSWORD_CTL
373 ipmi_previlegies: OPERATOR
374 ipmi_host: !os_env IPMI_HOST_CTL02 # hostname or IP address
375 ipmi_lan_interface: lanplus
376 ipmi_port: 623
377
378 root_volume_name: system # see 'volumes' below
379 cloud_init_volume_name: iso # see 'volumes' below
380 cloud_init_iface_up: enp2s0f0 # see 'interfaces' below.
381 volumes:
382 - name: system
383 capacity: !os_env NODE_VOLUME_SIZE, 200
384
385 # The same as for agent URL, here is an URL to the image that should be
386 # used for deploy the node. It should also be accessible from deploying
387 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
388 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
389 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
390
391 - name: iso # Volume with name 'iso' will be used
392 # for store image with cloud-init metadata.
393
394 cloudinit_meta_data: *cloudinit_meta_data
395 cloudinit_user_data: *cloudinit_user_data
396
397 interfaces:
398 - label: enp2s0f0
399 l2_network_device: admin
400 mac_address: !os_env ETH0_MAC_ADDRESS_CTL02
401 - label: enp2s0f1
402 mac_address: !os_env ETH1_MAC_ADDRESS_CTL02
403
404 network_config:
405 enp2s0f0:
406 networks:
407 - admin
408
409 - name: {{ HOSTNAME_CTL03 }}
410 role: salt_minion
411 params:
412 ipmi_user: !os_env IPMI_USER
413 ipmi_password: !os_env IPMI_PASSWORD_CTL
414 ipmi_previlegies: OPERATOR
415 ipmi_host: !os_env IPMI_HOST_CTL03 # hostname or IP address
416 ipmi_lan_interface: lanplus
417 ipmi_port: 623
418
419 root_volume_name: system # see 'volumes' below
420 cloud_init_volume_name: iso # see 'volumes' below
421 # cloud_init_iface_up: eno1 # see 'interfaces' below.
422 cloud_init_iface_up: enp2s0f0 # see 'interfaces' below.
423 volumes:
424 - name: system
425 capacity: !os_env NODE_VOLUME_SIZE, 200
426
427 # The same as for agent URL, here is an URL to the image that should be
428 # used for deploy the node. It should also be accessible from deploying
429 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
430 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
431 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
432
433 - name: iso # Volume with name 'iso' will be used
434 # for store image with cloud-init metadata.
435
436 cloudinit_meta_data: *cloudinit_meta_data
437 cloudinit_user_data: *cloudinit_user_data
438
439 interfaces:
440 # - label: eno1
441 - label: enp2s0f0
442 l2_network_device: admin
443 mac_address: !os_env ETH0_MAC_ADDRESS_CTL03
444 # - label: eno2
445 - label: enp2s0f1
446 mac_address: !os_env ETH1_MAC_ADDRESS_CTL03
447
448 network_config:
449 # eno1:
450 enp2s0f0:
451 networks:
452 - admin
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +0300453
454 - name: {{ HOSTNAME_CMP001 }}
455 role: salt_minion
456 params:
457 ipmi_user: !os_env IPMI_USER
458 ipmi_password: !os_env IPMI_PASSWORD
459 ipmi_previlegies: OPERATOR
460 ipmi_host: !os_env IPMI_HOST_CMP001 # hostname or IP address
461 ipmi_lan_interface: lanplus
462 ipmi_port: 623
463
464 root_volume_name: system # see 'volumes' below
465 cloud_init_volume_name: iso # see 'volumes' below
466 # cloud_init_iface_up: enp3s0f0 # see 'interfaces' below.
467 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
468 volumes:
469 - name: system
470 capacity: !os_env NODE_VOLUME_SIZE, 200
471
472 # The same as for agent URL, here is an URL to the image that should be
473 # used for deploy the node. It should also be accessible from deploying
474 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
475 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
476 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
477
478 - name: iso # Volume with name 'iso' will be used
479 # for store image with cloud-init metadata.
480
481 cloudinit_meta_data: *cloudinit_meta_data
482 cloudinit_user_data: *cloudinit_user_data_hwe_cmp
483
484 interfaces:
485 - label: enp9s0f0
486 l2_network_device: admin
487 mac_address: !os_env ETH0_MAC_ADDRESS_CMP001
488 - label: enp9s0f1
489 mac_address: !os_env ETH1_MAC_ADDRESS_CMP001
490 # - label: enp5s0f0
491 # mac_address: !os_env ETH2_MAC_ADDRESS_CMP001
492 # features: ['dpdk', 'dpdk_pci: 0000:05:00.0']
493 # - label: enp5s0f1
494 # mac_address: !os_env ETH3_MAC_ADDRESS_CMP001
495 # features: ['dpdk', 'dpdk_pci: 0000:05:00.1']
496 # - label: enp5s0f2
497 # mac_address: !os_env ETH4_MAC_ADDRESS_CMP001
498 # features: ['dpdk', 'dpdk_pci: 0000:05:00.2']
499
500 network_config:
501 enp9s0f0:
502 networks:
503 - admin
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +0300504
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +0300505 - name: {{ HOSTNAME_CMP002 }}
506 role: salt_minion
507 params:
508 ipmi_user: !os_env IPMI_USER
509 ipmi_password: !os_env IPMI_PASSWORD
510 ipmi_previlegies: OPERATOR
511 ipmi_host: !os_env IPMI_HOST_CMP002 # hostname or IP address
512 ipmi_lan_interface: lanplus
513 ipmi_port: 623
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +0300514
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +0300515 root_volume_name: system # see 'volumes' below
516 cloud_init_volume_name: iso # see 'volumes' below
517 # cloud_init_iface_up: enp3s0f0 # see 'interfaces' below.
518 cloud_init_iface_up: enp9s0f0 # see 'interfaces' below.
519 volumes:
520 - name: system
521 capacity: !os_env NODE_VOLUME_SIZE, 200
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +0300522
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +0300523 # The same as for agent URL, here is an URL to the image that should be
524 # used for deploy the node. It should also be accessible from deploying
525 # node when nodes are provisioned by agent. Usually PXE/provision network address is used.
526 source_image: !os_env IRONIC_SOURCE_IMAGE_URL
527 source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +0300528
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +0300529 - name: iso # Volume with name 'iso' will be used
530 # for store image with cloud-init metadata.
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +0300531
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +0300532 cloudinit_meta_data: *cloudinit_meta_data
533 cloudinit_user_data: *cloudinit_user_data_hwe_cmp
Dmitry Tyzhnenko34595f82018-06-12 19:03:12 +0300534
Dmitry Tyzhnenko7c7b7d82018-07-20 15:35:07 +0300535 interfaces:
536 - label: enp9s0f0
537 l2_network_device: admin
538 mac_address: !os_env ETH0_MAC_ADDRESS_CMP002
539 - label: enp9s0f1
540 mac_address: !os_env ETH1_MAC_ADDRESS_CMP002
541 network_config:
542 enp9s0f0:
543 networks:
544 - admin