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