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