blob: 81d4cb833765a64c9aa48cd149695a1a98da6e9d [file] [log] [blame]
Dennis Dmitriev0f624a82018-06-11 12:57:13 +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 LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-cicd-k8s-calico-sl') %}
5{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
Dennis Dmitriev06fac232018-07-19 13:20:53 +03006{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01') %}
7{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01') %}
8{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02') %}
9{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03') %}
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030010
Dennis Dmitriev06fac232018-07-19 13:20:53 +030011{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01') %}
12{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02') %}
13{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03') %}
14{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001') %}
15{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002') %}
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +030016{% set HOSTNAME_CMP03 = os_env('HOSTNAME_CMP03', 'cmp003') %}
17{% set HOSTNAME_CMP04 = os_env('HOSTNAME_CMP04', 'cmp004') %}
Dennis Dmitriev06fac232018-07-19 13:20:53 +030018{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01') %}
19{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02') %}
20{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03') %}
21{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01') %}
22{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02') %}
23{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03') %}
24{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01') %}
25{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02') %}
26{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03') %}
27{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01') %}
Dennis Dmitrievd181ec42018-11-07 15:15:04 +020028{% set HOSTNAME_PRX02 = os_env('HOSTNAME_PRX02', 'prx02') %}
Dennis Dmitriev06fac232018-07-19 13:20:53 +030029{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01') %}
30{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02') %}
31{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03') %}
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030032
33{% import 'cookied-cicd-k8s-calico-sl/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030034{% import 'cookied-cicd-k8s-calico-sl/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
35{% import 'cookied-cicd-k8s-calico-sl/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP with context %}
36
37---
38aliases:
39 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
40 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030041 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
42 - &cloudinit_user_data_1604_swp {{ CLOUDINIT_USER_DATA_1604_SWP }}
43
44template:
45 devops_settings:
46 env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
47
48 address_pools:
49 private-pool01:
50 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
51 params:
52 ip_reserved:
53 gateway: +1
54 l2_network_device: +1
55 default_{{ HOSTNAME_CFG01 }}: +15
56
57 default_{{ HOSTNAME_CID }}: +90
58 default_{{ HOSTNAME_CID01 }}: +91
59 default_{{ HOSTNAME_CID02 }}: +92
60 default_{{ HOSTNAME_CID03 }}: +93
Dennis Dmitrievd181ec42018-11-07 15:15:04 +020061 default_{{ HOSTNAME_PRX01 }}: +221
62 default_{{ HOSTNAME_PRX02 }}: +222
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030063
64 ip_ranges:
65 dhcp: [+90, -10]
66
67 admin-pool01:
68 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
69 params:
70 ip_reserved:
71 gateway: +1
72 l2_network_device: +1
73 default_{{ HOSTNAME_CFG01 }}: +15
74
75 default_{{ HOSTNAME_CID }}: +90
76 default_{{ HOSTNAME_CID01 }}: +91
77 default_{{ HOSTNAME_CID02 }}: +92
78 default_{{ HOSTNAME_CID03 }}: +93
79
80 default_{{ HOSTNAME_CTL }}: +10
81 default_{{ HOSTNAME_CTL01 }}: +11
82 default_{{ HOSTNAME_CTL02 }}: +12
83 default_{{ HOSTNAME_CTL03 }}: +13
84 default_{{ HOSTNAME_CMP01 }}: +101
85 default_{{ HOSTNAME_CMP02 }}: +102
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +030086 default_{{ HOSTNAME_CMP03 }}: +103
87 default_{{ HOSTNAME_CMP04 }}: +104
Dennis Dmitriev0f624a82018-06-11 12:57:13 +030088 default_{{ HOSTNAME_LOG }}: +60
89 default_{{ HOSTNAME_LOG01 }}: +61
90 default_{{ HOSTNAME_LOG02 }}: +62
91 default_{{ HOSTNAME_LOG03 }}: +63
92 default_{{ HOSTNAME_MON }}: +70
93 default_{{ HOSTNAME_MON01 }}: +71
94 default_{{ HOSTNAME_MON02 }}: +72
95 default_{{ HOSTNAME_MON03 }}: +73
96 default_{{ HOSTNAME_MTR }}: +85
97 default_{{ HOSTNAME_MTR01 }}: +86
98 default_{{ HOSTNAME_MTR02 }}: +87
99 default_{{ HOSTNAME_MTR03 }}: +88
Dennis Dmitrievd181ec42018-11-07 15:15:04 +0200100 default_{{ HOSTNAME_PRX01 }}: +221
101 default_{{ HOSTNAME_PRX02 }}: +222
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300102 default_{{ HOSTNAME_KVM }}: +240
103 default_{{ HOSTNAME_KVM01 }}: +241
104 default_{{ HOSTNAME_KVM02 }}: +242
105 default_{{ HOSTNAME_KVM03 }}: +243
106
107 ip_ranges:
108 dhcp: [+90, -10]
109
110 tenant-pool01:
111 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
112 params:
113 ip_reserved:
114 gateway: +1
115 l2_network_device: +1
116 default_{{ HOSTNAME_CFG01 }}: +15
117
118 default_{{ HOSTNAME_CID }}: +90
119 default_{{ HOSTNAME_CID01 }}: +91
120 default_{{ HOSTNAME_CID02 }}: +92
121 default_{{ HOSTNAME_CID03 }}: +93
122
123 ip_ranges:
124 dhcp: [+10, -10]
125
126 external-pool01:
127 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
128 params:
129 ip_reserved:
130 gateway: +1
131 l2_network_device: +1
132 default_{{ HOSTNAME_CFG01 }}: +15
133
134 default_{{ HOSTNAME_CID }}: +90
135 default_{{ HOSTNAME_CID01 }}: +91
136 default_{{ HOSTNAME_CID02 }}: +92
137 default_{{ HOSTNAME_CID03 }}: +93
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200138 default_{{ HOSTNAME_CTL01 }}: +11
139 default_{{ HOSTNAME_CTL02 }}: +12
140 default_{{ HOSTNAME_CTL03 }}: +13
141 default_{{ HOSTNAME_CMP01 }}: +101
142 default_{{ HOSTNAME_CMP02 }}: +102
143 default_{{ HOSTNAME_CMP03 }}: +103
144 default_{{ HOSTNAME_CMP04 }}: +104
Dennis Dmitrievd181ec42018-11-07 15:15:04 +0200145 default_{{ HOSTNAME_PRX01 }}: +221
146 default_{{ HOSTNAME_PRX02 }}: +222
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300147
148 ip_ranges:
149 dhcp: [+10, -10]
150
151
152 groups:
153 - name: default
154 driver:
155 name: devops.driver.libvirt
156 params:
157 connection_string: {{ os_env('CONNECTION_STRING', 'qemu:///system') }}
158 storage_pool_name: {{ os_env('STORAGE_POOL_NAME', 'default') }}
159 stp: False
160 hpet: False
161 enable_acpi: true
162 use_host_cpu: {{ os_env('DRIVER_USE_HOST_CPU', true) }}
163 use_hugepages: {{ os_env('DRIVER_USE_HUGEPAGES', false) }}
164
165 network_pools:
166 admin: admin-pool01
167 private: private-pool01
168 tenant: tenant-pool01
169 external: external-pool01
170
171 l2_network_devices:
172 admin:
173 address_pool: admin-pool01
174 dhcp: true
175 forward:
176 mode: nat
177
178 private:
179 address_pool: private-pool01
180 dhcp: false
181 forward:
182 mode: route
183
184 external:
185 address_pool: external-pool01
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200186 dhcp: true
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300187 forward:
188 mode: nat
189
190
191 group_volumes:
192 - name: cfg01_day01_image # Pre-configured day01 image
193 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
194 format: qcow2
195 - name: mcp_ubuntu_1604_image # Pre-configured image for VCP nodes initially based on kvm nodes.
196 # http://images.mirantis.com/ubuntu-16-04-x64-latest.qcow2 (preffered)
197 # or
198 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
199 source_image: {{ os_env('MCP_IMAGE_PATH1604') }}
200 format: qcow2
201
202 nodes:
203 - name: {{ HOSTNAME_CFG01 }}
204 role: salt_master
205 params:
Dennis Dmitriev98c4ed52019-05-05 22:05:53 +0300206 vcpu: {{ os_env('CFG_NODE_CPU', 4) }}
Dennis Dmitriev19afa872018-12-21 15:18:51 +0200207 memory: {{ os_env('CFG_NODE_MEMORY', 12288) }}
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300208 boot:
209 - hd
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300210 volumes:
211 - name: system
212 capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }}
213 backing_store: cfg01_day01_image
214 format: qcow2
215 - name: config
216 capacity: 1
217 format: raw
218 device: cdrom
219 bus: ide
220 # source_image: !os_env CFG01_CONFIG_PATH # no source image required.
221 # it will be uploaded after config drive generation
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200222 interfaces: &all_interfaces
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300223 - label: ens3
224 l2_network_device: admin
225 interface_model: *interface_model
226 - label: ens4
227 l2_network_device: private
228 interface_model: *interface_model
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200229 - label: ens5
230 l2_network_device: external
231 interface_model: *interface_model
232 network_config: &all_network_config
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300233 ens3:
234 networks:
235 - admin
236 ens4:
237 networks:
238 - private
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200239 ens5:
240 networks:
241 - external
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300242
243 - name: {{ HOSTNAME_KVM01 }}
244 role: salt_minion
245 params:
246 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
247 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
248 boot:
249 - hd
250 cloud_init_volume_name: iso
251 cloud_init_iface_up: ens3
252 volumes:
253 - name: system
254 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
255 backing_store: mcp_ubuntu_1604_image
256 format: qcow2
257 - name: iso # Volume with name 'iso' will be used
258 # for store image with cloud-init metadata.
259 capacity: 1
260 format: raw
261 device: cdrom
262 bus: ide
263 cloudinit_meta_data: *cloudinit_meta_data
264 cloudinit_user_data: *cloudinit_user_data_1604_swp
265
266 interfaces: &interfaces
267 - label: ens3
268 l2_network_device: admin
269 interface_model: *interface_model
270 - label: ens4
271 l2_network_device: private
272 interface_model: *interface_model
273 network_config: &network_config
274 ens3:
275 networks:
276 - admin
277 ens4:
278 networks:
279 - private
280
281 - name: {{ HOSTNAME_KVM02 }}
282 role: salt_minion
283 params:
284 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
285 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
286 boot:
287 - hd
288 cloud_init_volume_name: iso
289 cloud_init_iface_up: ens3
290 volumes:
291 - name: system
292 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
293 backing_store: mcp_ubuntu_1604_image
294 format: qcow2
295 - name: iso # Volume with name 'iso' will be used
296 # for store image with cloud-init metadata.
297 capacity: 1
298 format: raw
299 device: cdrom
300 bus: ide
301 cloudinit_meta_data: *cloudinit_meta_data
302 cloudinit_user_data: *cloudinit_user_data_1604_swp
303
304 interfaces: *interfaces
305 network_config: *network_config
306
307 - name: {{ HOSTNAME_KVM03 }}
308 role: salt_minion
309 params:
310 vcpu: {{ os_env('KVM_NODE_CPU', 1) }}
311 memory: {{ os_env('KVM_NODE_MEMORY', 1024) }}
312 boot:
313 - hd
314 cloud_init_volume_name: iso
315 cloud_init_iface_up: ens3
316 volumes:
317 - name: system
318 capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }}
319 backing_store: mcp_ubuntu_1604_image
320 format: qcow2
321 - name: iso # Volume with name 'iso' will be used
322 # for store image with cloud-init metadata.
323 capacity: 1
324 format: raw
325 device: cdrom
326 bus: ide
327 cloudinit_meta_data: *cloudinit_meta_data
328 cloudinit_user_data: *cloudinit_user_data_1604_swp
329
330 interfaces: *interfaces
331 network_config: *network_config
332
333 - name: {{ HOSTNAME_CID01 }}
334 role: salt_minion
335 params:
336 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
337 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
338 boot:
339 - hd
340 cloud_init_volume_name: iso
341 cloud_init_iface_up: ens3
342 volumes:
343 - name: system
344 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
345 backing_store: mcp_ubuntu_1604_image
346 format: qcow2
347 - name: iso # Volume with name 'iso' will be used
348 # for store image with cloud-init metadata.
349 capacity: 1
350 format: raw
351 device: cdrom
352 bus: ide
353 cloudinit_meta_data: *cloudinit_meta_data
354 cloudinit_user_data: *cloudinit_user_data_1604_swp
355
356 interfaces: *interfaces
357 network_config: *network_config
358
359 - name: {{ HOSTNAME_CID02 }}
360 role: salt_minion
361 params:
362 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
363 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
364 boot:
365 - hd
366 cloud_init_volume_name: iso
367 cloud_init_iface_up: ens3
368 volumes:
369 - name: system
370 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
371 backing_store: mcp_ubuntu_1604_image
372 format: qcow2
373 - name: iso # Volume with name 'iso' will be used
374 # for store image with cloud-init metadata.
375 capacity: 1
376 format: raw
377 device: cdrom
378 bus: ide
379 cloudinit_meta_data: *cloudinit_meta_data
380 cloudinit_user_data: *cloudinit_user_data_1604_swp
381
382 interfaces: *interfaces
383 network_config: *network_config
384
385 - name: {{ HOSTNAME_CID03 }}
386 role: salt_minion
387 params:
388 vcpu: {{ os_env('CID_NODE_CPU', 3) }}
389 memory: {{ os_env('CID_NODE_MEMORY', 8192) }}
390 boot:
391 - hd
392 cloud_init_volume_name: iso
393 cloud_init_iface_up: ens3
394 volumes:
395 - name: system
396 capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }}
397 backing_store: mcp_ubuntu_1604_image
398 format: qcow2
399 - name: iso # Volume with name 'iso' will be used
400 # for store image with cloud-init metadata.
401 capacity: 1
402 format: raw
403 device: cdrom
404 bus: ide
405 cloudinit_meta_data: *cloudinit_meta_data
406 cloudinit_user_data: *cloudinit_user_data_1604_swp
407
408 interfaces: *interfaces
409 network_config: *network_config
410
411 - name: {{ HOSTNAME_CTL01 }}
412 role: k8s_controller
413 params:
414 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300415 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300416 boot:
417 - hd
418 cloud_init_volume_name: iso
419 cloud_init_iface_up: ens3
420 volumes:
421 - name: system
422 capacity: !os_env NODE_VOLUME_SIZE, 150
423 backing_store: mcp_ubuntu_1604_image
424 format: qcow2
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300425 - name: iso # Volume with name 'iso' will be used
426 # for store image with cloud-init metadata.
427 capacity: 1
428 format: raw
429 device: cdrom
430 bus: ide
431 cloudinit_meta_data: *cloudinit_meta_data
432 cloudinit_user_data: *cloudinit_user_data_1604
433
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200434 interfaces: *all_interfaces
435 network_config: *all_network_config
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300436
437 - name: {{ HOSTNAME_CTL02 }}
438 role: salt_minion
439 params:
440 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300441 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300442 boot:
443 - hd
444 cloud_init_volume_name: iso
445 cloud_init_iface_up: ens3
446 volumes:
447 - name: system
448 capacity: !os_env NODE_VOLUME_SIZE, 150
449 backing_store: mcp_ubuntu_1604_image
450 format: qcow2
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300451 - name: iso # Volume with name 'iso' will be used
452 # for store image with cloud-init metadata.
453 capacity: 1
454 format: raw
455 device: cdrom
456 bus: ide
457 cloudinit_meta_data: *cloudinit_meta_data
458 cloudinit_user_data: *cloudinit_user_data_1604
459
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200460 interfaces: *all_interfaces
461 network_config: *all_network_config
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300462
463 - name: {{ HOSTNAME_CTL03 }}
464 role: salt_minion
465 params:
466 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300467 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300468 boot:
469 - hd
470 cloud_init_volume_name: iso
471 cloud_init_iface_up: ens3
472 volumes:
473 - name: system
474 capacity: !os_env NODE_VOLUME_SIZE, 150
475 backing_store: mcp_ubuntu_1604_image
476 format: qcow2
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300477 - name: iso # Volume with name 'iso' will be used
478 # for store image with cloud-init metadata.
479 capacity: 1
480 format: raw
481 device: cdrom
482 bus: ide
483 cloudinit_meta_data: *cloudinit_meta_data
484 cloudinit_user_data: *cloudinit_user_data_1604
485
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200486 interfaces: *all_interfaces
487 network_config: *all_network_config
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300488
489 - name: {{ HOSTNAME_CMP01 }}
490 role: salt_minion
491 params:
492 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300493 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300494 boot:
495 - hd
496 cloud_init_volume_name: iso
497 cloud_init_iface_up: ens3
498 volumes:
499 - name: system
500 capacity: !os_env NODE_VOLUME_SIZE, 150
501 backing_store: mcp_ubuntu_1604_image
502 format: qcow2
503 - name: iso # Volume with name 'iso' will be used
504 # for store image with cloud-init metadata.
505 capacity: 1
506 format: raw
507 device: cdrom
508 bus: ide
509 cloudinit_meta_data: *cloudinit_meta_data
510 cloudinit_user_data: *cloudinit_user_data_1604
511
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200512 interfaces: *all_interfaces
513 network_config: *all_network_config
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300514
515 - name: {{ HOSTNAME_CMP02 }}
516 role: salt_minion
517 params:
518 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300519 memory: !os_env SLAVE_NODE_MEMORY, 4096
520 boot:
521 - hd
522 cloud_init_volume_name: iso
523 cloud_init_iface_up: ens3
524 volumes:
525 - name: system
526 capacity: !os_env NODE_VOLUME_SIZE, 150
527 backing_store: mcp_ubuntu_1604_image
528 format: qcow2
529 - name: iso # Volume with name 'iso' will be used
530 # for store image with cloud-init metadata.
531 capacity: 1
532 format: raw
533 device: cdrom
534 bus: ide
535 cloudinit_meta_data: *cloudinit_meta_data
536 cloudinit_user_data: *cloudinit_user_data_1604
537
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200538 interfaces: *all_interfaces
539 network_config: *all_network_config
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300540
541 - name: {{ HOSTNAME_CMP03 }}
542 role: salt_minion
543 params:
544 vcpu: !os_env SLAVE_NODE_CPU, 2
545 memory: !os_env SLAVE_NODE_MEMORY, 4096
546 boot:
547 - hd
548 cloud_init_volume_name: iso
549 cloud_init_iface_up: ens3
550 volumes:
551 - name: system
552 capacity: !os_env NODE_VOLUME_SIZE, 150
553 backing_store: mcp_ubuntu_1604_image
554 format: qcow2
555 - name: iso # Volume with name 'iso' will be used
556 # for store image with cloud-init metadata.
557 capacity: 1
558 format: raw
559 device: cdrom
560 bus: ide
561 cloudinit_meta_data: *cloudinit_meta_data
562 cloudinit_user_data: *cloudinit_user_data_1604
563
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200564 interfaces: *all_interfaces
565 network_config: *all_network_config
Dennis Dmitrieveb50ce12018-09-27 13:34:32 +0300566
567 - name: {{ HOSTNAME_CMP04 }}
568 role: salt_minion
569 params:
570 vcpu: !os_env SLAVE_NODE_CPU, 2
571 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300572 boot:
573 - hd
574 cloud_init_volume_name: iso
575 cloud_init_iface_up: ens3
576 volumes:
577 - name: system
578 capacity: !os_env NODE_VOLUME_SIZE, 150
579 backing_store: mcp_ubuntu_1604_image
580 format: qcow2
581 - name: iso # Volume with name 'iso' will be used
582 # for store image with cloud-init metadata.
583 capacity: 1
584 format: raw
585 device: cdrom
586 bus: ide
587 cloudinit_meta_data: *cloudinit_meta_data
588 cloudinit_user_data: *cloudinit_user_data_1604
589
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200590 interfaces: *all_interfaces
591 network_config: *all_network_config
Dennis Dmitriev0f624a82018-06-11 12:57:13 +0300592
593 - name: {{ HOSTNAME_MON01 }}
594 role: salt_minion
595 params:
596 vcpu: !os_env SLAVE_NODE_CPU, 2
597 memory: !os_env SLAVE_NODE_MEMORY, 4096
598 boot:
599 - hd
600 cloud_init_volume_name: iso
601 cloud_init_iface_up: ens3
602 volumes:
603 - name: system
604 capacity: !os_env NODE_VOLUME_SIZE, 150
605 backing_store: mcp_ubuntu_1604_image
606 format: qcow2
607 - name: iso # Volume with name 'iso' will be used
608 # for store image with cloud-init metadata.
609 capacity: 1
610 format: raw
611 device: cdrom
612 bus: ide
613 cloudinit_meta_data: *cloudinit_meta_data
614 cloudinit_user_data: *cloudinit_user_data_1604_swp
615
616 interfaces: *interfaces
617 network_config: *network_config
618
619 - name: {{ HOSTNAME_MON02 }}
620 role: salt_minion
621 params:
622 vcpu: !os_env SLAVE_NODE_CPU, 2
623 memory: !os_env SLAVE_NODE_MEMORY, 4096
624 boot:
625 - hd
626 cloud_init_volume_name: iso
627 cloud_init_iface_up: ens3
628 volumes:
629 - name: system
630 capacity: !os_env NODE_VOLUME_SIZE, 150
631 backing_store: mcp_ubuntu_1604_image
632 format: qcow2
633 - name: iso # Volume with name 'iso' will be used
634 # for store image with cloud-init metadata.
635 capacity: 1
636 format: raw
637 device: cdrom
638 bus: ide
639 cloudinit_meta_data: *cloudinit_meta_data
640 cloudinit_user_data: *cloudinit_user_data_1604_swp
641
642 interfaces: *interfaces
643 network_config: *network_config
644
645 - name: {{ HOSTNAME_MON03 }}
646 role: salt_minion
647 params:
648 vcpu: !os_env SLAVE_NODE_CPU, 2
649 memory: !os_env SLAVE_NODE_MEMORY, 4096
650 boot:
651 - hd
652 cloud_init_volume_name: iso
653 cloud_init_iface_up: ens3
654 volumes:
655 - name: system
656 capacity: !os_env NODE_VOLUME_SIZE, 150
657 backing_store: mcp_ubuntu_1604_image
658 format: qcow2
659 - name: iso # Volume with name 'iso' will be used
660 # for store image with cloud-init metadata.
661 capacity: 1
662 format: raw
663 device: cdrom
664 bus: ide
665 cloudinit_meta_data: *cloudinit_meta_data
666 cloudinit_user_data: *cloudinit_user_data_1604_swp
667
668 interfaces: *interfaces
669 network_config: *network_config
670
671 - name: {{ HOSTNAME_LOG01 }}
672 role: salt_minion
673 params:
674 vcpu: !os_env SLAVE_NODE_CPU, 2
675 memory: !os_env SLAVE_NODE_MEMORY, 4096
676 boot:
677 - hd
678 cloud_init_volume_name: iso
679 cloud_init_iface_up: ens3
680 volumes:
681 - name: system
682 capacity: !os_env NODE_VOLUME_SIZE, 150
683 backing_store: mcp_ubuntu_1604_image
684 format: qcow2
685 - name: iso # Volume with name 'iso' will be used
686 # for store image with cloud-init metadata.
687 capacity: 1
688 format: raw
689 device: cdrom
690 bus: ide
691 cloudinit_meta_data: *cloudinit_meta_data
692 cloudinit_user_data: *cloudinit_user_data_1604_swp
693
694 interfaces: *interfaces
695 network_config: *network_config
696
697 - name: {{ HOSTNAME_LOG02 }}
698 role: salt_minion
699 params:
700 vcpu: !os_env SLAVE_NODE_CPU, 2
701 memory: !os_env SLAVE_NODE_MEMORY, 4096
702 boot:
703 - hd
704 cloud_init_volume_name: iso
705 cloud_init_iface_up: ens3
706 volumes:
707 - name: system
708 capacity: !os_env NODE_VOLUME_SIZE, 150
709 backing_store: mcp_ubuntu_1604_image
710 format: qcow2
711 - name: iso # Volume with name 'iso' will be used
712 # for store image with cloud-init metadata.
713 capacity: 1
714 format: raw
715 device: cdrom
716 bus: ide
717 cloudinit_meta_data: *cloudinit_meta_data
718 cloudinit_user_data: *cloudinit_user_data_1604_swp
719
720 interfaces: *interfaces
721 network_config: *network_config
722
723 - name: {{ HOSTNAME_LOG03 }}
724 role: salt_minion
725 params:
726 vcpu: !os_env SLAVE_NODE_CPU, 2
727 memory: !os_env SLAVE_NODE_MEMORY, 4096
728 boot:
729 - hd
730 cloud_init_volume_name: iso
731 cloud_init_iface_up: ens3
732 volumes:
733 - name: system
734 capacity: !os_env NODE_VOLUME_SIZE, 150
735 backing_store: mcp_ubuntu_1604_image
736 format: qcow2
737 - name: iso # Volume with name 'iso' will be used
738 # for store image with cloud-init metadata.
739 capacity: 1
740 format: raw
741 device: cdrom
742 bus: ide
743 cloudinit_meta_data: *cloudinit_meta_data
744 cloudinit_user_data: *cloudinit_user_data_1604_swp
745
746 interfaces: *interfaces
747 network_config: *network_config
748
749 - name: {{ HOSTNAME_MTR01 }}
750 role: salt_minion
751 params:
752 vcpu: !os_env SLAVE_NODE_CPU, 2
753 memory: !os_env SLAVE_NODE_MEMORY, 4096
754 boot:
755 - hd
756 cloud_init_volume_name: iso
757 cloud_init_iface_up: ens3
758 volumes:
759 - name: system
760 capacity: !os_env NODE_VOLUME_SIZE, 150
761 backing_store: mcp_ubuntu_1604_image
762 format: qcow2
763 - name: iso # Volume with name 'iso' will be used
764 # for store image with cloud-init metadata.
765 capacity: 1
766 format: raw
767 device: cdrom
768 bus: ide
769 cloudinit_meta_data: *cloudinit_meta_data
770 cloudinit_user_data: *cloudinit_user_data_1604_swp
771
772 interfaces: *interfaces
773 network_config: *network_config
774
775 - name: {{ HOSTNAME_MTR02 }}
776 role: salt_minion
777 params:
778 vcpu: !os_env SLAVE_NODE_CPU, 2
779 memory: !os_env SLAVE_NODE_MEMORY, 4096
780 boot:
781 - hd
782 cloud_init_volume_name: iso
783 cloud_init_iface_up: ens3
784 volumes:
785 - name: system
786 capacity: !os_env NODE_VOLUME_SIZE, 150
787 backing_store: mcp_ubuntu_1604_image
788 format: qcow2
789 - name: iso # Volume with name 'iso' will be used
790 # for store image with cloud-init metadata.
791 capacity: 1
792 format: raw
793 device: cdrom
794 bus: ide
795 cloudinit_meta_data: *cloudinit_meta_data
796 cloudinit_user_data: *cloudinit_user_data_1604_swp
797
798 interfaces: *interfaces
799 network_config: *network_config
800
801 - name: {{ HOSTNAME_MTR03 }}
802 role: salt_minion
803 params:
804 vcpu: !os_env SLAVE_NODE_CPU, 2
805 memory: !os_env SLAVE_NODE_MEMORY, 4096
806 boot:
807 - hd
808 cloud_init_volume_name: iso
809 cloud_init_iface_up: ens3
810 volumes:
811 - name: system
812 capacity: !os_env NODE_VOLUME_SIZE, 150
813 backing_store: mcp_ubuntu_1604_image
814 format: qcow2
815 - name: iso # Volume with name 'iso' will be used
816 # for store image with cloud-init metadata.
817 capacity: 1
818 format: raw
819 device: cdrom
820 bus: ide
821 cloudinit_meta_data: *cloudinit_meta_data
822 cloudinit_user_data: *cloudinit_user_data_1604_swp
823
824 interfaces: *interfaces
825 network_config: *network_config
Dennis Dmitrievd181ec42018-11-07 15:15:04 +0200826
827 - name: {{ HOSTNAME_PRX01 }}
828 role: salt_minion
829 params:
830 vcpu: !os_env SLAVE_NODE_CPU, 1
831 memory: !os_env SLAVE_NODE_MEMORY, 2048
832 boot:
833 - hd
834 cloud_init_volume_name: iso
835 cloud_init_iface_up: ens3
836 volumes:
837 - name: system
838 capacity: !os_env NODE_VOLUME_SIZE, 150
839 backing_store: mcp_ubuntu_1604_image
840 format: qcow2
841 - name: iso # Volume with name 'iso' will be used
842 # for store image with cloud-init metadata.
843 capacity: 1
844 format: raw
845 device: cdrom
846 bus: ide
847 cloudinit_meta_data: *cloudinit_meta_data
848 cloudinit_user_data: *cloudinit_user_data_1604_swp
849
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200850 interfaces: *all_interfaces
851 network_config: *all_network_config
Dennis Dmitrievd181ec42018-11-07 15:15:04 +0200852
853 - name: {{ HOSTNAME_PRX02 }}
854 role: salt_minion
855 params:
856 vcpu: !os_env SLAVE_NODE_CPU, 1
857 memory: !os_env SLAVE_NODE_MEMORY, 2048
858 boot:
859 - hd
860 cloud_init_volume_name: iso
861 cloud_init_iface_up: ens3
862 volumes:
863 - name: system
864 capacity: !os_env NODE_VOLUME_SIZE, 150
865 backing_store: mcp_ubuntu_1604_image
866 format: qcow2
867 - name: iso # Volume with name 'iso' will be used
868 # for store image with cloud-init metadata.
869 capacity: 1
870 format: raw
871 device: cdrom
872 bus: ide
873 cloudinit_meta_data: *cloudinit_meta_data
874 cloudinit_user_data: *cloudinit_user_data_1604_swp
875
Dennis Dmitriev66650fc2018-11-02 11:04:37 +0200876 interfaces: *all_interfaces
877 network_config: *all_network_config