blob: b63a12344c19d36a51629d8a02e745c61704fc14 [file] [log] [blame]
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +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
Dennis Dmitrieveea5bb32017-09-03 23:20:54 +03004{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-mcp-ocata-dvr-vxlan') %}
Dennis Dmitriev0048fcd2017-10-21 12:26:48 +03005{% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %}
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03006{% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %}
Dennis Dmitriev37828bc2017-10-14 17:17:58 +03007{% set HOSTNAME_CID = os_env('HOSTNAME_CID', 'cid.' + DOMAIN_NAME) %}
Dennis Dmitriev910a8002017-08-31 14:53:47 +03008{% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %}
9{% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %}
10{% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %}
Dennis Dmitriev37828bc2017-10-14 17:17:58 +030011{% set HOSTNAME_KVM = os_env('HOSTNAME_KVM', 'kvm.' + DOMAIN_NAME) %}
Dennis Dmitriev910a8002017-08-31 14:53:47 +030012{% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %}
13{% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %}
14{% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %}
Dennis Dmitriev37828bc2017-10-14 17:17:58 +030015{% set HOSTNAME_CTL = os_env('HOSTNAME_CTL', 'ctl.' + DOMAIN_NAME) %}
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030016{% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %}
17{% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %}
18{% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %}
Dennis Dmitriev37828bc2017-10-14 17:17:58 +030019{% set HOSTNAME_DBS = os_env('HOSTNAME_DBS', 'dbs.' + DOMAIN_NAME) %}
Dennis Dmitriev910a8002017-08-31 14:53:47 +030020{% set HOSTNAME_DBS01 = os_env('HOSTNAME_DBS01', 'dbs01.' + DOMAIN_NAME) %}
21{% set HOSTNAME_DBS02 = os_env('HOSTNAME_DBS02', 'dbs02.' + DOMAIN_NAME) %}
22{% set HOSTNAME_DBS03 = os_env('HOSTNAME_DBS03', 'dbs03.' + DOMAIN_NAME) %}
Dennis Dmitriev37828bc2017-10-14 17:17:58 +030023{% set HOSTNAME_MSG = os_env('HOSTNAME_MSG', 'msg.' + DOMAIN_NAME) %}
Dennis Dmitriev910a8002017-08-31 14:53:47 +030024{% set HOSTNAME_MSG01 = os_env('HOSTNAME_MSG01', 'msg01.' + DOMAIN_NAME) %}
25{% set HOSTNAME_MSG02 = os_env('HOSTNAME_MSG02', 'msg02.' + DOMAIN_NAME) %}
26{% set HOSTNAME_MSG03 = os_env('HOSTNAME_MSG03', 'msg03.' + DOMAIN_NAME) %}
Dennis Dmitriev37828bc2017-10-14 17:17:58 +030027{% set HOSTNAME_MON = os_env('HOSTNAME_MON', 'mon.' + DOMAIN_NAME) %}
28{% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %}
29{% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %}
30{% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %}
31{% set HOSTNAME_LOG = os_env('HOSTNAME_LOG', 'log.' + DOMAIN_NAME) %}
32{% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %}
33{% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %}
34{% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %}
35{% set HOSTNAME_MTR = os_env('HOSTNAME_MTR', 'mtr.' + DOMAIN_NAME) %}
36{% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %}
37{% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %}
38{% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %}
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030039{% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001.' + DOMAIN_NAME) %}
40{% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002.' + DOMAIN_NAME) %}
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030041{% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %}
42{% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %}
43
Dennis Dmitrieveea5bb32017-09-03 23:20:54 +030044{% import 'cookied-mcp-ocata-dvr-vxlan/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %}
45{% import 'cookied-mcp-ocata-dvr-vxlan/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %}
Dennis Dmitrieveea5bb32017-09-03 23:20:54 +030046{% import 'cookied-mcp-ocata-dvr-vxlan/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %}
Dennis Dmitriev8ed27882018-01-31 23:23:19 +020047{% import 'cookied-mcp-ocata-dvr-vxlan/underlay--user-data1604-hwe.yaml' as CLOUDINIT_USER_DATA_1604_HWE with context %}
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030048
49---
50aliases:
51 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
52 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
53 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
54 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
Dennis Dmitriev8ed27882018-01-31 23:23:19 +020055 - &cloudinit_user_data_1604_hwe {{ CLOUDINIT_USER_DATA_1604_HWE }}
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030056
57template:
58 devops_settings:
59 env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
60
61 address_pools:
62 private-pool01:
63 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
64 params:
65 ip_reserved:
66 gateway: +1
67 l2_network_device: +1
Dennis Dmitriev910a8002017-08-31 14:53:47 +030068 default_{{ HOSTNAME_CFG01 }}: +15
69
70 default_{{ HOSTNAME_CID }}: +90
71 default_{{ HOSTNAME_CID01 }}: +91
72 default_{{ HOSTNAME_CID02 }}: +92
73 default_{{ HOSTNAME_CID03 }}: +93
74
75 default_{{ HOSTNAME_KVM }}: +240
76 default_{{ HOSTNAME_KVM01 }}: +241
77 default_{{ HOSTNAME_KVM02 }}: +242
78 default_{{ HOSTNAME_KVM03 }}: +243
79
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030080 default_{{ HOSTNAME_CTL }}: +10
81 default_{{ HOSTNAME_CTL01 }}: +11
82 default_{{ HOSTNAME_CTL02 }}: +12
83 default_{{ HOSTNAME_CTL03 }}: +13
84 default_{{ HOSTNAME_DBS }}: +50
85 default_{{ HOSTNAME_DBS01 }}: +51
86 default_{{ HOSTNAME_DBS02 }}: +52
87 default_{{ HOSTNAME_DBS03 }}: +53
88 default_{{ HOSTNAME_GTW01 }}: +224
89 default_{{ HOSTNAME_GTW02 }}: +225
90 default_{{ HOSTNAME_GTW03 }}: +226
91 default_{{ HOSTNAME_MSG }}: +40
92 default_{{ HOSTNAME_MSG01 }}: +41
93 default_{{ HOSTNAME_MSG02 }}: +42
94 default_{{ HOSTNAME_MSG03 }}: +43
95 default_{{ HOSTNAME_PRX }}: +80
96 default_{{ HOSTNAME_PRX01 }}: +81
97 default_{{ HOSTNAME_PRX02 }}: +82
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030098 default_{{ HOSTNAME_BMK01 }}: +85
99
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300100 default_{{ HOSTNAME_MON }}: +70
101 default_{{ HOSTNAME_MON01 }}: +71
102 default_{{ HOSTNAME_MON02 }}: +72
103 default_{{ HOSTNAME_MON03 }}: +73
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300104 default_{{ HOSTNAME_LOG }}: +60
105 default_{{ HOSTNAME_LOG01 }}: +61
106 default_{{ HOSTNAME_LOG02 }}: +62
107 default_{{ HOSTNAME_LOG03 }}: +63
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300108 default_{{ HOSTNAME_MTR }}: +85
109 default_{{ HOSTNAME_MTR01 }}: +86
110 default_{{ HOSTNAME_MTR02 }}: +87
111 default_{{ HOSTNAME_MTR03 }}: +88
112
113 default_{{ HOSTNAME_CMP01 }}: +101
114 default_{{ HOSTNAME_CMP02 }}: +102
115 ip_ranges:
116 dhcp: [+90, -10]
117
118 admin-pool01:
119 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
120 params:
121 ip_reserved:
122 gateway: +1
123 l2_network_device: +1
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300124 default_{{ HOSTNAME_CFG01 }}: +15
125
126 default_{{ HOSTNAME_CID }}: +90
127 default_{{ HOSTNAME_CID01 }}: +91
128 default_{{ HOSTNAME_CID02 }}: +92
129 default_{{ HOSTNAME_CID03 }}: +93
130
131 default_{{ HOSTNAME_KVM }}: +240
132 default_{{ HOSTNAME_KVM01 }}: +241
133 default_{{ HOSTNAME_KVM02 }}: +242
134 default_{{ HOSTNAME_KVM03 }}: +243
135
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300136 default_{{ HOSTNAME_CTL }}: +10
137 default_{{ HOSTNAME_CTL01 }}: +11
138 default_{{ HOSTNAME_CTL02 }}: +12
139 default_{{ HOSTNAME_CTL03 }}: +13
140 default_{{ HOSTNAME_DBS }}: +50
141 default_{{ HOSTNAME_DBS01 }}: +51
142 default_{{ HOSTNAME_DBS02 }}: +52
143 default_{{ HOSTNAME_DBS03 }}: +53
144 default_{{ HOSTNAME_GTW01 }}: +224
145 default_{{ HOSTNAME_GTW02 }}: +225
146 default_{{ HOSTNAME_GTW03 }}: +226
147 default_{{ HOSTNAME_MSG }}: +40
148 default_{{ HOSTNAME_MSG01 }}: +41
149 default_{{ HOSTNAME_MSG02 }}: +42
150 default_{{ HOSTNAME_MSG03 }}: +43
151 default_{{ HOSTNAME_PRX }}: +80
152 default_{{ HOSTNAME_PRX01 }}: +81
153 default_{{ HOSTNAME_PRX02 }}: +82
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300154 default_{{ HOSTNAME_BMK01 }}: +85
155
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300156 default_{{ HOSTNAME_MON }}: +70
157 default_{{ HOSTNAME_MON01 }}: +71
158 default_{{ HOSTNAME_MON02 }}: +72
159 default_{{ HOSTNAME_MON03 }}: +73
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300160 default_{{ HOSTNAME_LOG }}: +60
161 default_{{ HOSTNAME_LOG01 }}: +61
162 default_{{ HOSTNAME_LOG02 }}: +62
163 default_{{ HOSTNAME_LOG03 }}: +63
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300164
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300165 default_{{ HOSTNAME_MTR }}: +85
166 default_{{ HOSTNAME_MTR01 }}: +86
167 default_{{ HOSTNAME_MTR02 }}: +87
168 default_{{ HOSTNAME_MTR03 }}: +88
169
170 default_{{ HOSTNAME_CMP01 }}: +101
171 default_{{ HOSTNAME_CMP02 }}: +102
172 ip_ranges:
173 dhcp: [+90, -10]
174
175 tenant-pool01:
176 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
177 params:
178 ip_reserved:
179 gateway: +1
180 l2_network_device: +1
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300181 default_{{ HOSTNAME_CFG01 }}: +15
182
183 default_{{ HOSTNAME_CID }}: +90
184 default_{{ HOSTNAME_CID01 }}: +91
185 default_{{ HOSTNAME_CID02 }}: +92
186 default_{{ HOSTNAME_CID03 }}: +93
187
188 default_{{ HOSTNAME_KVM }}: +240
189 default_{{ HOSTNAME_KVM01 }}: +241
190 default_{{ HOSTNAME_KVM02 }}: +242
191 default_{{ HOSTNAME_KVM03 }}: +243
192
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300193 default_{{ HOSTNAME_CTL }}: +10
194 default_{{ HOSTNAME_CTL01 }}: +11
195 default_{{ HOSTNAME_CTL02 }}: +12
196 default_{{ HOSTNAME_CTL03 }}: +13
197 default_{{ HOSTNAME_DBS }}: +50
198 default_{{ HOSTNAME_DBS01 }}: +51
199 default_{{ HOSTNAME_DBS02 }}: +52
200 default_{{ HOSTNAME_DBS03 }}: +53
201 default_{{ HOSTNAME_GTW01 }}: +224
202 default_{{ HOSTNAME_GTW02 }}: +225
203 default_{{ HOSTNAME_GTW03 }}: +226
204 default_{{ HOSTNAME_MSG }}: +40
205 default_{{ HOSTNAME_MSG01 }}: +41
206 default_{{ HOSTNAME_MSG02 }}: +42
207 default_{{ HOSTNAME_MSG03 }}: +43
208 default_{{ HOSTNAME_PRX }}: +80
209 default_{{ HOSTNAME_PRX01 }}: +81
210 default_{{ HOSTNAME_PRX02 }}: +82
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300211 default_{{ HOSTNAME_BMK01 }}: +85
212
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300213 default_{{ HOSTNAME_MON }}: +70
214 default_{{ HOSTNAME_MON01 }}: +71
215 default_{{ HOSTNAME_MON02 }}: +72
216 default_{{ HOSTNAME_MON03 }}: +73
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300217 default_{{ HOSTNAME_LOG }}: +60
218 default_{{ HOSTNAME_LOG01 }}: +61
219 default_{{ HOSTNAME_LOG02 }}: +62
220 default_{{ HOSTNAME_LOG03 }}: +63
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300221 default_{{ HOSTNAME_MTR }}: +85
222 default_{{ HOSTNAME_MTR01 }}: +86
223 default_{{ HOSTNAME_MTR02 }}: +87
224 default_{{ HOSTNAME_MTR03 }}: +88
225
226 default_{{ HOSTNAME_CMP01 }}: +101
227 default_{{ HOSTNAME_CMP02 }}: +102
228 ip_ranges:
229 dhcp: [+10, -10]
230
231 external-pool01:
232 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
233 params:
234 ip_reserved:
235 gateway: +1
236 l2_network_device: +1
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300237 default_{{ HOSTNAME_CFG01 }}: +15
238
239 default_{{ HOSTNAME_CID }}: +90
240 default_{{ HOSTNAME_CID01 }}: +91
241 default_{{ HOSTNAME_CID02 }}: +92
242 default_{{ HOSTNAME_CID03 }}: +93
243
244 default_{{ HOSTNAME_KVM }}: +240
245 default_{{ HOSTNAME_KVM01 }}: +241
246 default_{{ HOSTNAME_KVM02 }}: +242
247 default_{{ HOSTNAME_KVM03 }}: +243
248
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300249 default_{{ HOSTNAME_CTL }}: +10
250 default_{{ HOSTNAME_CTL01 }}: +11
251 default_{{ HOSTNAME_CTL02 }}: +12
252 default_{{ HOSTNAME_CTL03 }}: +13
253 default_{{ HOSTNAME_DBS }}: +50
254 default_{{ HOSTNAME_DBS01 }}: +51
255 default_{{ HOSTNAME_DBS02 }}: +52
256 default_{{ HOSTNAME_DBS03 }}: +53
257 default_{{ HOSTNAME_GTW01 }}: +224
258 default_{{ HOSTNAME_GTW02 }}: +225
259 default_{{ HOSTNAME_GTW03 }}: +226
260 default_{{ HOSTNAME_MSG }}: +40
261 default_{{ HOSTNAME_MSG01 }}: +41
262 default_{{ HOSTNAME_MSG02 }}: +42
263 default_{{ HOSTNAME_MSG03 }}: +43
264 default_{{ HOSTNAME_PRX }}: +80
265 default_{{ HOSTNAME_PRX01 }}: +81
266 default_{{ HOSTNAME_PRX02 }}: +82
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300267 default_{{ HOSTNAME_BMK01 }}: +85
268
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300269 default_{{ HOSTNAME_MON }}: +70
270 default_{{ HOSTNAME_MON01 }}: +71
271 default_{{ HOSTNAME_MON02 }}: +72
272 default_{{ HOSTNAME_MON03 }}: +73
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300273 default_{{ HOSTNAME_LOG }}: +60
274 default_{{ HOSTNAME_LOG01 }}: +61
275 default_{{ HOSTNAME_LOG02 }}: +62
276 default_{{ HOSTNAME_LOG03 }}: +63
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300277 default_{{ HOSTNAME_MTR }}: +85
278 default_{{ HOSTNAME_MTR01 }}: +86
279 default_{{ HOSTNAME_MTR02 }}: +87
280 default_{{ HOSTNAME_MTR03 }}: +88
281
282 default_{{ HOSTNAME_CMP01 }}: +101
283 default_{{ HOSTNAME_CMP02 }}: +102
284 ip_ranges:
285 dhcp: [+10, -10]
286
287
288 groups:
289 - name: default
290 driver:
291 name: devops.driver.libvirt
292 params:
293 connection_string: !os_env CONNECTION_STRING, qemu:///system
294 storage_pool_name: !os_env STORAGE_POOL_NAME, default
295 stp: False
296 hpet: False
297 enable_acpi: true
298 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
299 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
300
301 network_pools:
302 admin: admin-pool01
303 private: private-pool01
304 tenant: tenant-pool01
305 external: external-pool01
306
307 l2_network_devices:
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300308 admin:
309 address_pool: admin-pool01
310 dhcp: true
311 forward:
312 mode: nat
313
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300314 private:
315 address_pool: private-pool01
316 dhcp: false
317
318 #tenant:
319 # address_pool: tenant-pool01
320 # dhcp: false
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300321
322 external:
323 address_pool: external-pool01
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300324 dhcp: false
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300325 forward:
326 mode: nat
327
328
329 group_volumes:
330 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200331 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
332 format: qcow2
333 - name: cfg01_day01_image # Pre-configured day01 image
334 source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300335 format: qcow2
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200336 - name: mcp_ubuntu_1604_image # Pre-configured image for VCP nodes initially based on kvm nodes.
337 # http://images.mirantis.com/ubuntu-16-04-x64-latest.qcow2 (preffered)
338 # or
339 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
340 source_image: {{ os_env('MCP_IMAGE_PATH1604', os_env('IMAGE_PATH1604')) }}
341 format: qcow2
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300342
343 nodes:
344 - name: {{ HOSTNAME_CFG01 }}
345 role: salt_master
346 params:
347 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrievb1822792017-10-24 18:22:23 +0300348 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300349 boot:
350 - hd
351 cloud_init_volume_name: iso
352 cloud_init_iface_up: ens3
353 volumes:
354 - name: system
355 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200356 backing_store: cfg01_day01_image
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300357 format: qcow2
358 - name: iso # Volume with name 'iso' will be used
359 # for store image with cloud-init metadata.
360 capacity: 1
361 format: raw
362 device: cdrom
363 bus: ide
364 cloudinit_meta_data: *cloudinit_meta_data
365 cloudinit_user_data: *cloudinit_user_data_cfg01
366
367 interfaces:
368 - label: ens3
369 l2_network_device: admin
370 interface_model: *interface_model
371 - label: ens4
372 l2_network_device: private
373 interface_model: *interface_model
374 network_config:
375 ens3:
376 networks:
377 - admin
378 ens4:
379 networks:
380 - private
381
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300382 - name: {{ HOSTNAME_CID01 }}
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300383 role: salt_minion
384 params:
385 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200386 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300387 boot:
388 - hd
389 cloud_init_volume_name: iso
390 cloud_init_iface_up: ens3
391 volumes:
392 - name: system
393 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200394 backing_store: mcp_ubuntu_1604_image
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300395 format: qcow2
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300396 - name: iso # Volume with name 'iso' will be used
397 # for store image with cloud-init metadata.
398 capacity: 1
399 format: raw
400 device: cdrom
401 bus: ide
402 cloudinit_meta_data: *cloudinit_meta_data
403 cloudinit_user_data: *cloudinit_user_data_1604
404
405 interfaces: &interfaces
406 - label: ens3
407 l2_network_device: admin
408 interface_model: *interface_model
409 - label: ens4
410 l2_network_device: private
411 interface_model: *interface_model
412 network_config: &network_config
413 ens3:
414 networks:
415 - admin
416 ens4:
417 networks:
418 - private
419
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300420 - name: {{ HOSTNAME_CID02 }}
421 role: salt_minion
422 params:
423 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200424 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300425 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
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200432 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300433 format: qcow2
434 - name: iso # Volume with name 'iso' will be used
435 # for store image with cloud-init metadata.
436 capacity: 1
437 format: raw
438 device: cdrom
439 bus: ide
440 cloudinit_meta_data: *cloudinit_meta_data
441 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300442
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300443 interfaces: *interfaces
444 network_config: *network_config
445
446 - name: {{ HOSTNAME_CID03 }}
447 role: salt_minion
448 params:
449 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200450 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300451 boot:
452 - hd
453 cloud_init_volume_name: iso
454 cloud_init_iface_up: ens3
455 volumes:
456 - name: system
457 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200458 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300459 format: qcow2
460 - name: iso # Volume with name 'iso' will be used
461 # for store image with cloud-init metadata.
462 capacity: 1
463 format: raw
464 device: cdrom
465 bus: ide
466 cloudinit_meta_data: *cloudinit_meta_data
467 cloudinit_user_data: *cloudinit_user_data_1604
468
469 interfaces: *interfaces
470 network_config: *network_config
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300471
472 # KVM* nodes required for services like glusterfs.server
473 - name: {{ HOSTNAME_KVM01 }}
474 role: salt_minion
475 params:
476 vcpu: !os_env SLAVE_NODE_CPU, 1
477 memory: !os_env SLAVE_NODE_MEMORY, 2048
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: cloudimage1604
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
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300499 - name: {{ HOSTNAME_KVM02 }}
500 role: salt_minion
501 params:
502 vcpu: !os_env SLAVE_NODE_CPU, 1
503 memory: !os_env SLAVE_NODE_MEMORY, 2048
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: cloudimage1604
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_KVM03 }}
526 role: salt_minion
527 params:
528 vcpu: !os_env SLAVE_NODE_CPU, 1
529 memory: !os_env SLAVE_NODE_MEMORY, 2048
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: cloudimage1604
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_DBS01 }}
552 role: salt_minion
553 params:
554 vcpu: !os_env SLAVE_NODE_CPU, 1
555 memory: !os_env SLAVE_NODE_MEMORY, 6144
556 boot:
557 - hd
558 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300559 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300560 volumes:
561 - name: system
562 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200563 backing_store: mcp_ubuntu_1604_image
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300564 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
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300572 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300573
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300574 interfaces: *interfaces
575 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300576
577 - name: {{ HOSTNAME_DBS02 }}
578 role: salt_minion
579 params:
580 vcpu: !os_env SLAVE_NODE_CPU, 1
581 memory: !os_env SLAVE_NODE_MEMORY, 6144
582 boot:
583 - hd
584 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300585 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300586 volumes:
587 - name: system
588 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200589 backing_store: mcp_ubuntu_1604_image
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300590 format: qcow2
591 - 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
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300598 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300599
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300600 interfaces: *interfaces
601 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300602
603 - name: {{ HOSTNAME_DBS03 }}
604 role: salt_minion
605 params:
606 vcpu: !os_env SLAVE_NODE_CPU, 1
607 memory: !os_env SLAVE_NODE_MEMORY, 6144
608 boot:
609 - hd
610 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300611 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300612 volumes:
613 - name: system
614 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200615 backing_store: mcp_ubuntu_1604_image
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300616 format: qcow2
617 - name: iso # Volume with name 'iso' will be used
618 # for store image with cloud-init metadata.
619 capacity: 1
620 format: raw
621 device: cdrom
622 bus: ide
623 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300624 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300625
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300626 interfaces: *interfaces
627 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300628
629 - name: {{ HOSTNAME_MSG01 }}
630 role: salt_minion
631 params:
632 vcpu: !os_env SLAVE_NODE_CPU, 1
633 memory: !os_env SLAVE_NODE_MEMORY, 4096
634 boot:
635 - hd
636 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300637 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300638 volumes:
639 - name: system
640 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200641 backing_store: mcp_ubuntu_1604_image
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300642 format: qcow2
643 - name: iso # Volume with name 'iso' will be used
644 # for store image with cloud-init metadata.
645 capacity: 1
646 format: raw
647 device: cdrom
648 bus: ide
649 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300650 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300651
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300652 interfaces: *interfaces
653 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300654
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300655 - name: {{ HOSTNAME_MSG02 }}
656 role: salt_minion
657 params:
658 vcpu: !os_env SLAVE_NODE_CPU, 1
659 memory: !os_env SLAVE_NODE_MEMORY, 4096
660 boot:
661 - hd
662 cloud_init_volume_name: iso
663 cloud_init_iface_up: ens3
664 volumes:
665 - name: system
666 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200667 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300668 format: qcow2
669 - name: iso # Volume with name 'iso' will be used
670 # for store image with cloud-init metadata.
671 capacity: 1
672 format: raw
673 device: cdrom
674 bus: ide
675 cloudinit_meta_data: *cloudinit_meta_data
676 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300677
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300678 interfaces: *interfaces
679 network_config: *network_config
680
681 - name: {{ HOSTNAME_MSG03 }}
682 role: salt_minion
683 params:
684 vcpu: !os_env SLAVE_NODE_CPU, 1
685 memory: !os_env SLAVE_NODE_MEMORY, 4096
686 boot:
687 - hd
688 cloud_init_volume_name: iso
689 cloud_init_iface_up: ens3
690 volumes:
691 - name: system
692 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200693 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300694 format: qcow2
695 - name: iso # Volume with name 'iso' will be used
696 # for store image with cloud-init metadata.
697 capacity: 1
698 format: raw
699 device: cdrom
700 bus: ide
701 cloudinit_meta_data: *cloudinit_meta_data
702 cloudinit_user_data: *cloudinit_user_data_1604
703
704 interfaces: *interfaces
705 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300706
707 - name: {{ HOSTNAME_CTL01 }}
708 role: salt_minion
709 params:
710 vcpu: !os_env SLAVE_NODE_CPU, 2
711 memory: !os_env SLAVE_NODE_MEMORY, 6144
712 boot:
713 - hd
714 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300715 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300716 volumes:
717 - name: system
718 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200719 backing_store: mcp_ubuntu_1604_image
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300720 format: qcow2
721 - name: cinder
722 capacity: 50
723 format: qcow2
724 - name: iso # Volume with name 'iso' will be used
725 # for store image with cloud-init metadata.
726 capacity: 1
727 format: raw
728 device: cdrom
729 bus: ide
730 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300731 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300732
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300733 interfaces: *interfaces
734 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300735
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300736 - name: {{ HOSTNAME_CTL02 }}
737 role: salt_minion
738 params:
739 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300740 memory: !os_env SLAVE_NODE_MEMORY, 6144
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300741 boot:
742 - hd
743 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300744 cloud_init_iface_up: ens3
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300745 volumes:
746 - name: system
747 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200748 backing_store: mcp_ubuntu_1604_image
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300749 format: qcow2
750 - name: cinder
751 capacity: 50
752 format: qcow2
753 - name: iso # Volume with name 'iso' will be used
754 # for store image with cloud-init metadata.
755 capacity: 1
756 format: raw
757 device: cdrom
758 bus: ide
759 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300760 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300761
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300762 interfaces: *interfaces
763 network_config: *network_config
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300764
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300765 - name: {{ HOSTNAME_CTL03 }}
766 role: salt_minion
767 params:
768 vcpu: !os_env SLAVE_NODE_CPU, 2
769 memory: !os_env SLAVE_NODE_MEMORY, 6144
770 boot:
771 - hd
772 cloud_init_volume_name: iso
773 cloud_init_iface_up: ens3
774 volumes:
775 - name: system
776 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200777 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300778 format: qcow2
779 - name: cinder
780 capacity: 50
781 format: qcow2
782 - name: iso # Volume with name 'iso' will be used
783 # for store image with cloud-init metadata.
784 capacity: 1
785 format: raw
786 device: cdrom
787 bus: ide
788 cloudinit_meta_data: *cloudinit_meta_data
789 cloudinit_user_data: *cloudinit_user_data_1604
790
791 interfaces: *interfaces
792 network_config: *network_config
793
794 - name: {{ HOSTNAME_MON01 }}
795 role: salt_minion
796 params:
797 vcpu: !os_env SLAVE_NODE_CPU, 1
798 memory: !os_env SLAVE_NODE_MEMORY, 6144
799 boot:
800 - hd
801 cloud_init_volume_name: iso
802 cloud_init_iface_up: ens3
803 volumes:
804 - name: system
805 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200806 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300807 format: qcow2
808 - name: iso # Volume with name 'iso' will be used
809 # for store image with cloud-init metadata.
810 capacity: 1
811 format: raw
812 device: cdrom
813 bus: ide
814 cloudinit_meta_data: *cloudinit_meta_data
815 cloudinit_user_data: *cloudinit_user_data_1604
816
817 interfaces: *interfaces
818 network_config: *network_config
819
820 - name: {{ HOSTNAME_MON02 }}
821 role: salt_minion
822 params:
823 vcpu: !os_env SLAVE_NODE_CPU, 1
824 memory: !os_env SLAVE_NODE_MEMORY, 6144
825 boot:
826 - hd
827 cloud_init_volume_name: iso
828 cloud_init_iface_up: ens3
829 volumes:
830 - name: system
831 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200832 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300833 format: qcow2
834 - name: iso # Volume with name 'iso' will be used
835 # for store image with cloud-init metadata.
836 capacity: 1
837 format: raw
838 device: cdrom
839 bus: ide
840 cloudinit_meta_data: *cloudinit_meta_data
841 cloudinit_user_data: *cloudinit_user_data_1604
842
843 interfaces: *interfaces
844 network_config: *network_config
845
846 - name: {{ HOSTNAME_MON03 }}
847 role: salt_minion
848 params:
849 vcpu: !os_env SLAVE_NODE_CPU, 1
850 memory: !os_env SLAVE_NODE_MEMORY, 6144
851 boot:
852 - hd
853 cloud_init_volume_name: iso
854 cloud_init_iface_up: ens3
855 volumes:
856 - name: system
857 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200858 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300859 format: qcow2
860 - name: iso # Volume with name 'iso' will be used
861 # for store image with cloud-init metadata.
862 capacity: 1
863 format: raw
864 device: cdrom
865 bus: ide
866 cloudinit_meta_data: *cloudinit_meta_data
867 cloudinit_user_data: *cloudinit_user_data_1604
868
869 interfaces: *interfaces
870 network_config: *network_config
871
872 - name: {{ HOSTNAME_LOG01 }}
873 role: salt_minion
874 params:
875 vcpu: !os_env SLAVE_NODE_CPU, 1
876 memory: !os_env SLAVE_NODE_MEMORY, 4096
877 boot:
878 - hd
879 cloud_init_volume_name: iso
880 cloud_init_iface_up: ens3
881 volumes:
882 - name: system
883 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200884 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300885 format: qcow2
886 - name: iso # Volume with name 'iso' will be used
887 # for store image with cloud-init metadata.
888 capacity: 1
889 format: raw
890 device: cdrom
891 bus: ide
892 cloudinit_meta_data: *cloudinit_meta_data
893 cloudinit_user_data: *cloudinit_user_data_1604
894
895 interfaces: *interfaces
896 network_config: *network_config
897
898 - name: {{ HOSTNAME_LOG02 }}
899 role: salt_minion
900 params:
901 vcpu: !os_env SLAVE_NODE_CPU, 1
902 memory: !os_env SLAVE_NODE_MEMORY, 4096
903 boot:
904 - hd
905 cloud_init_volume_name: iso
906 cloud_init_iface_up: ens3
907 volumes:
908 - name: system
909 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200910 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300911 format: qcow2
912 - name: iso # Volume with name 'iso' will be used
913 # for store image with cloud-init metadata.
914 capacity: 1
915 format: raw
916 device: cdrom
917 bus: ide
918 cloudinit_meta_data: *cloudinit_meta_data
919 cloudinit_user_data: *cloudinit_user_data_1604
920
921 interfaces: *interfaces
922 network_config: *network_config
923
924 - name: {{ HOSTNAME_LOG03 }}
925 role: salt_minion
926 params:
927 vcpu: !os_env SLAVE_NODE_CPU, 1
928 memory: !os_env SLAVE_NODE_MEMORY, 4096
929 boot:
930 - hd
931 cloud_init_volume_name: iso
932 cloud_init_iface_up: ens3
933 volumes:
934 - name: system
935 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200936 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300937 format: qcow2
938 - name: iso # Volume with name 'iso' will be used
939 # for store image with cloud-init metadata.
940 capacity: 1
941 format: raw
942 device: cdrom
943 bus: ide
944 cloudinit_meta_data: *cloudinit_meta_data
945 cloudinit_user_data: *cloudinit_user_data_1604
946
947 interfaces: *interfaces
948 network_config: *network_config
949
950 - name: {{ HOSTNAME_MTR01 }}
951 role: salt_minion
952 params:
953 vcpu: !os_env SLAVE_NODE_CPU, 1
954 memory: !os_env SLAVE_NODE_MEMORY, 4096
955 boot:
956 - hd
957 cloud_init_volume_name: iso
958 cloud_init_iface_up: ens3
959 volumes:
960 - name: system
961 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200962 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300963 format: qcow2
964 - name: iso # Volume with name 'iso' will be used
965 # for store image with cloud-init metadata.
966 capacity: 1
967 format: raw
968 device: cdrom
969 bus: ide
970 cloudinit_meta_data: *cloudinit_meta_data
971 cloudinit_user_data: *cloudinit_user_data_1604
972
973 interfaces: *interfaces
974 network_config: *network_config
975
976 - name: {{ HOSTNAME_MTR02 }}
977 role: salt_minion
978 params:
979 vcpu: !os_env SLAVE_NODE_CPU, 1
980 memory: !os_env SLAVE_NODE_MEMORY, 4096
981 boot:
982 - hd
983 cloud_init_volume_name: iso
984 cloud_init_iface_up: ens3
985 volumes:
986 - name: system
987 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +0200988 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300989 format: qcow2
990 - name: iso # Volume with name 'iso' will be used
991 # for store image with cloud-init metadata.
992 capacity: 1
993 format: raw
994 device: cdrom
995 bus: ide
996 cloudinit_meta_data: *cloudinit_meta_data
997 cloudinit_user_data: *cloudinit_user_data_1604
998
999 interfaces: *interfaces
1000 network_config: *network_config
1001
1002 - name: {{ HOSTNAME_MTR03 }}
1003 role: salt_minion
1004 params:
1005 vcpu: !os_env SLAVE_NODE_CPU, 1
1006 memory: !os_env SLAVE_NODE_MEMORY, 4096
1007 boot:
1008 - hd
1009 cloud_init_volume_name: iso
1010 cloud_init_iface_up: ens3
1011 volumes:
1012 - name: system
1013 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +02001014 backing_store: mcp_ubuntu_1604_image
Dennis Dmitrievc9f46972017-10-13 14:00:23 +03001015 format: qcow2
1016 - name: iso # Volume with name 'iso' will be used
1017 # for store image with cloud-init metadata.
1018 capacity: 1
1019 format: raw
1020 device: cdrom
1021 bus: ide
1022 cloudinit_meta_data: *cloudinit_meta_data
1023 cloudinit_user_data: *cloudinit_user_data_1604
1024
1025 interfaces: *interfaces
1026 network_config: *network_config
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001027
1028 - name: {{ HOSTNAME_PRX01 }}
1029 role: salt_minion
1030 params:
1031 vcpu: !os_env SLAVE_NODE_CPU, 1
Dennis Dmitriev910a8002017-08-31 14:53:47 +03001032 memory: !os_env SLAVE_NODE_MEMORY, 2048
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001033 boot:
1034 - hd
1035 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001036 cloud_init_iface_up: ens3
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001037 volumes:
1038 - name: system
1039 capacity: !os_env NODE_VOLUME_SIZE, 150
Dennis Dmitriev6f71cfd2018-01-31 14:17:28 +02001040 backing_store: mcp_ubuntu_1604_image
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001041 format: qcow2
1042 - name: cinder
1043 capacity: 50
1044 format: qcow2
1045 - name: iso # Volume with name 'iso' will be used
1046 # for store image with cloud-init metadata.
1047 capacity: 1
1048 format: raw
1049 device: cdrom
1050 bus: ide
1051 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001052 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001053
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001054 interfaces: *interfaces
1055 network_config: *network_config
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001056
1057 - name: {{ HOSTNAME_CMP01 }}
1058 role: salt_minion
1059 params:
1060 vcpu: !os_env SLAVE_NODE_CPU, 3
Dennis Dmitriev910a8002017-08-31 14:53:47 +03001061 memory: !os_env SLAVE_NODE_MEMORY, 3072
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001062 boot:
1063 - hd
1064 cloud_init_volume_name: iso
1065 cloud_init_iface_up: ens3
1066 volumes:
1067 - name: system
1068 capacity: !os_env NODE_VOLUME_SIZE, 150
1069 backing_store: cloudimage1604
1070 format: qcow2
1071 - name: iso # Volume with name 'iso' will be used
1072 # for store image with cloud-init metadata.
1073 capacity: 1
1074 format: raw
1075 device: cdrom
1076 bus: ide
1077 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitriev8ed27882018-01-31 23:23:19 +02001078 cloudinit_user_data: *cloudinit_user_data_1604_hwe
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001079
1080
1081 interfaces: &all_interfaces
1082 - label: ens3
1083 l2_network_device: admin
1084 interface_model: *interface_model
1085 - label: ens4
1086 l2_network_device: private
1087 interface_model: *interface_model
1088 - label: ens5
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001089 l2_network_device: private
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001090 interface_model: *interface_model
1091 - label: ens6
1092 l2_network_device: external
1093 interface_model: *interface_model
1094 network_config: &all_network_config
1095 ens3:
1096 networks:
1097 - admin
1098 ens4:
1099 networks:
1100 - private
1101 ens5:
1102 networks:
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001103 - private
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001104 ens6:
1105 networks:
1106 - external
1107
1108 - name: {{ HOSTNAME_CMP02 }}
1109 role: salt_minion
1110 params:
1111 vcpu: !os_env SLAVE_NODE_CPU, 3
Dennis Dmitriev910a8002017-08-31 14:53:47 +03001112 memory: !os_env SLAVE_NODE_MEMORY, 3072
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001113 boot:
1114 - hd
1115 cloud_init_volume_name: iso
1116 cloud_init_iface_up: ens3
1117 volumes:
1118 - name: system
1119 capacity: !os_env NODE_VOLUME_SIZE, 150
1120 backing_store: cloudimage1604
1121 format: qcow2
1122 - name: iso # Volume with name 'iso' will be used
1123 # for store image with cloud-init metadata.
1124 capacity: 1
1125 format: raw
1126 device: cdrom
1127 bus: ide
1128 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitriev8ed27882018-01-31 23:23:19 +02001129 cloudinit_user_data: *cloudinit_user_data_1604_hwe
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001130
1131 interfaces: *all_interfaces
1132 network_config: *all_network_config
1133
1134 - name: {{ HOSTNAME_GTW01 }}
1135 role: salt_minion
1136 params:
Dennis Dmitriev910a8002017-08-31 14:53:47 +03001137 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001138 memory: !os_env SLAVE_NODE_MEMORY, 2048
1139 boot:
1140 - hd
1141 cloud_init_volume_name: iso
1142 cloud_init_iface_up: ens3
1143 volumes:
1144 - name: system
1145 capacity: !os_env NODE_VOLUME_SIZE, 150
1146 backing_store: cloudimage1604
1147 format: qcow2
1148 - name: iso # Volume with name 'iso' will be used
1149 # for store image with cloud-init metadata.
1150 capacity: 1
1151 format: raw
1152 device: cdrom
1153 bus: ide
1154 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitriev8ed27882018-01-31 23:23:19 +02001155 cloudinit_user_data: *cloudinit_user_data_1604_hwe
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001156
1157 interfaces: *all_interfaces
1158 network_config: *all_network_config