blob: 2511ca74e2ff9584b30fc7618f3ae55d495d4d13 [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 Dmitriev9dada8a2017-08-30 17:38:55 +030047
48---
49aliases:
50 - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }}
51 - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }}
52 - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }}
53 - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }}
54
55template:
56 devops_settings:
57 env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }}
58
59 address_pools:
60 private-pool01:
61 net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }}
62 params:
63 ip_reserved:
64 gateway: +1
65 l2_network_device: +1
Dennis Dmitriev910a8002017-08-31 14:53:47 +030066 default_{{ HOSTNAME_CFG01 }}: +15
67
68 default_{{ HOSTNAME_CID }}: +90
69 default_{{ HOSTNAME_CID01 }}: +91
70 default_{{ HOSTNAME_CID02 }}: +92
71 default_{{ HOSTNAME_CID03 }}: +93
72
73 default_{{ HOSTNAME_KVM }}: +240
74 default_{{ HOSTNAME_KVM01 }}: +241
75 default_{{ HOSTNAME_KVM02 }}: +242
76 default_{{ HOSTNAME_KVM03 }}: +243
77
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030078 default_{{ HOSTNAME_CTL }}: +10
79 default_{{ HOSTNAME_CTL01 }}: +11
80 default_{{ HOSTNAME_CTL02 }}: +12
81 default_{{ HOSTNAME_CTL03 }}: +13
82 default_{{ HOSTNAME_DBS }}: +50
83 default_{{ HOSTNAME_DBS01 }}: +51
84 default_{{ HOSTNAME_DBS02 }}: +52
85 default_{{ HOSTNAME_DBS03 }}: +53
86 default_{{ HOSTNAME_GTW01 }}: +224
87 default_{{ HOSTNAME_GTW02 }}: +225
88 default_{{ HOSTNAME_GTW03 }}: +226
89 default_{{ HOSTNAME_MSG }}: +40
90 default_{{ HOSTNAME_MSG01 }}: +41
91 default_{{ HOSTNAME_MSG02 }}: +42
92 default_{{ HOSTNAME_MSG03 }}: +43
93 default_{{ HOSTNAME_PRX }}: +80
94 default_{{ HOSTNAME_PRX01 }}: +81
95 default_{{ HOSTNAME_PRX02 }}: +82
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +030096 default_{{ HOSTNAME_BMK01 }}: +85
97
Dennis Dmitrievc9f46972017-10-13 14:00:23 +030098 default_{{ HOSTNAME_MON }}: +70
99 default_{{ HOSTNAME_MON01 }}: +71
100 default_{{ HOSTNAME_MON02 }}: +72
101 default_{{ HOSTNAME_MON03 }}: +73
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300102 default_{{ HOSTNAME_LOG }}: +60
103 default_{{ HOSTNAME_LOG01 }}: +61
104 default_{{ HOSTNAME_LOG02 }}: +62
105 default_{{ HOSTNAME_LOG03 }}: +63
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300106 default_{{ HOSTNAME_MTR }}: +85
107 default_{{ HOSTNAME_MTR01 }}: +86
108 default_{{ HOSTNAME_MTR02 }}: +87
109 default_{{ HOSTNAME_MTR03 }}: +88
110
111 default_{{ HOSTNAME_CMP01 }}: +101
112 default_{{ HOSTNAME_CMP02 }}: +102
113 ip_ranges:
114 dhcp: [+90, -10]
115
116 admin-pool01:
117 net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }}
118 params:
119 ip_reserved:
120 gateway: +1
121 l2_network_device: +1
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300122 default_{{ HOSTNAME_CFG01 }}: +15
123
124 default_{{ HOSTNAME_CID }}: +90
125 default_{{ HOSTNAME_CID01 }}: +91
126 default_{{ HOSTNAME_CID02 }}: +92
127 default_{{ HOSTNAME_CID03 }}: +93
128
129 default_{{ HOSTNAME_KVM }}: +240
130 default_{{ HOSTNAME_KVM01 }}: +241
131 default_{{ HOSTNAME_KVM02 }}: +242
132 default_{{ HOSTNAME_KVM03 }}: +243
133
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300134 default_{{ HOSTNAME_CTL }}: +10
135 default_{{ HOSTNAME_CTL01 }}: +11
136 default_{{ HOSTNAME_CTL02 }}: +12
137 default_{{ HOSTNAME_CTL03 }}: +13
138 default_{{ HOSTNAME_DBS }}: +50
139 default_{{ HOSTNAME_DBS01 }}: +51
140 default_{{ HOSTNAME_DBS02 }}: +52
141 default_{{ HOSTNAME_DBS03 }}: +53
142 default_{{ HOSTNAME_GTW01 }}: +224
143 default_{{ HOSTNAME_GTW02 }}: +225
144 default_{{ HOSTNAME_GTW03 }}: +226
145 default_{{ HOSTNAME_MSG }}: +40
146 default_{{ HOSTNAME_MSG01 }}: +41
147 default_{{ HOSTNAME_MSG02 }}: +42
148 default_{{ HOSTNAME_MSG03 }}: +43
149 default_{{ HOSTNAME_PRX }}: +80
150 default_{{ HOSTNAME_PRX01 }}: +81
151 default_{{ HOSTNAME_PRX02 }}: +82
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300152 default_{{ HOSTNAME_BMK01 }}: +85
153
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300154 default_{{ HOSTNAME_MON }}: +70
155 default_{{ HOSTNAME_MON01 }}: +71
156 default_{{ HOSTNAME_MON02 }}: +72
157 default_{{ HOSTNAME_MON03 }}: +73
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300158 default_{{ HOSTNAME_LOG }}: +60
159 default_{{ HOSTNAME_LOG01 }}: +61
160 default_{{ HOSTNAME_LOG02 }}: +62
161 default_{{ HOSTNAME_LOG03 }}: +63
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300162
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300163 default_{{ HOSTNAME_MTR }}: +85
164 default_{{ HOSTNAME_MTR01 }}: +86
165 default_{{ HOSTNAME_MTR02 }}: +87
166 default_{{ HOSTNAME_MTR03 }}: +88
167
168 default_{{ HOSTNAME_CMP01 }}: +101
169 default_{{ HOSTNAME_CMP02 }}: +102
170 ip_ranges:
171 dhcp: [+90, -10]
172
173 tenant-pool01:
174 net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }}
175 params:
176 ip_reserved:
177 gateway: +1
178 l2_network_device: +1
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300179 default_{{ HOSTNAME_CFG01 }}: +15
180
181 default_{{ HOSTNAME_CID }}: +90
182 default_{{ HOSTNAME_CID01 }}: +91
183 default_{{ HOSTNAME_CID02 }}: +92
184 default_{{ HOSTNAME_CID03 }}: +93
185
186 default_{{ HOSTNAME_KVM }}: +240
187 default_{{ HOSTNAME_KVM01 }}: +241
188 default_{{ HOSTNAME_KVM02 }}: +242
189 default_{{ HOSTNAME_KVM03 }}: +243
190
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300191 default_{{ HOSTNAME_CTL }}: +10
192 default_{{ HOSTNAME_CTL01 }}: +11
193 default_{{ HOSTNAME_CTL02 }}: +12
194 default_{{ HOSTNAME_CTL03 }}: +13
195 default_{{ HOSTNAME_DBS }}: +50
196 default_{{ HOSTNAME_DBS01 }}: +51
197 default_{{ HOSTNAME_DBS02 }}: +52
198 default_{{ HOSTNAME_DBS03 }}: +53
199 default_{{ HOSTNAME_GTW01 }}: +224
200 default_{{ HOSTNAME_GTW02 }}: +225
201 default_{{ HOSTNAME_GTW03 }}: +226
202 default_{{ HOSTNAME_MSG }}: +40
203 default_{{ HOSTNAME_MSG01 }}: +41
204 default_{{ HOSTNAME_MSG02 }}: +42
205 default_{{ HOSTNAME_MSG03 }}: +43
206 default_{{ HOSTNAME_PRX }}: +80
207 default_{{ HOSTNAME_PRX01 }}: +81
208 default_{{ HOSTNAME_PRX02 }}: +82
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300209 default_{{ HOSTNAME_BMK01 }}: +85
210
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300211 default_{{ HOSTNAME_MON }}: +70
212 default_{{ HOSTNAME_MON01 }}: +71
213 default_{{ HOSTNAME_MON02 }}: +72
214 default_{{ HOSTNAME_MON03 }}: +73
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300215 default_{{ HOSTNAME_LOG }}: +60
216 default_{{ HOSTNAME_LOG01 }}: +61
217 default_{{ HOSTNAME_LOG02 }}: +62
218 default_{{ HOSTNAME_LOG03 }}: +63
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300219 default_{{ HOSTNAME_MTR }}: +85
220 default_{{ HOSTNAME_MTR01 }}: +86
221 default_{{ HOSTNAME_MTR02 }}: +87
222 default_{{ HOSTNAME_MTR03 }}: +88
223
224 default_{{ HOSTNAME_CMP01 }}: +101
225 default_{{ HOSTNAME_CMP02 }}: +102
226 ip_ranges:
227 dhcp: [+10, -10]
228
229 external-pool01:
230 net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }}
231 params:
232 ip_reserved:
233 gateway: +1
234 l2_network_device: +1
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300235 default_{{ HOSTNAME_CFG01 }}: +15
236
237 default_{{ HOSTNAME_CID }}: +90
238 default_{{ HOSTNAME_CID01 }}: +91
239 default_{{ HOSTNAME_CID02 }}: +92
240 default_{{ HOSTNAME_CID03 }}: +93
241
242 default_{{ HOSTNAME_KVM }}: +240
243 default_{{ HOSTNAME_KVM01 }}: +241
244 default_{{ HOSTNAME_KVM02 }}: +242
245 default_{{ HOSTNAME_KVM03 }}: +243
246
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300247 default_{{ HOSTNAME_CTL }}: +10
248 default_{{ HOSTNAME_CTL01 }}: +11
249 default_{{ HOSTNAME_CTL02 }}: +12
250 default_{{ HOSTNAME_CTL03 }}: +13
251 default_{{ HOSTNAME_DBS }}: +50
252 default_{{ HOSTNAME_DBS01 }}: +51
253 default_{{ HOSTNAME_DBS02 }}: +52
254 default_{{ HOSTNAME_DBS03 }}: +53
255 default_{{ HOSTNAME_GTW01 }}: +224
256 default_{{ HOSTNAME_GTW02 }}: +225
257 default_{{ HOSTNAME_GTW03 }}: +226
258 default_{{ HOSTNAME_MSG }}: +40
259 default_{{ HOSTNAME_MSG01 }}: +41
260 default_{{ HOSTNAME_MSG02 }}: +42
261 default_{{ HOSTNAME_MSG03 }}: +43
262 default_{{ HOSTNAME_PRX }}: +80
263 default_{{ HOSTNAME_PRX01 }}: +81
264 default_{{ HOSTNAME_PRX02 }}: +82
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300265 default_{{ HOSTNAME_BMK01 }}: +85
266
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300267 default_{{ HOSTNAME_MON }}: +70
268 default_{{ HOSTNAME_MON01 }}: +71
269 default_{{ HOSTNAME_MON02 }}: +72
270 default_{{ HOSTNAME_MON03 }}: +73
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300271 default_{{ HOSTNAME_LOG }}: +60
272 default_{{ HOSTNAME_LOG01 }}: +61
273 default_{{ HOSTNAME_LOG02 }}: +62
274 default_{{ HOSTNAME_LOG03 }}: +63
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300275 default_{{ HOSTNAME_MTR }}: +85
276 default_{{ HOSTNAME_MTR01 }}: +86
277 default_{{ HOSTNAME_MTR02 }}: +87
278 default_{{ HOSTNAME_MTR03 }}: +88
279
280 default_{{ HOSTNAME_CMP01 }}: +101
281 default_{{ HOSTNAME_CMP02 }}: +102
282 ip_ranges:
283 dhcp: [+10, -10]
284
285
286 groups:
287 - name: default
288 driver:
289 name: devops.driver.libvirt
290 params:
291 connection_string: !os_env CONNECTION_STRING, qemu:///system
292 storage_pool_name: !os_env STORAGE_POOL_NAME, default
293 stp: False
294 hpet: False
295 enable_acpi: true
296 use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true
297 use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false
298
299 network_pools:
300 admin: admin-pool01
301 private: private-pool01
302 tenant: tenant-pool01
303 external: external-pool01
304
305 l2_network_devices:
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300306 admin:
307 address_pool: admin-pool01
308 dhcp: true
309 forward:
310 mode: nat
311
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300312 private:
313 address_pool: private-pool01
314 dhcp: false
315
316 #tenant:
317 # address_pool: tenant-pool01
318 # dhcp: false
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300319
320 external:
321 address_pool: external-pool01
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300322 dhcp: false
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300323 forward:
324 mode: nat
325
326
327 group_volumes:
328 - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes.
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200329 source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
330 format: qcow2
331 - name: cfg01_day01_image # Pre-configured day01 image
332 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 +0300333 format: qcow2
334
335 nodes:
336 - name: {{ HOSTNAME_CFG01 }}
337 role: salt_master
338 params:
339 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitrievb1822792017-10-24 18:22:23 +0300340 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300341 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
Dennis Dmitrievf00a3842018-01-24 16:44:26 +0200348 backing_store: cfg01_day01_image
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300349 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_cfg01
358
359 interfaces:
360 - label: ens3
361 l2_network_device: admin
362 interface_model: *interface_model
363 - label: ens4
364 l2_network_device: private
365 interface_model: *interface_model
366 network_config:
367 ens3:
368 networks:
369 - admin
370 ens4:
371 networks:
372 - private
373
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300374 - name: {{ HOSTNAME_CID01 }}
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300375 role: salt_minion
376 params:
377 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200378 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300379 boot:
380 - hd
381 cloud_init_volume_name: iso
382 cloud_init_iface_up: ens3
383 volumes:
384 - name: system
385 capacity: !os_env NODE_VOLUME_SIZE, 150
386 backing_store: cloudimage1604
387 format: qcow2
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300388 - name: iso # Volume with name 'iso' will be used
389 # for store image with cloud-init metadata.
390 capacity: 1
391 format: raw
392 device: cdrom
393 bus: ide
394 cloudinit_meta_data: *cloudinit_meta_data
395 cloudinit_user_data: *cloudinit_user_data_1604
396
397 interfaces: &interfaces
398 - label: ens3
399 l2_network_device: admin
400 interface_model: *interface_model
401 - label: ens4
402 l2_network_device: private
403 interface_model: *interface_model
404 network_config: &network_config
405 ens3:
406 networks:
407 - admin
408 ens4:
409 networks:
410 - private
411
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300412 - name: {{ HOSTNAME_CID02 }}
413 role: salt_minion
414 params:
415 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200416 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300417 boot:
418 - hd
419 cloud_init_volume_name: iso
420 cloud_init_iface_up: ens3
421 volumes:
422 - name: system
423 capacity: !os_env NODE_VOLUME_SIZE, 150
424 backing_store: cloudimage1604
425 format: qcow2
426 - name: iso # Volume with name 'iso' will be used
427 # for store image with cloud-init metadata.
428 capacity: 1
429 format: raw
430 device: cdrom
431 bus: ide
432 cloudinit_meta_data: *cloudinit_meta_data
433 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300434
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300435 interfaces: *interfaces
436 network_config: *network_config
437
438 - name: {{ HOSTNAME_CID03 }}
439 role: salt_minion
440 params:
441 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev0937c392018-01-29 18:46:40 +0200442 memory: !os_env SLAVE_NODE_MEMORY, 4096
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300443 boot:
444 - hd
445 cloud_init_volume_name: iso
446 cloud_init_iface_up: ens3
447 volumes:
448 - name: system
449 capacity: !os_env NODE_VOLUME_SIZE, 150
450 backing_store: cloudimage1604
451 format: qcow2
452 - name: iso # Volume with name 'iso' will be used
453 # for store image with cloud-init metadata.
454 capacity: 1
455 format: raw
456 device: cdrom
457 bus: ide
458 cloudinit_meta_data: *cloudinit_meta_data
459 cloudinit_user_data: *cloudinit_user_data_1604
460
461 interfaces: *interfaces
462 network_config: *network_config
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300463
464 # KVM* nodes required for services like glusterfs.server
465 - name: {{ HOSTNAME_KVM01 }}
466 role: salt_minion
467 params:
468 vcpu: !os_env SLAVE_NODE_CPU, 1
469 memory: !os_env SLAVE_NODE_MEMORY, 2048
470 boot:
471 - hd
472 cloud_init_volume_name: iso
473 cloud_init_iface_up: ens3
474 volumes:
475 - name: system
476 capacity: !os_env NODE_VOLUME_SIZE, 150
477 backing_store: cloudimage1604
478 format: qcow2
479 - name: iso # Volume with name 'iso' will be used
480 # for store image with cloud-init metadata.
481 capacity: 1
482 format: raw
483 device: cdrom
484 bus: ide
485 cloudinit_meta_data: *cloudinit_meta_data
486 cloudinit_user_data: *cloudinit_user_data_1604
487
488 interfaces: *interfaces
489 network_config: *network_config
490
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300491 - name: {{ HOSTNAME_KVM02 }}
492 role: salt_minion
493 params:
494 vcpu: !os_env SLAVE_NODE_CPU, 1
495 memory: !os_env SLAVE_NODE_MEMORY, 2048
496 boot:
497 - hd
498 cloud_init_volume_name: iso
499 cloud_init_iface_up: ens3
500 volumes:
501 - name: system
502 capacity: !os_env NODE_VOLUME_SIZE, 150
503 backing_store: cloudimage1604
504 format: qcow2
505 - name: iso # Volume with name 'iso' will be used
506 # for store image with cloud-init metadata.
507 capacity: 1
508 format: raw
509 device: cdrom
510 bus: ide
511 cloudinit_meta_data: *cloudinit_meta_data
512 cloudinit_user_data: *cloudinit_user_data_1604
513
514 interfaces: *interfaces
515 network_config: *network_config
516
517 - name: {{ HOSTNAME_KVM03 }}
518 role: salt_minion
519 params:
520 vcpu: !os_env SLAVE_NODE_CPU, 1
521 memory: !os_env SLAVE_NODE_MEMORY, 2048
522 boot:
523 - hd
524 cloud_init_volume_name: iso
525 cloud_init_iface_up: ens3
526 volumes:
527 - name: system
528 capacity: !os_env NODE_VOLUME_SIZE, 150
529 backing_store: cloudimage1604
530 format: qcow2
531 - name: iso # Volume with name 'iso' will be used
532 # for store image with cloud-init metadata.
533 capacity: 1
534 format: raw
535 device: cdrom
536 bus: ide
537 cloudinit_meta_data: *cloudinit_meta_data
538 cloudinit_user_data: *cloudinit_user_data_1604
539
540 interfaces: *interfaces
541 network_config: *network_config
542
543 - name: {{ HOSTNAME_DBS01 }}
544 role: salt_minion
545 params:
546 vcpu: !os_env SLAVE_NODE_CPU, 1
547 memory: !os_env SLAVE_NODE_MEMORY, 6144
548 boot:
549 - hd
550 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300551 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300552 volumes:
553 - name: system
554 capacity: !os_env NODE_VOLUME_SIZE, 150
555 backing_store: cloudimage1604
556 format: qcow2
557 - name: iso # Volume with name 'iso' will be used
558 # for store image with cloud-init metadata.
559 capacity: 1
560 format: raw
561 device: cdrom
562 bus: ide
563 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300564 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300565
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300566 interfaces: *interfaces
567 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300568
569 - name: {{ HOSTNAME_DBS02 }}
570 role: salt_minion
571 params:
572 vcpu: !os_env SLAVE_NODE_CPU, 1
573 memory: !os_env SLAVE_NODE_MEMORY, 6144
574 boot:
575 - hd
576 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300577 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300578 volumes:
579 - name: system
580 capacity: !os_env NODE_VOLUME_SIZE, 150
581 backing_store: cloudimage1604
582 format: qcow2
583 - name: iso # Volume with name 'iso' will be used
584 # for store image with cloud-init metadata.
585 capacity: 1
586 format: raw
587 device: cdrom
588 bus: ide
589 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300590 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300591
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300592 interfaces: *interfaces
593 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300594
595 - name: {{ HOSTNAME_DBS03 }}
596 role: salt_minion
597 params:
598 vcpu: !os_env SLAVE_NODE_CPU, 1
599 memory: !os_env SLAVE_NODE_MEMORY, 6144
600 boot:
601 - hd
602 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300603 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300604 volumes:
605 - name: system
606 capacity: !os_env NODE_VOLUME_SIZE, 150
607 backing_store: cloudimage1604
608 format: qcow2
609 - name: iso # Volume with name 'iso' will be used
610 # for store image with cloud-init metadata.
611 capacity: 1
612 format: raw
613 device: cdrom
614 bus: ide
615 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300616 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300617
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300618 interfaces: *interfaces
619 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300620
621 - name: {{ HOSTNAME_MSG01 }}
622 role: salt_minion
623 params:
624 vcpu: !os_env SLAVE_NODE_CPU, 1
625 memory: !os_env SLAVE_NODE_MEMORY, 4096
626 boot:
627 - hd
628 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300629 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300630 volumes:
631 - name: system
632 capacity: !os_env NODE_VOLUME_SIZE, 150
633 backing_store: cloudimage1604
634 format: qcow2
635 - name: iso # Volume with name 'iso' will be used
636 # for store image with cloud-init metadata.
637 capacity: 1
638 format: raw
639 device: cdrom
640 bus: ide
641 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300642 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300643
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300644 interfaces: *interfaces
645 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300646
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300647 - name: {{ HOSTNAME_MSG02 }}
648 role: salt_minion
649 params:
650 vcpu: !os_env SLAVE_NODE_CPU, 1
651 memory: !os_env SLAVE_NODE_MEMORY, 4096
652 boot:
653 - hd
654 cloud_init_volume_name: iso
655 cloud_init_iface_up: ens3
656 volumes:
657 - name: system
658 capacity: !os_env NODE_VOLUME_SIZE, 150
659 backing_store: cloudimage1604
660 format: qcow2
661 - name: iso # Volume with name 'iso' will be used
662 # for store image with cloud-init metadata.
663 capacity: 1
664 format: raw
665 device: cdrom
666 bus: ide
667 cloudinit_meta_data: *cloudinit_meta_data
668 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300669
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300670 interfaces: *interfaces
671 network_config: *network_config
672
673 - name: {{ HOSTNAME_MSG03 }}
674 role: salt_minion
675 params:
676 vcpu: !os_env SLAVE_NODE_CPU, 1
677 memory: !os_env SLAVE_NODE_MEMORY, 4096
678 boot:
679 - hd
680 cloud_init_volume_name: iso
681 cloud_init_iface_up: ens3
682 volumes:
683 - name: system
684 capacity: !os_env NODE_VOLUME_SIZE, 150
685 backing_store: cloudimage1604
686 format: qcow2
687 - name: iso # Volume with name 'iso' will be used
688 # for store image with cloud-init metadata.
689 capacity: 1
690 format: raw
691 device: cdrom
692 bus: ide
693 cloudinit_meta_data: *cloudinit_meta_data
694 cloudinit_user_data: *cloudinit_user_data_1604
695
696 interfaces: *interfaces
697 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300698
699 - name: {{ HOSTNAME_CTL01 }}
700 role: salt_minion
701 params:
702 vcpu: !os_env SLAVE_NODE_CPU, 2
703 memory: !os_env SLAVE_NODE_MEMORY, 6144
704 boot:
705 - hd
706 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300707 cloud_init_iface_up: ens3
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300708 volumes:
709 - name: system
710 capacity: !os_env NODE_VOLUME_SIZE, 150
711 backing_store: cloudimage1604
712 format: qcow2
713 - name: cinder
714 capacity: 50
715 format: qcow2
716 - name: iso # Volume with name 'iso' will be used
717 # for store image with cloud-init metadata.
718 capacity: 1
719 format: raw
720 device: cdrom
721 bus: ide
722 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300723 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300724
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300725 interfaces: *interfaces
726 network_config: *network_config
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300727
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300728 - name: {{ HOSTNAME_CTL02 }}
729 role: salt_minion
730 params:
731 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev910a8002017-08-31 14:53:47 +0300732 memory: !os_env SLAVE_NODE_MEMORY, 6144
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300733 boot:
734 - hd
735 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300736 cloud_init_iface_up: ens3
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300737 volumes:
738 - name: system
739 capacity: !os_env NODE_VOLUME_SIZE, 150
740 backing_store: cloudimage1604
741 format: qcow2
742 - name: cinder
743 capacity: 50
744 format: qcow2
745 - name: iso # Volume with name 'iso' will be used
746 # for store image with cloud-init metadata.
747 capacity: 1
748 format: raw
749 device: cdrom
750 bus: ide
751 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300752 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300753
Dennis Dmitrievb6227f02017-09-06 17:57:10 +0300754 interfaces: *interfaces
755 network_config: *network_config
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +0300756
Dennis Dmitrievc9f46972017-10-13 14:00:23 +0300757 - name: {{ HOSTNAME_CTL03 }}
758 role: salt_minion
759 params:
760 vcpu: !os_env SLAVE_NODE_CPU, 2
761 memory: !os_env SLAVE_NODE_MEMORY, 6144
762 boot:
763 - hd
764 cloud_init_volume_name: iso
765 cloud_init_iface_up: ens3
766 volumes:
767 - name: system
768 capacity: !os_env NODE_VOLUME_SIZE, 150
769 backing_store: cloudimage1604
770 format: qcow2
771 - name: cinder
772 capacity: 50
773 format: qcow2
774 - name: iso # Volume with name 'iso' will be used
775 # for store image with cloud-init metadata.
776 capacity: 1
777 format: raw
778 device: cdrom
779 bus: ide
780 cloudinit_meta_data: *cloudinit_meta_data
781 cloudinit_user_data: *cloudinit_user_data_1604
782
783 interfaces: *interfaces
784 network_config: *network_config
785
786 - name: {{ HOSTNAME_MON01 }}
787 role: salt_minion
788 params:
789 vcpu: !os_env SLAVE_NODE_CPU, 1
790 memory: !os_env SLAVE_NODE_MEMORY, 6144
791 boot:
792 - hd
793 cloud_init_volume_name: iso
794 cloud_init_iface_up: ens3
795 volumes:
796 - name: system
797 capacity: !os_env NODE_VOLUME_SIZE, 150
798 backing_store: cloudimage1604
799 format: qcow2
800 - name: iso # Volume with name 'iso' will be used
801 # for store image with cloud-init metadata.
802 capacity: 1
803 format: raw
804 device: cdrom
805 bus: ide
806 cloudinit_meta_data: *cloudinit_meta_data
807 cloudinit_user_data: *cloudinit_user_data_1604
808
809 interfaces: *interfaces
810 network_config: *network_config
811
812 - name: {{ HOSTNAME_MON02 }}
813 role: salt_minion
814 params:
815 vcpu: !os_env SLAVE_NODE_CPU, 1
816 memory: !os_env SLAVE_NODE_MEMORY, 6144
817 boot:
818 - hd
819 cloud_init_volume_name: iso
820 cloud_init_iface_up: ens3
821 volumes:
822 - name: system
823 capacity: !os_env NODE_VOLUME_SIZE, 150
824 backing_store: cloudimage1604
825 format: qcow2
826 - name: iso # Volume with name 'iso' will be used
827 # for store image with cloud-init metadata.
828 capacity: 1
829 format: raw
830 device: cdrom
831 bus: ide
832 cloudinit_meta_data: *cloudinit_meta_data
833 cloudinit_user_data: *cloudinit_user_data_1604
834
835 interfaces: *interfaces
836 network_config: *network_config
837
838 - name: {{ HOSTNAME_MON03 }}
839 role: salt_minion
840 params:
841 vcpu: !os_env SLAVE_NODE_CPU, 1
842 memory: !os_env SLAVE_NODE_MEMORY, 6144
843 boot:
844 - hd
845 cloud_init_volume_name: iso
846 cloud_init_iface_up: ens3
847 volumes:
848 - name: system
849 capacity: !os_env NODE_VOLUME_SIZE, 150
850 backing_store: cloudimage1604
851 format: qcow2
852 - name: iso # Volume with name 'iso' will be used
853 # for store image with cloud-init metadata.
854 capacity: 1
855 format: raw
856 device: cdrom
857 bus: ide
858 cloudinit_meta_data: *cloudinit_meta_data
859 cloudinit_user_data: *cloudinit_user_data_1604
860
861 interfaces: *interfaces
862 network_config: *network_config
863
864 - name: {{ HOSTNAME_LOG01 }}
865 role: salt_minion
866 params:
867 vcpu: !os_env SLAVE_NODE_CPU, 1
868 memory: !os_env SLAVE_NODE_MEMORY, 4096
869 boot:
870 - hd
871 cloud_init_volume_name: iso
872 cloud_init_iface_up: ens3
873 volumes:
874 - name: system
875 capacity: !os_env NODE_VOLUME_SIZE, 150
876 backing_store: cloudimage1604
877 format: qcow2
878 - name: iso # Volume with name 'iso' will be used
879 # for store image with cloud-init metadata.
880 capacity: 1
881 format: raw
882 device: cdrom
883 bus: ide
884 cloudinit_meta_data: *cloudinit_meta_data
885 cloudinit_user_data: *cloudinit_user_data_1604
886
887 interfaces: *interfaces
888 network_config: *network_config
889
890 - name: {{ HOSTNAME_LOG02 }}
891 role: salt_minion
892 params:
893 vcpu: !os_env SLAVE_NODE_CPU, 1
894 memory: !os_env SLAVE_NODE_MEMORY, 4096
895 boot:
896 - hd
897 cloud_init_volume_name: iso
898 cloud_init_iface_up: ens3
899 volumes:
900 - name: system
901 capacity: !os_env NODE_VOLUME_SIZE, 150
902 backing_store: cloudimage1604
903 format: qcow2
904 - name: iso # Volume with name 'iso' will be used
905 # for store image with cloud-init metadata.
906 capacity: 1
907 format: raw
908 device: cdrom
909 bus: ide
910 cloudinit_meta_data: *cloudinit_meta_data
911 cloudinit_user_data: *cloudinit_user_data_1604
912
913 interfaces: *interfaces
914 network_config: *network_config
915
916 - name: {{ HOSTNAME_LOG03 }}
917 role: salt_minion
918 params:
919 vcpu: !os_env SLAVE_NODE_CPU, 1
920 memory: !os_env SLAVE_NODE_MEMORY, 4096
921 boot:
922 - hd
923 cloud_init_volume_name: iso
924 cloud_init_iface_up: ens3
925 volumes:
926 - name: system
927 capacity: !os_env NODE_VOLUME_SIZE, 150
928 backing_store: cloudimage1604
929 format: qcow2
930 - name: iso # Volume with name 'iso' will be used
931 # for store image with cloud-init metadata.
932 capacity: 1
933 format: raw
934 device: cdrom
935 bus: ide
936 cloudinit_meta_data: *cloudinit_meta_data
937 cloudinit_user_data: *cloudinit_user_data_1604
938
939 interfaces: *interfaces
940 network_config: *network_config
941
942 - name: {{ HOSTNAME_MTR01 }}
943 role: salt_minion
944 params:
945 vcpu: !os_env SLAVE_NODE_CPU, 1
946 memory: !os_env SLAVE_NODE_MEMORY, 4096
947 boot:
948 - hd
949 cloud_init_volume_name: iso
950 cloud_init_iface_up: ens3
951 volumes:
952 - name: system
953 capacity: !os_env NODE_VOLUME_SIZE, 150
954 backing_store: cloudimage1604
955 format: qcow2
956 - name: iso # Volume with name 'iso' will be used
957 # for store image with cloud-init metadata.
958 capacity: 1
959 format: raw
960 device: cdrom
961 bus: ide
962 cloudinit_meta_data: *cloudinit_meta_data
963 cloudinit_user_data: *cloudinit_user_data_1604
964
965 interfaces: *interfaces
966 network_config: *network_config
967
968 - name: {{ HOSTNAME_MTR02 }}
969 role: salt_minion
970 params:
971 vcpu: !os_env SLAVE_NODE_CPU, 1
972 memory: !os_env SLAVE_NODE_MEMORY, 4096
973 boot:
974 - hd
975 cloud_init_volume_name: iso
976 cloud_init_iface_up: ens3
977 volumes:
978 - name: system
979 capacity: !os_env NODE_VOLUME_SIZE, 150
980 backing_store: cloudimage1604
981 format: qcow2
982 - name: iso # Volume with name 'iso' will be used
983 # for store image with cloud-init metadata.
984 capacity: 1
985 format: raw
986 device: cdrom
987 bus: ide
988 cloudinit_meta_data: *cloudinit_meta_data
989 cloudinit_user_data: *cloudinit_user_data_1604
990
991 interfaces: *interfaces
992 network_config: *network_config
993
994 - name: {{ HOSTNAME_MTR03 }}
995 role: salt_minion
996 params:
997 vcpu: !os_env SLAVE_NODE_CPU, 1
998 memory: !os_env SLAVE_NODE_MEMORY, 4096
999 boot:
1000 - hd
1001 cloud_init_volume_name: iso
1002 cloud_init_iface_up: ens3
1003 volumes:
1004 - name: system
1005 capacity: !os_env NODE_VOLUME_SIZE, 150
1006 backing_store: cloudimage1604
1007 format: qcow2
1008 - name: iso # Volume with name 'iso' will be used
1009 # for store image with cloud-init metadata.
1010 capacity: 1
1011 format: raw
1012 device: cdrom
1013 bus: ide
1014 cloudinit_meta_data: *cloudinit_meta_data
1015 cloudinit_user_data: *cloudinit_user_data_1604
1016
1017 interfaces: *interfaces
1018 network_config: *network_config
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001019
1020 - name: {{ HOSTNAME_PRX01 }}
1021 role: salt_minion
1022 params:
1023 vcpu: !os_env SLAVE_NODE_CPU, 1
Dennis Dmitriev910a8002017-08-31 14:53:47 +03001024 memory: !os_env SLAVE_NODE_MEMORY, 2048
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001025 boot:
1026 - hd
1027 cloud_init_volume_name: iso
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001028 cloud_init_iface_up: ens3
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001029 volumes:
1030 - name: system
1031 capacity: !os_env NODE_VOLUME_SIZE, 150
1032 backing_store: cloudimage1604
1033 format: qcow2
1034 - name: cinder
1035 capacity: 50
1036 format: qcow2
1037 - name: iso # Volume with name 'iso' will be used
1038 # for store image with cloud-init metadata.
1039 capacity: 1
1040 format: raw
1041 device: cdrom
1042 bus: ide
1043 cloudinit_meta_data: *cloudinit_meta_data
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001044 cloudinit_user_data: *cloudinit_user_data_1604
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001045
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001046 interfaces: *interfaces
1047 network_config: *network_config
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001048
1049 - name: {{ HOSTNAME_CMP01 }}
1050 role: salt_minion
1051 params:
1052 vcpu: !os_env SLAVE_NODE_CPU, 3
Dennis Dmitriev910a8002017-08-31 14:53:47 +03001053 memory: !os_env SLAVE_NODE_MEMORY, 3072
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001054 boot:
1055 - hd
1056 cloud_init_volume_name: iso
1057 cloud_init_iface_up: ens3
1058 volumes:
1059 - name: system
1060 capacity: !os_env NODE_VOLUME_SIZE, 150
1061 backing_store: cloudimage1604
1062 format: qcow2
1063 - name: iso # Volume with name 'iso' will be used
1064 # for store image with cloud-init metadata.
1065 capacity: 1
1066 format: raw
1067 device: cdrom
1068 bus: ide
1069 cloudinit_meta_data: *cloudinit_meta_data
1070 cloudinit_user_data: *cloudinit_user_data_1604
1071
1072
1073 interfaces: &all_interfaces
1074 - label: ens3
1075 l2_network_device: admin
1076 interface_model: *interface_model
1077 - label: ens4
1078 l2_network_device: private
1079 interface_model: *interface_model
1080 - label: ens5
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001081 l2_network_device: private
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001082 interface_model: *interface_model
1083 - label: ens6
1084 l2_network_device: external
1085 interface_model: *interface_model
1086 network_config: &all_network_config
1087 ens3:
1088 networks:
1089 - admin
1090 ens4:
1091 networks:
1092 - private
1093 ens5:
1094 networks:
Dennis Dmitrievb6227f02017-09-06 17:57:10 +03001095 - private
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001096 ens6:
1097 networks:
1098 - external
1099
1100 - name: {{ HOSTNAME_CMP02 }}
1101 role: salt_minion
1102 params:
1103 vcpu: !os_env SLAVE_NODE_CPU, 3
Dennis Dmitriev910a8002017-08-31 14:53:47 +03001104 memory: !os_env SLAVE_NODE_MEMORY, 3072
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001105 boot:
1106 - hd
1107 cloud_init_volume_name: iso
1108 cloud_init_iface_up: ens3
1109 volumes:
1110 - name: system
1111 capacity: !os_env NODE_VOLUME_SIZE, 150
1112 backing_store: cloudimage1604
1113 format: qcow2
1114 - name: iso # Volume with name 'iso' will be used
1115 # for store image with cloud-init metadata.
1116 capacity: 1
1117 format: raw
1118 device: cdrom
1119 bus: ide
1120 cloudinit_meta_data: *cloudinit_meta_data
1121 cloudinit_user_data: *cloudinit_user_data_1604
1122
1123 interfaces: *all_interfaces
1124 network_config: *all_network_config
1125
1126 - name: {{ HOSTNAME_GTW01 }}
1127 role: salt_minion
1128 params:
Dennis Dmitriev910a8002017-08-31 14:53:47 +03001129 vcpu: !os_env SLAVE_NODE_CPU, 2
Dennis Dmitriev9dada8a2017-08-30 17:38:55 +03001130 memory: !os_env SLAVE_NODE_MEMORY, 2048
1131 boot:
1132 - hd
1133 cloud_init_volume_name: iso
1134 cloud_init_iface_up: ens3
1135 volumes:
1136 - name: system
1137 capacity: !os_env NODE_VOLUME_SIZE, 150
1138 backing_store: cloudimage1604
1139 format: qcow2
1140 - name: iso # Volume with name 'iso' will be used
1141 # for store image with cloud-init metadata.
1142 capacity: 1
1143 format: raw
1144 device: cdrom
1145 bus: ide
1146 cloudinit_meta_data: *cloudinit_meta_data
1147 cloudinit_user_data: *cloudinit_user_data_1604
1148
1149 interfaces: *all_interfaces
1150 network_config: *all_network_config