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