blob: fe3114282ad33df8d8ee0c3116fb8a71fb8ba704 [file] [log] [blame]
Oleksii Butenkoca420d82018-09-26 12:33:42 +03001{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'proposed') %}
2
3{% import 'cookied-mcp-queens-dvr-ceph/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
4{% import 'cookied-mcp-queens-dvr-ceph/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
5{% import 'cookied-mcp-queens-dvr-ceph/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
6
7---
8aliases:
9 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
10 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
11 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
12 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
13
14{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-mcp-queens-dvr-ceph') %}
Oleksii Butenko236db652018-10-10 14:45:31 +030015{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
Oleksii Butenkoca420d82018-09-26 12:33:42 +030016{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
17{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
18{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
19{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
20{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp1.' + DOMAIN_NAME) %}
21{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp2.' + DOMAIN_NAME) %}
22{% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01.' + DOMAIN_NAME) %}
23{% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02.' + DOMAIN_NAME) %}
24{% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03.' + DOMAIN_NAME) %}
25{% set HOSTNAME_RGW01 = os_env('HOSTNAME_CMN01', 'rgw01.' + DOMAIN_NAME) %}
26{% set HOSTNAME_RGW02 = os_env('HOSTNAME_CMN02', 'rgw02.' + DOMAIN_NAME) %}
27{% set HOSTNAME_RGW03 = os_env('HOSTNAME_CMN03', 'rgw03.' + DOMAIN_NAME) %}
28{% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd1.' + DOMAIN_NAME) %}
29{% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd2.' + DOMAIN_NAME) %}
30{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
31{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
obutenko9d195be2018-11-08 18:14:57 +020032{% set HOSTNAME_MDB01 = os_env('HOSTNAME_MDB01', 'mdb01.' + DOMAIN_NAME) %}
33{% set HOSTNAME_MDB02 = os_env('HOSTNAME_MDB02', 'mdb02.' + DOMAIN_NAME) %}
34{% set HOSTNAME_MDB03 = os_env('HOSTNAME_MDB03', 'mdb03.' + DOMAIN_NAME) %}
Oleksii Butenkoca420d82018-09-26 12:33:42 +030035
36template:
37 devops_settings:
38 env_name: {{ os_env('ENV_NAME', 'cookied-mcp-queens-dvr-ceph_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
39
40 address_pools:
41 private-pool01:
42 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
43 params:
44 ip_reserved:
45 gateway: +1
46 l2_network_device: +1
47 default_{{ HOSTNAME_CFG01 }}: +15
48 default_{{ HOSTNAME_CTL01 }}: +11
49 default_{{ HOSTNAME_CTL02 }}: +12
50 default_{{ HOSTNAME_CTL03 }}: +13
51 default_{{ HOSTNAME_CMP01 }}: +105
52 default_{{ HOSTNAME_CMP02 }}: +106
53 default_{{ HOSTNAME_OSD01 }}: +94
54 default_{{ HOSTNAME_OSD02 }}: +95
55 default_{{ HOSTNAME_CMN01 }}: +96
56 default_{{ HOSTNAME_CMN02 }}: +97
57 default_{{ HOSTNAME_CMN03 }}: +98
58 default_{{ HOSTNAME_RGW01 }}: +76
59 default_{{ HOSTNAME_RGW02 }}: +77
60 default_{{ HOSTNAME_RGW03 }}: +78
61 default_{{ HOSTNAME_GTW01 }}: +110
62 default_{{ HOSTNAME_PRX01 }}: +121
obutenko9d195be2018-11-08 18:14:57 +020063 default_{{ HOSTNAME_MDB01 }}: +84
64 default_{{ HOSTNAME_MDB02 }}: +85
65 default_{{ HOSTNAME_MDB03 }}: +86
Oleksii Butenkoca420d82018-09-26 12:33:42 +030066 ip_ranges:
67 dhcp: [+70, -10]
68
69 admin-pool01:
70 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
71 params:
72 ip_reserved:
73 gateway: +1
74 l2_network_device: +1
75 default_{{ HOSTNAME_CFG01 }}: +15
76 default_{{ HOSTNAME_CTL01 }}: +11
77 default_{{ HOSTNAME_CTL02 }}: +12
78 default_{{ HOSTNAME_CTL03 }}: +13
79 default_{{ HOSTNAME_CMP01 }}: +105
80 default_{{ HOSTNAME_CMP02 }}: +106
81 default_{{ HOSTNAME_OSD01 }}: +94
82 default_{{ HOSTNAME_OSD02 }}: +95
83 default_{{ HOSTNAME_CMN01 }}: +96
84 default_{{ HOSTNAME_CMN02 }}: +97
85 default_{{ HOSTNAME_CMN03 }}: +98
86 default_{{ HOSTNAME_RGW01 }}: +76
87 default_{{ HOSTNAME_RGW02 }}: +77
88 default_{{ HOSTNAME_RGW03 }}: +78
89 default_{{ HOSTNAME_GTW01 }}: +110
90 default_{{ HOSTNAME_PRX01 }}: +121
obutenko9d195be2018-11-08 18:14:57 +020091 default_{{ HOSTNAME_MDB01 }}: +84
92 default_{{ HOSTNAME_MDB02 }}: +85
93 default_{{ HOSTNAME_MDB03 }}: +86
Oleksii Butenkoca420d82018-09-26 12:33:42 +030094 ip_ranges:
95 dhcp: [+70, -10]
96
97 tenant-pool01:
98 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
99 params:
100 ip_reserved:
101 gateway: +1
102 l2_network_device: +1
103 default_{{ HOSTNAME_CFG01 }}: +15
104 default_{{ HOSTNAME_CTL01 }}: +11
105 default_{{ HOSTNAME_CTL02 }}: +12
106 default_{{ HOSTNAME_CTL03 }}: +13
107 default_{{ HOSTNAME_CMP01 }}: +105
108 default_{{ HOSTNAME_CMP02 }}: +106
109 default_{{ HOSTNAME_OSD01 }}: +94
110 default_{{ HOSTNAME_OSD02 }}: +95
111 default_{{ HOSTNAME_CMN01 }}: +96
112 default_{{ HOSTNAME_CMN02 }}: +97
113 default_{{ HOSTNAME_CMN03 }}: +98
114 default_{{ HOSTNAME_RGW01 }}: +76
115 default_{{ HOSTNAME_RGW02 }}: +77
116 default_{{ HOSTNAME_RGW03 }}: +78
117 default_{{ HOSTNAME_GTW01 }}: +110
118 default_{{ HOSTNAME_PRX01 }}: +121
obutenko9d195be2018-11-08 18:14:57 +0200119 default_{{ HOSTNAME_MDB01 }}: +84
120 default_{{ HOSTNAME_MDB02 }}: +85
121 default_{{ HOSTNAME_MDB03 }}: +86
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300122 ip_ranges:
123 dhcp: [+10, -10]
124
125 external-pool01:
126 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
127 params:
128 ip_reserved:
129 gateway: +1
130 l2_network_device: +1
131 default_{{ HOSTNAME_CFG01 }}: +15
132 default_{{ HOSTNAME_CTL01 }}: +11
133 default_{{ HOSTNAME_CTL02 }}: +12
134 default_{{ HOSTNAME_CTL03 }}: +13
135 default_{{ HOSTNAME_CMP01 }}: +105
136 default_{{ HOSTNAME_CMP02 }}: +106
137 default_{{ HOSTNAME_OSD01 }}: +94
138 default_{{ HOSTNAME_OSD02 }}: +95
139 default_{{ HOSTNAME_CMN01 }}: +96
140 default_{{ HOSTNAME_CMN02 }}: +97
141 default_{{ HOSTNAME_CMN03 }}: +98
142 default_{{ HOSTNAME_RGW01 }}: +76
143 default_{{ HOSTNAME_RGW02 }}: +77
144 default_{{ HOSTNAME_RGW03 }}: +78
145 default_{{ HOSTNAME_GTW01 }}: +110
146 default_{{ HOSTNAME_PRX01 }}: +121
obutenko9d195be2018-11-08 18:14:57 +0200147 default_{{ HOSTNAME_MDB01 }}: +84
148 default_{{ HOSTNAME_MDB02 }}: +85
149 default_{{ HOSTNAME_MDB03 }}: +86
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300150 ip_ranges:
151 dhcp: [+130, +230]
152
153 groups:
154 - name: default
155 driver:
156 name: devops.driver.libvirt
157 params:
158 connection_string: !os_env CONNECTION_STRING, qemu:///system
159 stp: False
160 hpet: False
161 enable_acpi: true
162 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
163 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
164
165 network_pools:
166 admin: admin-pool01
167 private: private-pool01
168 tenant: tenant-pool01
169 external: external-pool01
170
171 l2_network_devices:
172 private:
173 address_pool: private-pool01
174 dhcp: false
175 forward:
176 mode: route
177
178 admin:
179 address_pool: admin-pool01
180 dhcp: true
181 forward:
182 mode: nat
183
184 tenant:
185 address_pool: tenant-pool01
186 dhcp: false
187
188 external:
189 address_pool: external-pool01
190 dhcp: true
191 forward:
192 mode: route
193
194 group_volumes:
195 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
196 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
197 format: qcow2
198 - name: cfg01_day01_image # Pre-configured day01 image
199 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
200 format: qcow2
201 - name: mcp_ubuntu_1604_image # Pre-configured image for control plane
202 source_image: !os_env MCP_IMAGE_PATH1604
203 format: qcow2
204
205 nodes:
206 - name: {{ HOSTNAME_CFG01 }}
207 role: salt_master
208 params:
209 vcpu: !os_env SLAVE_NODE_CPU, 2
210 memory: !os_env SLAVE_NODE_MEMORY, 8192
211 boot:
212 - hd
213 cloud_init_volume_name: iso
214 cloud_init_iface_up: ens3
215 volumes:
216 - name: system
217 capacity: !os_env NODE_VOLUME_SIZE, 150
218 backing_store: cfg01_day01_image
219 format: qcow2
220 - name: iso # Volume with name 'iso' will be used
221 # for store image with cloud-init metadata.
222 capacity: 1
223 format: raw
224 device: cdrom
225 bus: ide
226 cloudinit_meta_data: *cloudinit_meta_data
227 cloudinit_user_data: *cloudinit_user_data_cfg01
228
229 interfaces:
230 - label: ens3
231 l2_network_device: admin
232 interface_model: *interface_model
233 - label: ens4
234 l2_network_device: private
235 interface_model: *interface_model
236 network_config:
237 ens3:
238 networks:
239 - admin
240 ens4:
241 networks:
242 - private
243
244 - name: {{ HOSTNAME_CTL01 }}
245 role: salt_minion
246 params:
247 vcpu: !os_env SLAVE_NODE_CPU, 2
248 memory: !os_env SLAVE_NODE_MEMORY, 16384
249 boot:
250 - hd
251 cloud_init_volume_name: iso
252 cloud_init_iface_up: ens3
253 volumes:
254 - name: system
255 capacity: !os_env NODE_VOLUME_SIZE, 150
256 backing_store: mcp_ubuntu_1604_image
257 format: qcow2
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300258 - name: iso # Volume with name 'iso' will be used
259 # for store image with cloud-init metadata.
260 capacity: 1
261 format: raw
262 device: cdrom
263 bus: ide
264 cloudinit_meta_data: *cloudinit_meta_data
265 cloudinit_user_data: *cloudinit_user_data_1604
266
267 interfaces: &interfaces
268 - label: ens3
269 l2_network_device: admin
270 interface_model: *interface_model
271 - label: ens4
272 l2_network_device: private
273 interface_model: *interface_model
274 network_config: &network_config
275 ens3:
276 networks:
277 - admin
278 ens4:
279 networks:
280 - private
281
282 - name: {{ HOSTNAME_CTL02 }}
283 role: salt_minion
284 params:
285 vcpu: !os_env SLAVE_NODE_CPU, 2
286 memory: !os_env SLAVE_NODE_MEMORY, 16384
287 boot:
288 - hd
289 cloud_init_volume_name: iso
290 cloud_init_iface_up: ens3
291 volumes:
292 - name: system
293 capacity: !os_env NODE_VOLUME_SIZE, 150
294 backing_store: mcp_ubuntu_1604_image
295 format: qcow2
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300296 - name: iso # Volume with name 'iso' will be used
297 # for store image with cloud-init metadata.
298 capacity: 1
299 format: raw
300 device: cdrom
301 bus: ide
302 cloudinit_meta_data: *cloudinit_meta_data
303 cloudinit_user_data: *cloudinit_user_data_1604
304
305 interfaces: *interfaces
306 network_config: *network_config
307
308 - name: {{ HOSTNAME_CTL03 }}
309 role: salt_minion
310 params:
311 vcpu: !os_env SLAVE_NODE_CPU, 2
312 memory: !os_env SLAVE_NODE_MEMORY, 16384
313 boot:
314 - hd
315 cloud_init_volume_name: iso
316 cloud_init_iface_up: ens3
317 volumes:
318 - name: system
319 capacity: !os_env NODE_VOLUME_SIZE, 150
320 backing_store: mcp_ubuntu_1604_image
321 format: qcow2
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300322 - name: iso # Volume with name 'iso' will be used
323 # for store image with cloud-init metadata.
324 capacity: 1
325 format: raw
326 device: cdrom
327 bus: ide
328 cloudinit_meta_data: *cloudinit_meta_data
329 cloudinit_user_data: *cloudinit_user_data_1604
330
obutenko9d195be2018-11-08 18:14:57 +0200331
332
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300333 interfaces: *interfaces
334 network_config: *network_config
335
336 - name: {{ HOSTNAME_CMN01 }}
337 role: salt_minion
338 params:
339 vcpu: !os_env SLAVE_NODE_CPU, 2
340 memory: !os_env SLAVE_NODE_MEMORY, 2048
341 boot:
342 - hd
343 cloud_init_volume_name: iso
344 cloud_init_iface_up: ens3
345 volumes:
346 - name: system
347 capacity: !os_env NODE_VOLUME_SIZE, 150
348 backing_store: cloudimage1604
349 format: qcow2
350 - name: iso # Volume with name 'iso' will be used
351 # for store image with cloud-init metadata.
352 capacity: 1
353 format: raw
354 device: cdrom
355 bus: ide
356 cloudinit_meta_data: *cloudinit_meta_data
357 cloudinit_user_data: *cloudinit_user_data_1604
358
359 interfaces: *interfaces
360 network_config: *network_config
361
obutenko9d195be2018-11-08 18:14:57 +0200362 - name: {{ HOSTNAME_MDB01 }}
363 role: salt_minion
364 params:
365 vcpu: !os_env SLAVE_NODE_CPU, 2
366 memory: !os_env SLAVE_NODE_MEMORY, 8192
367 boot:
368 - hd
369 cloud_init_volume_name: iso
370 cloud_init_iface_up: ens3
371 volumes:
372 - name: system
373 capacity: !os_env NODE_VOLUME_SIZE, 150
374 backing_store: mcp_ubuntu_1604_image
375 format: qcow2
376 - name: cinder
377 capacity: 50
378 format: qcow2
379 - name: iso # Volume with name 'iso' will be used
380 # for store image with cloud-init metadata.
381 capacity: 1
382 format: raw
383 device: cdrom
384 bus: ide
385 cloudinit_meta_data: *cloudinit_meta_data
386 cloudinit_user_data: *cloudinit_user_data_1604
387
388 interfaces: *interfaces
389 network_config: *network_config
390
391 - name: {{ HOSTNAME_MDB02 }}
392 role: salt_minion
393 params:
394 vcpu: !os_env SLAVE_NODE_CPU, 2
395 memory: !os_env SLAVE_NODE_MEMORY, 8192
396 boot:
397 - hd
398 cloud_init_volume_name: iso
399 cloud_init_iface_up: ens3
400 volumes:
401 - name: system
402 capacity: !os_env NODE_VOLUME_SIZE, 150
403 backing_store: mcp_ubuntu_1604_image
404 format: qcow2
405 - name: cinder
406 capacity: 50
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_MDB03 }}
421 role: salt_minion
422 params:
423 vcpu: !os_env SLAVE_NODE_CPU, 2
424 memory: !os_env SLAVE_NODE_MEMORY, 8192
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: cinder
435 capacity: 50
436 format: qcow2
437 - name: iso # Volume with name 'iso' will be used
438 # for store image with cloud-init metadata.
439 capacity: 1
440 format: raw
441 device: cdrom
442 bus: ide
443 cloudinit_meta_data: *cloudinit_meta_data
444 cloudinit_user_data: *cloudinit_user_data_1604
445
446 interfaces: *interfaces
447 network_config: *network_config
448
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300449 - name: {{ HOSTNAME_CMN02 }}
450 role: salt_minion
451 params:
452 vcpu: !os_env SLAVE_NODE_CPU, 2
453 memory: !os_env SLAVE_NODE_MEMORY, 2048
454 boot:
455 - hd
456 cloud_init_volume_name: iso
457 cloud_init_iface_up: ens3
458 volumes:
459 - name: system
460 capacity: !os_env NODE_VOLUME_SIZE, 150
461 backing_store: cloudimage1604
462 format: qcow2
463 - name: iso # Volume with name 'iso' will be used
464 # for store image with cloud-init metadata.
465 capacity: 1
466 format: raw
467 device: cdrom
468 bus: ide
469 cloudinit_meta_data: *cloudinit_meta_data
470 cloudinit_user_data: *cloudinit_user_data_1604
471
472 interfaces: *interfaces
473 network_config: *network_config
474
475 - name: {{ HOSTNAME_CMN03 }}
476 role: salt_minion
477 params:
478 vcpu: !os_env SLAVE_NODE_CPU, 2
479 memory: !os_env SLAVE_NODE_MEMORY, 2048
480 boot:
481 - hd
482 cloud_init_volume_name: iso
483 cloud_init_iface_up: ens3
484 volumes:
485 - name: system
486 capacity: !os_env NODE_VOLUME_SIZE, 150
487 backing_store: cloudimage1604
488 format: qcow2
489 - name: iso # Volume with name 'iso' will be used
490 # for store image with cloud-init metadata.
491 capacity: 1
492 format: raw
493 device: cdrom
494 bus: ide
495 cloudinit_meta_data: *cloudinit_meta_data
496 cloudinit_user_data: *cloudinit_user_data_1604
497
498 interfaces: *interfaces
499 network_config: *network_config
500
501 - name: {{ HOSTNAME_OSD01 }}
502 role: salt_minion
503 params:
504 vcpu: !os_env SLAVE_NODE_CPU, 2
505 memory: !os_env SLAVE_NODE_MEMORY, 2048
506 boot:
507 - hd
508 cloud_init_volume_name: iso
509 cloud_init_iface_up: ens3
510 volumes:
511 - name: system
512 capacity: !os_env NODE_VOLUME_SIZE, 150
513 backing_store: cloudimage1604
514 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300515 - name: ceph_osd
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300516 capacity: 50
517 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300518 - name: ceph_journal
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300519 capacity: 50
520 format: qcow2
521 - name: iso # Volume with name 'iso' will be used
522 # for store image with cloud-init metadata.
523 capacity: 1
524 format: raw
525 device: cdrom
526 bus: ide
527 cloudinit_meta_data: *cloudinit_meta_data
528 cloudinit_user_data: *cloudinit_user_data_1604
529
530 interfaces: *interfaces
531 network_config: *network_config
532
533 - name: {{ HOSTNAME_OSD02 }}
534 role: salt_minion
535 params:
536 vcpu: !os_env SLAVE_NODE_CPU, 2
537 memory: !os_env SLAVE_NODE_MEMORY, 2048
538 boot:
539 - hd
540 cloud_init_volume_name: iso
541 cloud_init_iface_up: ens3
542 volumes:
543 - name: system
544 capacity: !os_env NODE_VOLUME_SIZE, 150
545 backing_store: cloudimage1604
546 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300547 - name: ceph_osd
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300548 capacity: 50
549 format: qcow2
Dennis Dmitriev1b8979d2018-10-19 19:53:02 +0300550 - name: ceph_journal
Oleksii Butenkoca420d82018-09-26 12:33:42 +0300551 capacity: 50
552 format: qcow2
553 - name: iso # Volume with name 'iso' will be used
554 # for store image with cloud-init metadata.
555 capacity: 1
556 format: raw
557 device: cdrom
558 bus: ide
559 cloudinit_meta_data: *cloudinit_meta_data
560 cloudinit_user_data: *cloudinit_user_data_1604
561
562 interfaces: *interfaces
563 network_config: *network_config
564
565 - name: {{ HOSTNAME_RGW01 }}
566 role: salt_minion
567 params:
568 vcpu: !os_env SLAVE_NODE_CPU, 2
569 memory: !os_env SLAVE_NODE_MEMORY, 2048
570 boot:
571 - hd
572 cloud_init_volume_name: iso
573 cloud_init_iface_up: ens3
574 volumes:
575 - name: system
576 capacity: !os_env NODE_VOLUME_SIZE, 150
577 backing_store: cloudimage1604
578 format: qcow2
579 - name: iso # Volume with name 'iso' will be used
580 # for store image with cloud-init metadata.
581 capacity: 1
582 format: raw
583 device: cdrom
584 bus: ide
585 cloudinit_meta_data: *cloudinit_meta_data
586 cloudinit_user_data: *cloudinit_user_data_1604
587
588 interfaces: *interfaces
589 network_config: *network_config
590
591 - name: {{ HOSTNAME_RGW02 }}
592 role: salt_minion
593 params:
594 vcpu: !os_env SLAVE_NODE_CPU, 2
595 memory: !os_env SLAVE_NODE_MEMORY, 2048
596 boot:
597 - hd
598 cloud_init_volume_name: iso
599 cloud_init_iface_up: ens3
600 volumes:
601 - name: system
602 capacity: !os_env NODE_VOLUME_SIZE, 150
603 backing_store: cloudimage1604
604 format: qcow2
605 - name: iso # Volume with name 'iso' will be used
606 # for store image with cloud-init metadata.
607 capacity: 1
608 format: raw
609 device: cdrom
610 bus: ide
611 cloudinit_meta_data: *cloudinit_meta_data
612 cloudinit_user_data: *cloudinit_user_data_1604
613
614 interfaces: *interfaces
615 network_config: *network_config
616 - name: {{ HOSTNAME_RGW03 }}
617 role: salt_minion
618 params:
619 vcpu: !os_env SLAVE_NODE_CPU, 2
620 memory: !os_env SLAVE_NODE_MEMORY, 2048
621 boot:
622 - hd
623 cloud_init_volume_name: iso
624 cloud_init_iface_up: ens3
625 volumes:
626 - name: system
627 capacity: !os_env NODE_VOLUME_SIZE, 150
628 backing_store: cloudimage1604
629 format: qcow2
630 - name: iso # Volume with name 'iso' will be used
631 # for store image with cloud-init metadata.
632 capacity: 1
633 format: raw
634 device: cdrom
635 bus: ide
636 cloudinit_meta_data: *cloudinit_meta_data
637 cloudinit_user_data: *cloudinit_user_data_1604
638
639 interfaces: *interfaces
640 network_config: *network_config
641
642 - name: {{ HOSTNAME_PRX01 }}
643 role: salt_minion
644 params:
645 vcpu: !os_env SLAVE_NODE_CPU, 1
646 memory: !os_env SLAVE_NODE_MEMORY, 2048
647 boot:
648 - hd
649 cloud_init_volume_name: iso
650 cloud_init_iface_up: ens3
651 volumes:
652 - name: system
653 capacity: !os_env NODE_VOLUME_SIZE, 150
654 backing_store: mcp_ubuntu_1604_image
655 format: qcow2
656 - name: iso # Volume with name 'iso' will be used
657 # for store image with cloud-init metadata.
658 capacity: 1
659 format: raw
660 device: cdrom
661 bus: ide
662 cloudinit_meta_data: *cloudinit_meta_data
663 cloudinit_user_data: *cloudinit_user_data_1604
664
665 interfaces: *interfaces
666 network_config: *network_config
667
668 - name: {{ HOSTNAME_CMP01 }}
669 role: salt_minion
670 params:
671 vcpu: !os_env SLAVE_NODE_CPU, 3
672 memory: !os_env SLAVE_NODE_MEMORY, 4096
673 boot:
674 - hd
675 cloud_init_volume_name: iso
676 cloud_init_iface_up: ens3
677 volumes:
678 - name: system
679 capacity: !os_env NODE_VOLUME_SIZE, 150
680 backing_store: cloudimage1604
681 format: qcow2
682 - name: iso # Volume with name 'iso' will be used
683 # for store image with cloud-init metadata.
684 capacity: 1
685 format: raw
686 device: cdrom
687 bus: ide
688 cloudinit_meta_data: *cloudinit_meta_data
689 cloudinit_user_data: *cloudinit_user_data_1604
690
691
692 interfaces: &all_interfaces
693 - label: ens3
694 l2_network_device: admin
695 interface_model: *interface_model
696 - label: ens4
697 l2_network_device: private
698 interface_model: *interface_model
699 - label: ens5
700 l2_network_device: tenant
701 interface_model: *interface_model
702 - label: ens6
703 l2_network_device: external
704 interface_model: *interface_model
705 network_config: &all_network_config
706 ens3:
707 networks:
708 - admin
709 ens4:
710 networks:
711 - private
712 ens5:
713 networks:
714 - tenant
715 ens6:
716 networks:
717 - external
718
719 - name: {{ HOSTNAME_CMP02 }}
720 role: salt_minion
721 params:
722 vcpu: !os_env SLAVE_NODE_CPU, 3
723 memory: !os_env SLAVE_NODE_MEMORY, 4096
724 boot:
725 - hd
726 cloud_init_volume_name: iso
727 cloud_init_iface_up: ens3
728 volumes:
729 - name: system
730 capacity: !os_env NODE_VOLUME_SIZE, 150
731 backing_store: cloudimage1604
732 format: qcow2
733 - name: iso # Volume with name 'iso' will be used
734 # for store image with cloud-init metadata.
735 capacity: 1
736 format: raw
737 device: cdrom
738 bus: ide
739 cloudinit_meta_data: *cloudinit_meta_data
740 cloudinit_user_data: *cloudinit_user_data_1604
741
742 interfaces: *all_interfaces
743 network_config: *all_network_config
744
745 - name: {{ HOSTNAME_GTW01 }}
746 role: salt_minion
747 params:
748 vcpu: !os_env SLAVE_NODE_CPU, 4
749 memory: !os_env SLAVE_NODE_MEMORY, 4096
750 boot:
751 - hd
752 cloud_init_volume_name: iso
753 cloud_init_iface_up: ens3
754 volumes:
755 - name: system
756 capacity: !os_env NODE_VOLUME_SIZE, 150
757 backing_store: cloudimage1604
758 format: qcow2
759 - name: iso # Volume with name 'iso' will be used
760 # for store image with cloud-init metadata.
761 capacity: 1
762 format: raw
763 device: cdrom
764 bus: ide
765 cloudinit_meta_data: *cloudinit_meta_data
766 cloudinit_user_data: *cloudinit_user_data_1604
767
768 interfaces: *all_interfaces
769 network_config: *all_network_config