blob: be39109280c31a730708c72300904e95dd71fc74 [file] [log] [blame]
Oleksii Butenko87d00c02018-09-05 19:11:17 +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{% import 'cookied-mcp-queens-ovs/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'cookied-mcp-queens-ovs/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'cookied-mcp-queens-ovs/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
7
8---
9aliases:
10 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
11 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
12 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
13 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
14
15{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-mcp-queens-ovs') %}
16{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %}
17{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
18{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
19{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
20{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
Oleksii Butenko0d682792018-09-11 18:48:05 +030021{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp1.' + DOMAIN_NAME) %}
22{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp2.' + DOMAIN_NAME) %}
Oleksii Butenko87d00c02018-09-05 19:11:17 +030023{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
24{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
25{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
26{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %}
27{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %}
28{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %}
29{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %}
30{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %}
31{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %}
32{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
Oleksii Butenko81d8a7f2018-09-26 16:09:27 +030033{% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01.' + DOMAIN_NAME) %}
34{% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02.' + DOMAIN_NAME) %}
Oleksii Butenko87d00c02018-09-05 19:11:17 +030035{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
Oleksii Butenkof57d1ff2018-09-28 17:59:45 +030036{% set HOSTNAME_SHARE01 = os_env('HOSTNAME_SHARE01', 'share01.' + DOMAIN_NAME) %}
Oleksii Butenko40772422018-10-01 16:52:49 +030037{% set HOSTNAME_SHARE02 = os_env('HOSTNAME_SHARE01', 'share02.' + DOMAIN_NAME) %}
38{% set HOSTNAME_SHARE03 = os_env('HOSTNAME_SHARE01', 'share03.' + DOMAIN_NAME) %}
Oleksii Butenko87d00c02018-09-05 19:11:17 +030039template:
40 devops_settings:
41 env_name: {{ os_env('ENV_NAME', 'cookied-mcp-queens-ovs_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
42
43 address_pools:
44 private-pool01:
45 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
46 params:
47 ip_reserved:
48 gateway: +1
49 l2_network_device: +1
50 default_{{ HOSTNAME_CFG01 }}: +100
51 default_{{ HOSTNAME_CTL01 }}: +101
52 default_{{ HOSTNAME_CTL02 }}: +102
53 default_{{ HOSTNAME_CTL03 }}: +103
54 default_{{ HOSTNAME_CMP01 }}: +105
55 default_{{ HOSTNAME_CMP02 }}: +106
56 default_{{ HOSTNAME_MON01 }}: +71
57 default_{{ HOSTNAME_MON02 }}: +72
58 default_{{ HOSTNAME_MON03 }}: +73
59 default_{{ HOSTNAME_LOG01 }}: +61
60 default_{{ HOSTNAME_LOG02 }}: +62
61 default_{{ HOSTNAME_LOG03 }}: +63
62 default_{{ HOSTNAME_MTR01 }}: +86
63 default_{{ HOSTNAME_MTR02 }}: +87
64 default_{{ HOSTNAME_MTR03 }}: +88
65 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko81d8a7f2018-09-26 16:09:27 +030066 default_{{ HOSTNAME_DNS01 }}: +111
67 default_{{ HOSTNAME_DNS02 }}: +112
Oleksii Butenko87d00c02018-09-05 19:11:17 +030068 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko40772422018-10-01 16:52:49 +030069 default_{{ HOSTNAME_SHARE01 }}: +69
70 default_{{ HOSTNAME_SHARE02 }}: +70
71 default_{{ HOSTNAME_SHARE03 }}: +71
Oleksii Butenko87d00c02018-09-05 19:11:17 +030072 ip_ranges:
73 dhcp: [+90, -10]
74
75 admin-pool01:
76 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
77 params:
78 ip_reserved:
79 gateway: +1
80 l2_network_device: +1
81 default_{{ HOSTNAME_CFG01 }}: +90
82 default_{{ HOSTNAME_CTL01 }}: +101
83 default_{{ HOSTNAME_CTL02 }}: +102
84 default_{{ HOSTNAME_CTL03 }}: +103
85 default_{{ HOSTNAME_CMP01 }}: +105
86 default_{{ HOSTNAME_CMP02 }}: +106
87 default_{{ HOSTNAME_MON01 }}: +71
88 default_{{ HOSTNAME_MON02 }}: +72
89 default_{{ HOSTNAME_MON03 }}: +73
90 default_{{ HOSTNAME_LOG01 }}: +61
91 default_{{ HOSTNAME_LOG02 }}: +62
92 default_{{ HOSTNAME_LOG03 }}: +63
93 default_{{ HOSTNAME_MTR01 }}: +86
94 default_{{ HOSTNAME_MTR02 }}: +87
95 default_{{ HOSTNAME_MTR03 }}: +88
96 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko81d8a7f2018-09-26 16:09:27 +030097 default_{{ HOSTNAME_DNS01 }}: +111
98 default_{{ HOSTNAME_DNS02 }}: +112
Oleksii Butenko87d00c02018-09-05 19:11:17 +030099 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko40772422018-10-01 16:52:49 +0300100 default_{{ HOSTNAME_SHARE01 }}: +69
101 default_{{ HOSTNAME_SHARE02 }}: +70
102 default_{{ HOSTNAME_SHARE03 }}: +71
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300103 ip_ranges:
104 dhcp: [+90, -10]
105
106 tenant-pool01:
107 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
108 params:
109 ip_reserved:
110 gateway: +1
111 l2_network_device: +1
112 default_{{ HOSTNAME_CFG01 }}: +100
113 default_{{ HOSTNAME_CTL01 }}: +101
114 default_{{ HOSTNAME_CTL02 }}: +102
115 default_{{ HOSTNAME_CTL03 }}: +103
116 default_{{ HOSTNAME_CMP01 }}: +105
117 default_{{ HOSTNAME_CMP02 }}: +106
118 default_{{ HOSTNAME_MON01 }}: +71
119 default_{{ HOSTNAME_MON02 }}: +72
120 default_{{ HOSTNAME_MON03 }}: +73
121 default_{{ HOSTNAME_LOG01 }}: +61
122 default_{{ HOSTNAME_LOG02 }}: +62
123 default_{{ HOSTNAME_LOG03 }}: +63
124 default_{{ HOSTNAME_MTR01 }}: +86
125 default_{{ HOSTNAME_MTR02 }}: +87
126 default_{{ HOSTNAME_MTR03 }}: +88
127 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko81d8a7f2018-09-26 16:09:27 +0300128 default_{{ HOSTNAME_DNS01 }}: +111
129 default_{{ HOSTNAME_DNS02 }}: +112
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300130 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko40772422018-10-01 16:52:49 +0300131 default_{{ HOSTNAME_SHARE01 }}: +69
132 default_{{ HOSTNAME_SHARE02 }}: +70
133 default_{{ HOSTNAME_SHARE03 }}: +71
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300134 ip_ranges:
135 dhcp: [+10, -10]
136
137 external-pool01:
138 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
139 params:
140 ip_reserved:
141 gateway: +1
142 l2_network_device: +1
143 default_{{ HOSTNAME_CFG01 }}: +100
144 default_{{ HOSTNAME_CTL01 }}: +101
145 default_{{ HOSTNAME_CTL02 }}: +102
146 default_{{ HOSTNAME_CTL03 }}: +103
147 default_{{ HOSTNAME_CMP01 }}: +105
148 default_{{ HOSTNAME_CMP02 }}: +106
149 default_{{ HOSTNAME_MON01 }}: +71
150 default_{{ HOSTNAME_MON02 }}: +72
151 default_{{ HOSTNAME_MON03 }}: +73
152 default_{{ HOSTNAME_LOG01 }}: +61
153 default_{{ HOSTNAME_LOG02 }}: +62
154 default_{{ HOSTNAME_LOG03 }}: +63
155 default_{{ HOSTNAME_MTR01 }}: +86
156 default_{{ HOSTNAME_MTR02 }}: +87
157 default_{{ HOSTNAME_MTR03 }}: +88
158 default_{{ HOSTNAME_GTW01 }}: +110
Oleksii Butenko81d8a7f2018-09-26 16:09:27 +0300159 default_{{ HOSTNAME_DNS01 }}: +111
160 default_{{ HOSTNAME_DNS02 }}: +112
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300161 default_{{ HOSTNAME_PRX01 }}: +121
Oleksii Butenko40772422018-10-01 16:52:49 +0300162 default_{{ HOSTNAME_SHARE01 }}: +69
163 default_{{ HOSTNAME_SHARE02 }}: +70
164 default_{{ HOSTNAME_SHARE03 }}: +71
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300165 ip_ranges:
Oleksii Butenkoffc09222018-09-21 12:37:16 +0300166 dhcp: [+130, +220]
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300167
168
169 groups:
170 - name: default
171 driver:
172 name: devops.driver.libvirt
173 params:
174 connection_string: !os_env CONNECTION_STRING, qemu:///system
175 storage_pool_name: !os_env STORAGE_POOL_NAME, default
176 stp: False
177 hpet: False
178 enable_acpi: true
179 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
180 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
181
182 network_pools:
183 admin: admin-pool01
184 private: private-pool01
185 tenant: tenant-pool01
186 external: external-pool01
187
188 l2_network_devices:
189 private:
190 address_pool: private-pool01
191 dhcp: false
192 forward:
193 mode: route
194
195 admin:
196 address_pool: admin-pool01
197 dhcp: true
198 forward:
199 mode: nat
200
201 tenant:
202 address_pool: tenant-pool01
203 dhcp: false
204
205 external:
206 address_pool: external-pool01
207 dhcp: false
208 forward:
209 mode: route
210
211
212 group_volumes:
213 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
214 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
215 format: qcow2
216 - name: cfg01_day01_image # Pre-configured day01 image
217 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
218 format: qcow2
219 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
220 source_image: !os_env MCP_IMAGE_PATH1604
221 format: qcow2
222
223 nodes:
224 - name: {{ HOSTNAME_CFG01 }}
225 role: salt_master
226 params:
227 vcpu: !os_env SLAVE_NODE_CPU, 2
228 memory: !os_env SLAVE_NODE_MEMORY, 8192
229 boot:
230 - hd
231 cloud_init_volume_name: iso
232 cloud_init_iface_up: ens3
233 volumes:
234 - name: system
235 capacity: !os_env NODE_VOLUME_SIZE, 150
236 backing_store: cfg01_day01_image
237 format: qcow2
238 - name: iso # Volume with name 'iso' will be used
239 # for store image with cloud-init metadata.
240 capacity: 1
241 format: raw
242 device: cdrom
243 bus: ide
244 cloudinit_meta_data: *cloudinit_meta_data
245 cloudinit_user_data: *cloudinit_user_data_cfg01
246
247 interfaces:
248 - label: ens3
249 l2_network_device: admin
250 interface_model: *interface_model
251 - label: ens4
252 l2_network_device: private
253 interface_model: *interface_model
254 network_config:
255 ens3:
256 networks:
257 - admin
258 ens4:
259 networks:
260 - private
261
262 - name: {{ HOSTNAME_CTL01 }}
263 role: salt_minion
264 params:
265 vcpu: !os_env SLAVE_NODE_CPU, 2
266 memory: !os_env SLAVE_NODE_MEMORY, 16384
267 boot:
268 - hd
269 cloud_init_volume_name: iso
270 cloud_init_iface_up: ens3
271 volumes:
272 - name: system
273 capacity: !os_env NODE_VOLUME_SIZE, 150
274 backing_store: mcp_ubuntu_1604_image
275 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300276 - name: iso # Volume with name 'iso' will be used
277 # for store image with cloud-init metadata.
278 capacity: 1
279 format: raw
280 device: cdrom
281 bus: ide
282 cloudinit_meta_data: *cloudinit_meta_data
283 cloudinit_user_data: *cloudinit_user_data_1604
284
285 interfaces: &interfaces
286 - label: ens3
287 l2_network_device: admin
288 interface_model: *interface_model
289 - label: ens4
290 l2_network_device: private
291 interface_model: *interface_model
292 network_config: &network_config
293 ens3:
294 networks:
295 - admin
296 ens4:
297 networks:
298 - private
299
300 - name: {{ HOSTNAME_CTL02 }}
301 role: salt_minion
302 params:
303 vcpu: !os_env SLAVE_NODE_CPU, 2
304 memory: !os_env SLAVE_NODE_MEMORY, 16384
305 boot:
306 - hd
307 cloud_init_volume_name: iso
308 cloud_init_iface_up: ens3
309 volumes:
310 - name: system
311 capacity: !os_env NODE_VOLUME_SIZE, 150
312 backing_store: mcp_ubuntu_1604_image
313 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300314 - name: iso # Volume with name 'iso' will be used
315 # for store image with cloud-init metadata.
316 capacity: 1
317 format: raw
318 device: cdrom
319 bus: ide
320 cloudinit_meta_data: *cloudinit_meta_data
321 cloudinit_user_data: *cloudinit_user_data_1604
322
323 interfaces: *interfaces
324 network_config: *network_config
325
326 - name: {{ HOSTNAME_CTL03 }}
327 role: salt_minion
328 params:
329 vcpu: !os_env SLAVE_NODE_CPU, 2
330 memory: !os_env SLAVE_NODE_MEMORY, 16384
331 boot:
332 - hd
333 cloud_init_volume_name: iso
334 cloud_init_iface_up: ens3
335 volumes:
336 - name: system
337 capacity: !os_env NODE_VOLUME_SIZE, 150
338 backing_store: mcp_ubuntu_1604_image
339 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300340 - name: iso # Volume with name 'iso' will be used
341 # for store image with cloud-init metadata.
342 capacity: 1
343 format: raw
344 device: cdrom
345 bus: ide
346 cloudinit_meta_data: *cloudinit_meta_data
347 cloudinit_user_data: *cloudinit_user_data_1604
348
349 interfaces: *interfaces
350 network_config: *network_config
351
352 - name: {{ HOSTNAME_MON01 }}
353 role: salt_minion
354 params:
355 vcpu: !os_env SLAVE_NODE_CPU, 2
356 memory: !os_env SLAVE_NODE_MEMORY, 4096
357 boot:
358 - hd
359 cloud_init_volume_name: iso
360 cloud_init_iface_up: ens3
361 volumes:
362 - name: system
363 capacity: !os_env NODE_VOLUME_SIZE, 150
364 backing_store: mcp_ubuntu_1604_image
365 format: qcow2
366 - name: iso # Volume with name 'iso' will be used
367 # for store image with cloud-init metadata.
368 capacity: 1
369 format: raw
370 device: cdrom
371 bus: ide
372 cloudinit_meta_data: *cloudinit_meta_data
373 cloudinit_user_data: *cloudinit_user_data_1604
374
375 interfaces: *interfaces
376 network_config: *network_config
377
378 - name: {{ HOSTNAME_MON02 }}
379 role: salt_minion
380 params:
381 vcpu: !os_env SLAVE_NODE_CPU, 2
382 memory: !os_env SLAVE_NODE_MEMORY, 4096
383 boot:
384 - hd
385 cloud_init_volume_name: iso
386 cloud_init_iface_up: ens3
387 volumes:
388 - name: system
389 capacity: !os_env NODE_VOLUME_SIZE, 150
390 backing_store: mcp_ubuntu_1604_image
391 format: qcow2
392 - name: iso # Volume with name 'iso' will be used
393 # for store image with cloud-init metadata.
394 capacity: 1
395 format: raw
396 device: cdrom
397 bus: ide
398 cloudinit_meta_data: *cloudinit_meta_data
399 cloudinit_user_data: *cloudinit_user_data_1604
400
401 interfaces: *interfaces
402 network_config: *network_config
403
404 - name: {{ HOSTNAME_MON03 }}
405 role: salt_minion
406 params:
407 vcpu: !os_env SLAVE_NODE_CPU, 2
408 memory: !os_env SLAVE_NODE_MEMORY, 4096
409 boot:
410 - hd
411 cloud_init_volume_name: iso
412 cloud_init_iface_up: ens3
413 volumes:
414 - name: system
415 capacity: !os_env NODE_VOLUME_SIZE, 150
416 backing_store: mcp_ubuntu_1604_image
417 format: qcow2
418 - name: iso # Volume with name 'iso' will be used
419 # for store image with cloud-init metadata.
420 capacity: 1
421 format: raw
422 device: cdrom
423 bus: ide
424 cloudinit_meta_data: *cloudinit_meta_data
425 cloudinit_user_data: *cloudinit_user_data_1604
426
427 interfaces: *interfaces
428 network_config: *network_config
429
430 - name: {{ HOSTNAME_LOG01 }}
431 role: salt_minion
432 params:
433 vcpu: !os_env SLAVE_NODE_CPU, 2
434 memory: !os_env SLAVE_NODE_MEMORY, 4096
435 boot:
436 - hd
437 cloud_init_volume_name: iso
438 cloud_init_iface_up: ens3
439 volumes:
440 - name: system
441 capacity: !os_env NODE_VOLUME_SIZE, 150
442 backing_store: mcp_ubuntu_1604_image
443 format: qcow2
444 - name: iso # Volume with name 'iso' will be used
445 # for store image with cloud-init metadata.
446 capacity: 1
447 format: raw
448 device: cdrom
449 bus: ide
450 cloudinit_meta_data: *cloudinit_meta_data
451 cloudinit_user_data: *cloudinit_user_data_1604
452
453 interfaces: *interfaces
454 network_config: *network_config
455
456 - name: {{ HOSTNAME_LOG02 }}
457 role: salt_minion
458 params:
459 vcpu: !os_env SLAVE_NODE_CPU, 2
460 memory: !os_env SLAVE_NODE_MEMORY, 4096
461 boot:
462 - hd
463 cloud_init_volume_name: iso
464 cloud_init_iface_up: ens3
465 volumes:
466 - name: system
467 capacity: !os_env NODE_VOLUME_SIZE, 150
468 backing_store: mcp_ubuntu_1604_image
469 format: qcow2
470 - name: iso # Volume with name 'iso' will be used
471 # for store image with cloud-init metadata.
472 capacity: 1
473 format: raw
474 device: cdrom
475 bus: ide
476 cloudinit_meta_data: *cloudinit_meta_data
477 cloudinit_user_data: *cloudinit_user_data_1604
478
479 interfaces: *interfaces
480 network_config: *network_config
481
482 - name: {{ HOSTNAME_LOG03 }}
483 role: salt_minion
484 params:
485 vcpu: !os_env SLAVE_NODE_CPU, 2
486 memory: !os_env SLAVE_NODE_MEMORY, 4096
487 boot:
488 - hd
489 cloud_init_volume_name: iso
490 cloud_init_iface_up: ens3
491 volumes:
492 - name: system
493 capacity: !os_env NODE_VOLUME_SIZE, 150
494 backing_store: mcp_ubuntu_1604_image
495 format: qcow2
496 - name: iso # Volume with name 'iso' will be used
497 # for store image with cloud-init metadata.
498 capacity: 1
499 format: raw
500 device: cdrom
501 bus: ide
502 cloudinit_meta_data: *cloudinit_meta_data
503 cloudinit_user_data: *cloudinit_user_data_1604
504
505 interfaces: *interfaces
506 network_config: *network_config
507
508 - name: {{ HOSTNAME_MTR01 }}
509 role: salt_minion
510 params:
511 vcpu: !os_env SLAVE_NODE_CPU, 2
512 memory: !os_env SLAVE_NODE_MEMORY, 4096
513 boot:
514 - hd
515 cloud_init_volume_name: iso
516 cloud_init_iface_up: ens3
517 volumes:
518 - name: system
519 capacity: !os_env NODE_VOLUME_SIZE, 150
520 backing_store: mcp_ubuntu_1604_image
521 format: qcow2
522 - name: iso # Volume with name 'iso' will be used
523 # for store image with cloud-init metadata.
524 capacity: 1
525 format: raw
526 device: cdrom
527 bus: ide
528 cloudinit_meta_data: *cloudinit_meta_data
529 cloudinit_user_data: *cloudinit_user_data_1604
530
531 interfaces: *interfaces
532 network_config: *network_config
533
534 - name: {{ HOSTNAME_MTR02 }}
535 role: salt_minion
536 params:
537 vcpu: !os_env SLAVE_NODE_CPU, 2
538 memory: !os_env SLAVE_NODE_MEMORY, 4096
539 boot:
540 - hd
541 cloud_init_volume_name: iso
542 cloud_init_iface_up: ens3
543 volumes:
544 - name: system
545 capacity: !os_env NODE_VOLUME_SIZE, 150
546 backing_store: mcp_ubuntu_1604_image
547 format: qcow2
548 - name: iso # Volume with name 'iso' will be used
549 # for store image with cloud-init metadata.
550 capacity: 1
551 format: raw
552 device: cdrom
553 bus: ide
554 cloudinit_meta_data: *cloudinit_meta_data
555 cloudinit_user_data: *cloudinit_user_data_1604
556
557 interfaces: *interfaces
558 network_config: *network_config
559
560 - name: {{ HOSTNAME_MTR03 }}
561 role: salt_minion
562 params:
563 vcpu: !os_env SLAVE_NODE_CPU, 2
564 memory: !os_env SLAVE_NODE_MEMORY, 4096
565 boot:
566 - hd
567 cloud_init_volume_name: iso
568 cloud_init_iface_up: ens3
569 volumes:
570 - name: system
571 capacity: !os_env NODE_VOLUME_SIZE, 150
572 backing_store: mcp_ubuntu_1604_image
573 format: qcow2
574 - name: iso # Volume with name 'iso' will be used
575 # for store image with cloud-init metadata.
576 capacity: 1
577 format: raw
578 device: cdrom
579 bus: ide
580 cloudinit_meta_data: *cloudinit_meta_data
581 cloudinit_user_data: *cloudinit_user_data_1604
582
583 interfaces: *interfaces
584 network_config: *network_config
585
586 - name: {{ HOSTNAME_PRX01 }}
587 role: salt_minion
588 params:
589 vcpu: !os_env SLAVE_NODE_CPU, 1
590 memory: !os_env SLAVE_NODE_MEMORY, 2048
591 boot:
592 - hd
593 cloud_init_volume_name: iso
594 cloud_init_iface_up: ens3
595 volumes:
596 - name: system
597 capacity: !os_env NODE_VOLUME_SIZE, 150
598 backing_store: mcp_ubuntu_1604_image
599 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300600 - name: iso # Volume with name 'iso' will be used
601 # for store image with cloud-init metadata.
602 capacity: 1
603 format: raw
604 device: cdrom
605 bus: ide
606 cloudinit_meta_data: *cloudinit_meta_data
607 cloudinit_user_data: *cloudinit_user_data_1604
608
609 interfaces: *interfaces
610 network_config: *network_config
611
612 - name: {{ HOSTNAME_CMP01 }}
613 role: salt_minion
614 params:
615 vcpu: !os_env SLAVE_NODE_CPU, 3
616 memory: !os_env SLAVE_NODE_MEMORY, 4096
617 boot:
618 - hd
619 cloud_init_volume_name: iso
620 cloud_init_iface_up: ens3
621 volumes:
622 - name: system
623 capacity: !os_env NODE_VOLUME_SIZE, 150
624 backing_store: cloudimage1604
625 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300626 - name: cinder
627 capacity: 50
628 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300629 - name: iso # Volume with name 'iso' will be used
630 # for store image with cloud-init metadata.
631 capacity: 1
632 format: raw
633 device: cdrom
634 bus: ide
635 cloudinit_meta_data: *cloudinit_meta_data
636 cloudinit_user_data: *cloudinit_user_data_1604
637
638
639 interfaces: &all_interfaces
640 - label: ens3
641 l2_network_device: admin
642 interface_model: *interface_model
643 - label: ens4
644 l2_network_device: private
645 interface_model: *interface_model
646 - label: ens5
647 l2_network_device: tenant
648 interface_model: *interface_model
649 - label: ens6
650 l2_network_device: external
651 interface_model: *interface_model
652 network_config: &all_network_config
653 ens3:
654 networks:
655 - admin
656 ens4:
657 networks:
658 - private
659 ens5:
660 networks:
661 - tenant
662 ens6:
663 networks:
664 - external
665
666 - name: {{ HOSTNAME_CMP02 }}
667 role: salt_minion
668 params:
669 vcpu: !os_env SLAVE_NODE_CPU, 3
670 memory: !os_env SLAVE_NODE_MEMORY, 4096
671 boot:
672 - hd
673 cloud_init_volume_name: iso
674 cloud_init_iface_up: ens3
675 volumes:
676 - name: system
677 capacity: !os_env NODE_VOLUME_SIZE, 150
678 backing_store: cloudimage1604
679 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300680 - name: cinder
681 capacity: 50
682 format: qcow2
Oleksii Butenko87d00c02018-09-05 19:11:17 +0300683 - name: iso # Volume with name 'iso' will be used
684 # for store image with cloud-init metadata.
685 capacity: 1
686 format: raw
687 device: cdrom
688 bus: ide
689 cloudinit_meta_data: *cloudinit_meta_data
690 cloudinit_user_data: *cloudinit_user_data_1604
691
692 interfaces: *all_interfaces
693 network_config: *all_network_config
694
695 - name: {{ HOSTNAME_GTW01 }}
696 role: salt_minion
697 params:
698 vcpu: !os_env SLAVE_NODE_CPU, 4
699 memory: !os_env SLAVE_NODE_MEMORY, 4096
700 boot:
701 - hd
702 cloud_init_volume_name: iso
703 cloud_init_iface_up: ens3
704 volumes:
705 - name: system
706 capacity: !os_env NODE_VOLUME_SIZE, 150
707 backing_store: cloudimage1604
708 format: qcow2
709 - name: iso # Volume with name 'iso' will be used
710 # for store image with cloud-init metadata.
711 capacity: 1
712 format: raw
713 device: cdrom
714 bus: ide
715 cloudinit_meta_data: *cloudinit_meta_data
716 cloudinit_user_data: *cloudinit_user_data_1604
717
718 interfaces: *all_interfaces
719 network_config: *all_network_config
Oleksii Butenkoe0fc5f22018-09-25 14:29:42 +0300720
Oleksii Butenko81d8a7f2018-09-26 16:09:27 +0300721 - name: {{ HOSTNAME_DNS01 }}
722 role: salt_minion
723 params:
724 vcpu: !os_env SLAVE_NODE_CPU, 1
725 memory: !os_env SLAVE_NODE_MEMORY, 2048
726 boot:
727 - hd
728 cloud_init_volume_name: iso
729 cloud_init_iface_up: ens3
730 volumes:
731 - name: system
732 capacity: !os_env NODE_VOLUME_SIZE, 150
733 backing_store: mcp_ubuntu_1604_image
734 format: qcow2
735 - name: iso # Volume with name 'iso' will be used
736 # for store image with cloud-init metadata.
737 capacity: 1
738 format: raw
739 device: cdrom
740 bus: ide
741 cloudinit_meta_data: *cloudinit_meta_data
742 cloudinit_user_data: *cloudinit_user_data_1604
743
744 interfaces: *all_interfaces
745 network_config: *all_network_config
746
747 - name: {{ HOSTNAME_DNS02 }}
748 role: salt_minion
749 params:
750 vcpu: !os_env SLAVE_NODE_CPU, 1
751 memory: !os_env SLAVE_NODE_MEMORY, 2048
752 boot:
753 - hd
754 cloud_init_volume_name: iso
755 cloud_init_iface_up: ens3
756 volumes:
757 - name: system
758 capacity: !os_env NODE_VOLUME_SIZE, 150
759 backing_store: mcp_ubuntu_1604_image
760 format: qcow2
761 - name: iso # Volume with name 'iso' will be used
762 # for store image with cloud-init metadata.
763 capacity: 1
764 format: raw
765 device: cdrom
766 bus: ide
767 cloudinit_meta_data: *cloudinit_meta_data
768 cloudinit_user_data: *cloudinit_user_data_1604
769
770 interfaces: *all_interfaces
771 network_config: *all_network_config
Oleksii Butenkof57d1ff2018-09-28 17:59:45 +0300772
773 - name: {{ HOSTNAME_SHARE01 }}
774 role: salt_minion
775 params:
776 vcpu: !os_env SLAVE_NODE_CPU, 2
777 memory: !os_env SLAVE_NODE_MEMORY, 4096
778 boot:
779 - hd
780 cloud_init_volume_name: iso
781 cloud_init_iface_up: ens3
782 volumes:
783 - name: system
784 capacity: !os_env NODE_VOLUME_SIZE, 150
785 backing_store: mcp_ubuntu_1604_image
786 format: qcow2
787 - name: iso # Volume with name 'iso' will be used
788 # for store image with cloud-init metadata.
789 capacity: 1
790 format: raw
791 device: cdrom
792 bus: ide
793 cloudinit_meta_data: *cloudinit_meta_data
794 cloudinit_user_data: *cloudinit_user_data_1604
795
796 interfaces: *all_interfaces
797 network_config: *all_network_config
Oleksii Butenko40772422018-10-01 16:52:49 +0300798
799 - name: {{ HOSTNAME_SHARE02 }}
800 role: salt_minion
801 params:
802 vcpu: !os_env SLAVE_NODE_CPU, 2
803 memory: !os_env SLAVE_NODE_MEMORY, 4096
804 boot:
805 - hd
806 cloud_init_volume_name: iso
807 cloud_init_iface_up: ens3
808 volumes:
809 - name: system
810 capacity: !os_env NODE_VOLUME_SIZE, 150
811 backing_store: mcp_ubuntu_1604_image
812 format: qcow2
813 - name: iso # Volume with name 'iso' will be used
814 # for store image with cloud-init metadata.
815 capacity: 1
816 format: raw
817 device: cdrom
818 bus: ide
819 cloudinit_meta_data: *cloudinit_meta_data
820 cloudinit_user_data: *cloudinit_user_data_1604
821
822 interfaces: *all_interfaces
823 network_config: *all_network_config
824
825 - name: {{ HOSTNAME_SHARE03 }}
826 role: salt_minion
827 params:
828 vcpu: !os_env SLAVE_NODE_CPU, 2
829 memory: !os_env SLAVE_NODE_MEMORY, 4096
830 boot:
831 - hd
832 cloud_init_volume_name: iso
833 cloud_init_iface_up: ens3
834 volumes:
835 - name: system
836 capacity: !os_env NODE_VOLUME_SIZE, 150
837 backing_store: mcp_ubuntu_1604_image
838 format: qcow2
839 - name: iso # Volume with name 'iso' will be used
840 # for store image with cloud-init metadata.
841 capacity: 1
842 format: raw
843 device: cdrom
844 bus: ide
845 cloudinit_meta_data: *cloudinit_meta_data
846 cloudinit_user_data: *cloudinit_user_data_1604
847
848 interfaces: *all_interfaces
849 network_config: *all_network_config