blob: dba535ac92026eb788abfc9e53a9ca0a50b916c9 [file] [log] [blame]
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +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 'virtual-mcp-ocata-cicd/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
5{% import 'virtual-mcp-ocata-cicd/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
6{% import 'virtual-mcp-ocata-cicd/underlay--user-data-cicd.yaml' as CLOUDINIT_USER_DATA_CICD with context %}
7{% import 'virtual-mcp-ocata-cicd/underlay--user-data-openstack.yaml' as CLOUDINIT_USER_DATA_OPENSTACK with context %}
8
9---
10aliases:
11 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
12 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
13 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
14 - &cloudinit_user_data_cicd {{ CLOUDINIT_USER_DATA_CICD }}
15 - &cloudinit_user_data_openstack {{ CLOUDINIT_USER_DATA_OPENSTACK }}
16
17{% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'virtual-mcp-ocata-cicd') + '.local' %}
18{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
19{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %}
20{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %}
21{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %}
22{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
23{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
24{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
25{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp01.' + DOMAIN_NAME) %}
26{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp02.' + DOMAIN_NAME) %}
Dennis Dmitriev8c8d09b2017-07-19 22:23:47 +030027{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
28{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
29{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +030030{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
31{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
32
33template:
34 devops_settings:
35 env_name: {{ os_env('ENV_NAME', 'virtual-mcp-ocata-cicd_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
36
37 address_pools:
38 private-pool01:
39 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
40 params:
41 ip_reserved:
42 gateway: +1
43 l2_network_device: +1
44 default_{{ HOSTNAME_CFG01 }}: +100
45 default_{{ HOSTNAME_CID01 }}: +91
46 default_{{ HOSTNAME_CID02 }}: +92
47 default_{{ HOSTNAME_CID03 }}: +93
48 default_{{ HOSTNAME_CTL01 }}: +101
49 default_{{ HOSTNAME_CTL02 }}: +102
50 default_{{ HOSTNAME_CTL03 }}: +103
51 default_{{ HOSTNAME_CMP01 }}: +105
52 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev8c8d09b2017-07-19 22:23:47 +030053 default_{{ HOSTNAME_MON01 }}: +107
54 default_{{ HOSTNAME_MON02 }}: +108
55 default_{{ HOSTNAME_MON03 }}: +109
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +030056 default_{{ HOSTNAME_GTW01 }}: +110
57 default_{{ HOSTNAME_PRX01 }}: +121
58 ip_ranges:
59 dhcp: [+90, -10]
60
61 admin-pool01:
62 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
63 params:
64 ip_reserved:
65 gateway: +1
66 l2_network_device: +1
67 default_{{ HOSTNAME_CFG01 }}: +100
68 default_{{ HOSTNAME_CID01 }}: +91
69 default_{{ HOSTNAME_CID02 }}: +92
70 default_{{ HOSTNAME_CID03 }}: +93
71 default_{{ HOSTNAME_CTL01 }}: +101
72 default_{{ HOSTNAME_CTL02 }}: +102
73 default_{{ HOSTNAME_CTL03 }}: +103
74 default_{{ HOSTNAME_CMP01 }}: +105
75 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev8c8d09b2017-07-19 22:23:47 +030076 default_{{ HOSTNAME_MON01 }}: +107
77 default_{{ HOSTNAME_MON02 }}: +108
78 default_{{ HOSTNAME_MON03 }}: +109
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +030079 default_{{ HOSTNAME_GTW01 }}: +110
80 default_{{ HOSTNAME_PRX01 }}: +121
81 ip_ranges:
82 dhcp: [+90, -10]
83
84 tenant-pool01:
85 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
86 params:
87 ip_reserved:
88 gateway: +1
89 l2_network_device: +1
90 default_{{ HOSTNAME_CFG01 }}: +100
91 default_{{ HOSTNAME_CID01 }}: +91
92 default_{{ HOSTNAME_CID02 }}: +92
93 default_{{ HOSTNAME_CID03 }}: +93
94 default_{{ HOSTNAME_CTL01 }}: +101
95 default_{{ HOSTNAME_CTL02 }}: +102
96 default_{{ HOSTNAME_CTL03 }}: +103
97 default_{{ HOSTNAME_CMP01 }}: +105
98 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev8c8d09b2017-07-19 22:23:47 +030099 default_{{ HOSTNAME_MON01 }}: +107
100 default_{{ HOSTNAME_MON02 }}: +108
101 default_{{ HOSTNAME_MON03 }}: +109
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300102 default_{{ HOSTNAME_GTW01 }}: +110
103 default_{{ HOSTNAME_PRX01 }}: +121
104 ip_ranges:
105 dhcp: [+10, -10]
106
107 external-pool01:
108 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.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_CID01 }}: +91
115 default_{{ HOSTNAME_CID02 }}: +92
116 default_{{ HOSTNAME_CID03 }}: +93
117 default_{{ HOSTNAME_CTL01 }}: +101
118 default_{{ HOSTNAME_CTL02 }}: +102
119 default_{{ HOSTNAME_CTL03 }}: +103
120 default_{{ HOSTNAME_CMP01 }}: +105
121 default_{{ HOSTNAME_CMP02 }}: +106
Dennis Dmitriev8c8d09b2017-07-19 22:23:47 +0300122 default_{{ HOSTNAME_MON01 }}: +107
123 default_{{ HOSTNAME_MON02 }}: +108
124 default_{{ HOSTNAME_MON03 }}: +109
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300125 default_{{ HOSTNAME_GTW01 }}: +110
126 default_{{ HOSTNAME_PRX01 }}: +121
127 ip_ranges:
128 dhcp: [+10, -10]
129
130
131 groups:
132 - name: default
133 driver:
134 name: devops.driver.libvirt
135 params:
136 connection_string: !os_env CONNECTION_STRING, qemu:///system
137 storage_pool_name: !os_env STORAGE_POOL_NAME, default
138 stp: False
139 hpet: False
140 enable_acpi: true
141 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
Dennis Dmitrievb3fc4242017-07-14 16:01:51 +0300142 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300143
144 network_pools:
145 admin: admin-pool01
146 private: private-pool01
147 tenant: tenant-pool01
148 external: external-pool01
149
150 l2_network_devices:
151 admin:
152 address_pool: admin-pool01
153 dhcp: true
154 forward:
155 mode: nat
156
157 private:
158 address_pool: private-pool01
159 dhcp: dhcp
160
161 tenant:
162 address_pool: tenant-pool01
163 dhcp: false
164
165 external:
166 address_pool: external-pool01
167 dhcp: true
168 forward:
169 mode: nat
170
171
172 group_volumes:
173 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
174 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or
175 # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2
176 format: qcow2
177
178 nodes:
179 - name: {{ HOSTNAME_CFG01 }}
180 role: salt_master
181 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300182 vcpu: !os_env SLAVE_NODE_CPU, 2
183 memory: !os_env SLAVE_NODE_MEMORY, 2096
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300184 boot:
185 - hd
186 cloud_init_volume_name: iso
187 cloud_init_iface_up: ens3
188 volumes:
189 - name: system
190 capacity: !os_env NODE_VOLUME_SIZE, 150
191 backing_store: cloudimage1604
192 format: qcow2
193 - name: iso # Volume with name 'iso' will be used
194 # for store image with cloud-init metadata.
195 capacity: 1
196 format: raw
197 device: cdrom
198 bus: ide
199 cloudinit_meta_data: *cloudinit_meta_data
200 cloudinit_user_data: *cloudinit_user_data_cfg01
201
202 interfaces:
203 - label: ens3
204 l2_network_device: admin
205 interface_model: *interface_model
206 - label: ens4
207 l2_network_device: private
208 interface_model: *interface_model
209 network_config:
210 ens3:
211 networks:
212 - admin
213 ens4:
214 networks:
215 - private
216
217 - name: {{ HOSTNAME_CID01 }}
218 role: salt_minion
219 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300220 vcpu: !os_env SLAVE_NODE_CPU, 2
221 memory: !os_env SLAVE_NODE_MEMORY, 8192
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300222 boot:
223 - hd
224 cloud_init_volume_name: iso
225 cloud_init_iface_up: ens4
226 volumes:
227 - name: system
228 capacity: !os_env NODE_VOLUME_SIZE, 150
229 backing_store: cloudimage1604
230 format: qcow2
231 - name: iso # Volume with name 'iso' will be used
232 # for store image with cloud-init metadata.
233 capacity: 1
234 format: raw
235 device: cdrom
236 bus: ide
237 cloudinit_meta_data: *cloudinit_meta_data
238 cloudinit_user_data: *cloudinit_user_data_cicd
239
240 interfaces: &cid_interfaces
241 - label: ens3
242 l2_network_device: private
243 interface_model: *interface_model
244 - label: ens4
245 l2_network_device: admin
246 interface_model: *interface_model
247 network_config: &cid_network_config
248 ens3:
249 networks:
250 - private
251 ens4:
252 networks:
253 - admin
254
255 - name: {{ HOSTNAME_CID02 }}
256 role: salt_minion
257 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300258 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300259 memory: !os_env SLAVE_NODE_MEMORY, 6144
260 boot:
261 - hd
262 cloud_init_volume_name: iso
263 cloud_init_iface_up: ens4
264 volumes:
265 - name: system
266 capacity: !os_env NODE_VOLUME_SIZE, 150
267 backing_store: cloudimage1604
268 format: qcow2
269 - name: iso # Volume with name 'iso' will be used
270 # for store image with cloud-init metadata.
271 capacity: 1
272 format: raw
273 device: cdrom
274 bus: ide
275 cloudinit_meta_data: *cloudinit_meta_data
276 cloudinit_user_data: *cloudinit_user_data_cicd
277
278 interfaces: *cid_interfaces
279 network_config: *cid_network_config
280
281 - name: {{ HOSTNAME_CID03 }}
282 role: salt_minion
283 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300284 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300285 memory: !os_env SLAVE_NODE_MEMORY, 6144
286 boot:
287 - hd
288 cloud_init_volume_name: iso
289 cloud_init_iface_up: ens4
290 volumes:
291 - name: system
292 capacity: !os_env NODE_VOLUME_SIZE, 150
293 backing_store: cloudimage1604
294 format: qcow2
295 - name: iso # Volume with name 'iso' will be used
296 # for store image with cloud-init metadata.
297 capacity: 1
298 format: raw
299 device: cdrom
300 bus: ide
301 cloudinit_meta_data: *cloudinit_meta_data
302 cloudinit_user_data: *cloudinit_user_data_cicd
303
304 interfaces: *cid_interfaces
305 network_config: *cid_network_config
306
307
308 - name: {{ HOSTNAME_CTL01 }}
309 role: salt_minion
310 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300311 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300312 memory: !os_env SLAVE_NODE_MEMORY, 6144
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: cloudimage1604
321 format: qcow2
322 - name: cinder
323 capacity: 50
324 format: qcow2
325 - name: iso # Volume with name 'iso' will be used
326 # for store image with cloud-init metadata.
327 capacity: 1
328 format: raw
329 device: cdrom
330 bus: ide
331 cloudinit_meta_data: *cloudinit_meta_data
332 cloudinit_user_data: *cloudinit_user_data_openstack
333
334 interfaces: &interfaces
335 - label: ens3
336 l2_network_device: admin
337 interface_model: *interface_model
338 - label: ens4
339 l2_network_device: private
340 interface_model: *interface_model
341 network_config: &network_config
342 ens3:
343 networks:
344 - admin
345 ens4:
346 networks:
347 - private
348
349 - name: {{ HOSTNAME_CTL02 }}
350 role: salt_minion
351 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300352 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300353 memory: !os_env SLAVE_NODE_MEMORY, 6144
354 boot:
355 - hd
356 cloud_init_volume_name: iso
357 cloud_init_iface_up: ens3
358 volumes:
359 - name: system
360 capacity: !os_env NODE_VOLUME_SIZE, 150
361 backing_store: cloudimage1604
362 format: qcow2
363 - name: cinder
364 capacity: 50
365 format: qcow2
366 - name: iso # Volume with name 'iso' will be used
367 # for store image with cloud-init metadata.
368 capacity: 1
369 format: raw
370 device: cdrom
371 bus: ide
372 cloudinit_meta_data: *cloudinit_meta_data
373 cloudinit_user_data: *cloudinit_user_data_openstack
374
375 interfaces: *interfaces
376 network_config: *network_config
377
378 - name: {{ HOSTNAME_CTL03 }}
379 role: salt_minion
380 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300381 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300382 memory: !os_env SLAVE_NODE_MEMORY, 6144
383 boot:
384 - hd
385 cloud_init_volume_name: iso
386 cloud_init_iface_up: ens3
387 volumes:
388 - name: system
389 capacity: !os_env NODE_VOLUME_SIZE, 150
390 backing_store: cloudimage1604
391 format: qcow2
392 - name: cinder
393 capacity: 50
394 format: qcow2
395 - name: iso # Volume with name 'iso' will be used
396 # for store image with cloud-init metadata.
397 capacity: 1
398 format: raw
399 device: cdrom
400 bus: ide
401 cloudinit_meta_data: *cloudinit_meta_data
402 cloudinit_user_data: *cloudinit_user_data_openstack
403
404 interfaces: *interfaces
405 network_config: *network_config
406
407 - name: {{ HOSTNAME_PRX01 }}
408 role: salt_minion
409 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300410 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300411 memory: !os_env SLAVE_NODE_MEMORY, 2048
412 boot:
413 - hd
414 cloud_init_volume_name: iso
415 cloud_init_iface_up: ens3
416 volumes:
417 - name: system
418 capacity: !os_env NODE_VOLUME_SIZE, 150
419 backing_store: cloudimage1604
420 format: qcow2
421 - name: cinder
422 capacity: 50
423 format: qcow2
424 - name: iso # Volume with name 'iso' will be used
425 # for store image with cloud-init metadata.
426 capacity: 1
427 format: raw
428 device: cdrom
429 bus: ide
430 cloudinit_meta_data: *cloudinit_meta_data
431 cloudinit_user_data: *cloudinit_user_data_openstack
432
433 interfaces: *interfaces
434 network_config: *network_config
435
436
437 - name: {{ HOSTNAME_CMP01 }}
438 role: salt_minion
439 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300440 vcpu: !os_env SLAVE_NODE_CPU, 2
441 memory: !os_env SLAVE_NODE_MEMORY, 3072
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300442 boot:
443 - hd
444 cloud_init_volume_name: iso
445 cloud_init_iface_up: ens3
446 volumes:
447 - name: system
448 capacity: !os_env NODE_VOLUME_SIZE, 150
449 backing_store: cloudimage1604
450 format: qcow2
451 - name: iso # Volume with name 'iso' will be used
452 # for store image with cloud-init metadata.
453 capacity: 1
454 format: raw
455 device: cdrom
456 bus: ide
457 cloudinit_meta_data: *cloudinit_meta_data
458 cloudinit_user_data: *cloudinit_user_data_openstack
459
460
461 interfaces: &all_interfaces
462 - label: ens3
463 l2_network_device: admin
464 interface_model: *interface_model
465 - label: ens4
466 l2_network_device: private
467 interface_model: *interface_model
468 - label: ens5
469 l2_network_device: tenant
470 interface_model: *interface_model
471 - label: ens6
472 l2_network_device: external
473 interface_model: *interface_model
474 network_config: &all_network_config
475 ens3:
476 networks:
477 - admin
478 ens4:
479 networks:
480 - private
481 ens5:
482 networks:
483 - tenant
484 ens6:
485 networks:
486 - external
487
488 - name: {{ HOSTNAME_CMP02 }}
489 role: salt_minion
490 params:
Dennis Dmitrievea7ee492017-07-14 20:16:07 +0300491 vcpu: !os_env SLAVE_NODE_CPU, 2
492 memory: !os_env SLAVE_NODE_MEMORY, 3072
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300493 boot:
494 - hd
495 cloud_init_volume_name: iso
496 cloud_init_iface_up: ens3
497 volumes:
498 - name: system
499 capacity: !os_env NODE_VOLUME_SIZE, 150
500 backing_store: cloudimage1604
501 format: qcow2
502 - name: iso # Volume with name 'iso' will be used
503 # for store image with cloud-init metadata.
504 capacity: 1
505 format: raw
506 device: cdrom
507 bus: ide
508 cloudinit_meta_data: *cloudinit_meta_data
509 cloudinit_user_data: *cloudinit_user_data_openstack
510
511 interfaces: *all_interfaces
512 network_config: *all_network_config
513
Dennis Dmitriev8c8d09b2017-07-19 22:23:47 +0300514 - name: {{ HOSTNAME_MON01 }}
515 role: salt_minion
516 params:
517 vcpu: !os_env SLAVE_NODE_CPU, 2
518 memory: !os_env SLAVE_NODE_MEMORY, 3072
519 boot:
520 - hd
521 cloud_init_volume_name: iso
522 cloud_init_iface_up: ens3
523 volumes:
524 - name: system
525 capacity: !os_env NODE_VOLUME_SIZE, 150
526 backing_store: cloudimage1604
527 format: qcow2
528 - name: iso # Volume with name 'iso' will be used
529 # for store image with cloud-init metadata.
530 capacity: 1
531 format: raw
532 device: cdrom
533 bus: ide
534 cloudinit_meta_data: *cloudinit_meta_data
535 cloudinit_user_data: *cloudinit_user_data_openstack
536
537 interfaces: *interfaces
538 network_config: *network_config
539
540 - name: {{ HOSTNAME_MON02 }}
541 role: salt_minion
542 params:
543 vcpu: !os_env SLAVE_NODE_CPU, 2
544 memory: !os_env SLAVE_NODE_MEMORY, 3072
545 boot:
546 - hd
547 cloud_init_volume_name: iso
548 cloud_init_iface_up: ens3
549 volumes:
550 - name: system
551 capacity: !os_env NODE_VOLUME_SIZE, 150
552 backing_store: cloudimage1604
553 format: qcow2
554 - name: iso # Volume with name 'iso' will be used
555 # for store image with cloud-init metadata.
556 capacity: 1
557 format: raw
558 device: cdrom
559 bus: ide
560 cloudinit_meta_data: *cloudinit_meta_data
561 cloudinit_user_data: *cloudinit_user_data_openstack
562
563 interfaces: *interfaces
564 network_config: *network_config
565
566 - name: {{ HOSTNAME_MON03 }}
567 role: salt_minion
568 params:
569 vcpu: !os_env SLAVE_NODE_CPU, 2
570 memory: !os_env SLAVE_NODE_MEMORY, 3072
571 boot:
572 - hd
573 cloud_init_volume_name: iso
574 cloud_init_iface_up: ens3
575 volumes:
576 - name: system
577 capacity: !os_env NODE_VOLUME_SIZE, 150
578 backing_store: cloudimage1604
579 format: qcow2
580 - name: iso # Volume with name 'iso' will be used
581 # for store image with cloud-init metadata.
582 capacity: 1
583 format: raw
584 device: cdrom
585 bus: ide
586 cloudinit_meta_data: *cloudinit_meta_data
587 cloudinit_user_data: *cloudinit_user_data_openstack
588
589 interfaces: *interfaces
590 network_config: *network_config
591
Dennis Dmitrieveac3aab2017-07-12 16:36:41 +0300592 - name: {{ HOSTNAME_GTW01 }}
593 role: salt_minion
594 params:
595 vcpu: !os_env SLAVE_NODE_CPU, 1
596 memory: !os_env SLAVE_NODE_MEMORY, 2048
597 boot:
598 - hd
599 cloud_init_volume_name: iso
600 cloud_init_iface_up: ens3
601 volumes:
602 - name: system
603 capacity: !os_env NODE_VOLUME_SIZE, 150
604 backing_store: cloudimage1604
605 format: qcow2
606 - name: iso # Volume with name 'iso' will be used
607 # for store image with cloud-init metadata.
608 capacity: 1
609 format: raw
610 device: cdrom
611 bus: ide
612 cloudinit_meta_data: *cloudinit_meta_data
613 cloudinit_user_data: *cloudinit_user_data_openstack
614
615 interfaces: *all_interfaces
616 network_config: *all_network_config