blob: f40e867db1074abd402852631f8944d68c44f780 [file] [log] [blame]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001---
2
3heat_template_version: queens
4
5description: MCP environment for heat-cicd-queens-dvr-sl
6
7parameters:
8 instance_domain:
9 type: string
10 default: heat-cicd-queens-dvr-sl.local
11 mcp_version:
12 type: string
13 env_name:
14 type: string
15 control_subnet_cidr:
16 type: string
sgudzc9f50d12019-05-31 14:25:34 +030017 default: "10.6.0.0/24"
18 tenant_subnet_cidr:
19 type: string
20 default: "10.8.0.0/24"
21 external_subnet_cidr:
22 type: string
23 default: "192.168.200.0/24"
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030024 management_subnet_cidr:
25 type: string
sgudzc9f50d12019-05-31 14:25:34 +030026 default: "10.7.0.0/24"
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030027 management_subnet_cfg01_ip:
28 type: string
sgudzc9f50d12019-05-31 14:25:34 +030029 default: 10.7.0.15
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030030 management_subnet_gateway_ip:
31 type: string
sgudzc9f50d12019-05-31 14:25:34 +030032 default: 10.7.0.1
33 management_subnet_pool_start:
34 type: string
35 default: 10.7.0.20
36 management_subnet_pool_end:
37 type: string
38 default: 10.7.0.90
39 salt_master_control_ip:
40 type: string
41 default: 10.6.0.15
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030042
43 key_pair:
44 type: string
45
46 ctl_flavor:
47 type: string
48 cfg_flavor:
49 type: string
50 cid_flavor:
51 type: string
52 kvm_fake_flavor:
53 type: string
54 dbs_flavor:
55 type: string
56 msg_flavor:
57 type: string
58 mon_flavor:
59 type: string
60 log_flavor:
61 type: string
62 mtr_flavor:
63 type: string
64 cmp_flavor:
65 type: string
66 foundation_flavor:
67 type: string
68 cmn_flavor:
69 type: string
70 rgw_flavor:
71 type: string
72 osd_flavor:
73 type: string
74 gtw_flavor:
75 type: string
76 dns_flavor:
77 type: string
78 kmn_flavor:
79 type: string
80 prx_flavor:
81 type: string
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +030082 mdb_flavor:
83 type: string
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030084
85 net_public:
86 type: string
87
Dennis Dmitrievcba86122019-05-24 13:41:46 +030088 foundation_image:
89 type: string
90
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +030091 bm_availability_zone:
92 type: string
93 vm_availability_zone:
94 type: string
95
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030096resources:
97 networks:
98 type: MCP::Networks
99 properties:
100 stack_name: { get_param: "OS::stack_name" }
101 env_name: { get_param: env_name }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300102 subnets:
103 depends_on: [networks]
104 type: MCP::Subnets
105 properties:
106 stack_name: { get_param: "OS::stack_name" }
107 env_name: { get_param: env_name }
108 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
109 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
110 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
111 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudzc9f50d12019-05-31 14:25:34 +0300112 control_subnet_cidr: { get_param: control_subnet_cidr }
113 tenant_subnet_cidr: { get_param: tenant_subnet_cidr }
114 external_subnet_cidr: { get_param: external_subnet_cidr }
115 management_subnet_cidr: { get_param: management_subnet_cidr }
116 management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip }
117 management_subnet_pool_start: { get_param: management_subnet_pool_start }
118 management_subnet_pool_end: { get_param: management_subnet_pool_end }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300119
120 #flavors:
121 # type: MCP::Flavors
122
123 cfg01_node:
124 type: MCP::MasterNode
125 depends_on: [networks]
126 properties:
127 env_name: { get_param: env_name }
128 mcp_version: { get_param: mcp_version }
129 cfg01_flavor: { get_param: cfg_flavor }
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300130 availability_zone: { get_param: bm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300131 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
132 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
133 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
134 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudzc9f50d12019-05-31 14:25:34 +0300135 salt_master_control_ip: { get_param: salt_master_control_ip }
136 management_subnet_cfg01_ip: { get_param: management_subnet_cfg01_ip }
sgudze6bff762019-05-23 18:15:49 +0300137 tenant_net_static_ip:
138 list_join:
139 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300140 - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ]
sgudze6bff762019-05-23 18:15:49 +0300141 external_net_static_ip:
142 list_join:
143 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300144 - [ { get_attr: [subnets, external_net_prefix] }, '15' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300145 instance_name: cfg01
146 instance_domain: {get_param: instance_domain}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300147
148 control_cluster:
149 type: MCP::MultipleInstance
150 depends_on: [cfg01_node]
151 properties:
152 env_name: { get_param: env_name }
153 mcp_version: { get_param: mcp_version }
154 instance_domain: {get_param: instance_domain}
155 instance01_name: ctl01
156 instance02_name: ctl02
157 instance03_name: ctl03
158 instance_flavor: {get_param: ctl_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300159 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300160 underlay_userdata: { get_file: ./underlay-userdata.yaml }
161 instance01_control_net_static_ip:
162 list_join:
163 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300164 - [ { get_attr: [subnets, control_net_prefix] }, '11' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300165 instance02_control_net_static_ip:
166 list_join:
167 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300168 - [ { get_attr: [subnets, control_net_prefix] }, '12' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300169 instance03_control_net_static_ip:
170 list_join:
171 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300172 - [ { get_attr: [subnets, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300173 instance01_tenant_net_static_ip:
174 list_join:
175 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300176 - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300177 instance02_tenant_net_static_ip:
178 list_join:
179 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300180 - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300181 instance03_tenant_net_static_ip:
182 list_join:
183 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300184 - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300185 instance01_external_net_static_ip:
186 list_join:
187 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300188 - [ { get_attr: [subnets, external_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300189 instance02_external_net_static_ip:
190 list_join:
191 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300192 - [ { get_attr: [subnets, external_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300193 instance03_external_net_static_ip:
194 list_join:
195 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300196 - [ { get_attr: [subnets, external_net_prefix] }, '13' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300197
198 instance_config_host: { get_attr: [cfg01_node, instance_address] }
199
200 openstack_database_cluster:
201 type: MCP::MultipleInstance
202 depends_on: [control_cluster]
203 properties:
204 env_name: { get_param: env_name }
205 mcp_version: { get_param: mcp_version }
206 instance_domain: {get_param: instance_domain}
207 instance01_name: dbs01
208 instance02_name: dbs02
209 instance03_name: dbs03
210 instance_flavor: {get_param: dbs_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300211 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300212 underlay_userdata: { get_file: ./underlay-userdata.yaml }
213 instance01_control_net_static_ip:
214 list_join:
215 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300216 - [ { get_attr: [subnets, control_net_prefix] }, '51' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300217 instance02_control_net_static_ip:
218 list_join:
219 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300220 - [ { get_attr: [subnets, control_net_prefix] }, '52' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300221 instance03_control_net_static_ip:
222 list_join:
223 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300224 - [ { get_attr: [subnets, control_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300225 instance01_tenant_net_static_ip:
226 list_join:
227 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300228 - [ { get_attr: [subnets, tenant_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300229 instance02_tenant_net_static_ip:
230 list_join:
231 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300232 - [ { get_attr: [subnets, tenant_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300233 instance03_tenant_net_static_ip:
234 list_join:
235 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300236 - [ { get_attr: [subnets, tenant_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300237 instance01_external_net_static_ip:
238 list_join:
239 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300240 - [ { get_attr: [subnets, external_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300241 instance02_external_net_static_ip:
242 list_join:
243 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300244 - [ { get_attr: [subnets, external_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300245 instance03_external_net_static_ip:
246 list_join:
247 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300248 - [ { get_attr: [subnets, external_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300249
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300250 instance_config_host: { get_attr: [cfg01_node, instance_address] }
251
252 fake_kvm_cluster:
253 type: MCP::MultipleInstance
254 depends_on: [cfg01_node]
255 properties:
256 env_name: { get_param: env_name }
257 mcp_version: { get_param: mcp_version }
258 instance_domain: {get_param: instance_domain}
259 instance01_name: kvm01
260 instance02_name: kvm02
261 instance03_name: kvm03
262 instance_flavor: {get_param: kvm_fake_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300263 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300264 underlay_userdata: { get_file: ./underlay-userdata.yaml }
265 instance01_control_net_static_ip:
266 list_join:
267 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300268 - [ { get_attr: [subnets, control_net_prefix] }, '241' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300269 instance02_control_net_static_ip:
270 list_join:
271 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300272 - [ { get_attr: [subnets, control_net_prefix] }, '242' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300273 instance03_control_net_static_ip:
274 list_join:
275 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300276 - [ { get_attr: [subnets, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300277 instance01_tenant_net_static_ip:
278 list_join:
279 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300280 - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300281 instance02_tenant_net_static_ip:
282 list_join:
283 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300284 - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300285 instance03_tenant_net_static_ip:
286 list_join:
287 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300288 - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300289 instance01_external_net_static_ip:
290 list_join:
291 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300292 - [ { get_attr: [subnets, external_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300293 instance02_external_net_static_ip:
294 list_join:
295 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300296 - [ { get_attr: [subnets, external_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300297 instance03_external_net_static_ip:
298 list_join:
299 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300300 - [ { get_attr: [subnets, external_net_prefix] }, '243' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300301
302 instance_config_host: { get_attr: [cfg01_node, instance_address] }
303
304 openstack_message_queue_cluster:
305 type: MCP::MultipleInstance
306 depends_on: [openstack_database_cluster]
307 properties:
308 env_name: { get_param: env_name }
309 mcp_version: { get_param: mcp_version }
310 instance_domain: {get_param: instance_domain}
311 instance01_name: msg01
312 instance02_name: msg02
313 instance03_name: msg03
314 instance_flavor: {get_param: msg_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300315 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300316 underlay_userdata: { get_file: ./underlay-userdata.yaml }
317 instance01_control_net_static_ip:
318 list_join:
319 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300320 - [ { get_attr: [subnets, control_net_prefix] }, '41' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300321 instance02_control_net_static_ip:
322 list_join:
323 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300324 - [ { get_attr: [subnets, control_net_prefix] }, '42' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300325 instance03_control_net_static_ip:
326 list_join:
327 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300328 - [ { get_attr: [subnets, control_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300329 instance01_tenant_net_static_ip:
330 list_join:
331 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300332 - [ { get_attr: [subnets, tenant_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300333 instance02_tenant_net_static_ip:
334 list_join:
335 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300336 - [ { get_attr: [subnets, tenant_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300337 instance03_tenant_net_static_ip:
338 list_join:
339 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300340 - [ { get_attr: [subnets, tenant_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300341 instance01_external_net_static_ip:
342 list_join:
343 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300344 - [ { get_attr: [subnets, external_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300345 instance02_external_net_static_ip:
346 list_join:
347 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300348 - [ { get_attr: [subnets, external_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300349 instance03_external_net_static_ip:
350 list_join:
351 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300352 - [ { get_attr: [subnets, external_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300353
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300354 instance_config_host: { get_attr: [cfg01_node, instance_address] }
355
356 cicd_cluster:
357 type: MCP::MultipleInstance
358 depends_on: [cfg01_node]
359 properties:
360 env_name: { get_param: env_name }
361 mcp_version: { get_param: mcp_version }
362 instance_domain: {get_param: instance_domain}
363 instance01_name: cid01
364 instance02_name: cid02
365 instance03_name: cid03
366 instance_flavor: {get_param: cid_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300367 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300368 underlay_userdata: { get_file: ./underlay-userdata.yaml }
369 instance01_control_net_static_ip:
370 list_join:
371 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300372 - [ { get_attr: [subnets, control_net_prefix] }, '91' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300373 instance02_control_net_static_ip:
374 list_join:
375 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300376 - [ { get_attr: [subnets, control_net_prefix] }, '92' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300377 instance03_control_net_static_ip:
378 list_join:
379 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300380 - [ { get_attr: [subnets, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300381 instance01_tenant_net_static_ip:
382 list_join:
383 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300384 - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300385 instance02_tenant_net_static_ip:
386 list_join:
387 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300388 - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300389 instance03_tenant_net_static_ip:
390 list_join:
391 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300392 - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300393 instance01_external_net_static_ip:
394 list_join:
395 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300396 - [ { get_attr: [subnets, external_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300397 instance02_external_net_static_ip:
398 list_join:
399 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300400 - [ { get_attr: [subnets, external_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300401 instance03_external_net_static_ip:
402 list_join:
403 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300404 - [ { get_attr: [subnets, external_net_prefix] }, '93' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300405
406 instance_config_host: { get_attr: [cfg01_node, instance_address] }
407
408 stacklight_monitor_cluster:
409 type: MCP::MultipleInstance
410 depends_on: [openstack_message_queue_cluster]
411 properties:
412 env_name: { get_param: env_name }
413 mcp_version: { get_param: mcp_version }
414 instance_domain: {get_param: instance_domain}
415 instance01_name: mon01
416 instance02_name: mon02
417 instance03_name: mon03
418 instance_flavor: {get_param: mon_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300419 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300420 underlay_userdata: { get_file: ./underlay-userdata.yaml }
421 instance01_control_net_static_ip:
422 list_join:
423 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300424 - [ { get_attr: [subnets, control_net_prefix] }, '71' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300425 instance02_control_net_static_ip:
426 list_join:
427 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300428 - [ { get_attr: [subnets, control_net_prefix] }, '72' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300429 instance03_control_net_static_ip:
430 list_join:
431 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300432 - [ { get_attr: [subnets, control_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300433 instance01_tenant_net_static_ip:
434 list_join:
435 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300436 - [ { get_attr: [subnets, tenant_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300437 instance02_tenant_net_static_ip:
438 list_join:
439 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300440 - [ { get_attr: [subnets, tenant_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300441 instance03_tenant_net_static_ip:
442 list_join:
443 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300444 - [ { get_attr: [subnets, tenant_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300445 instance01_external_net_static_ip:
446 list_join:
447 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300448 - [ { get_attr: [subnets, external_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300449 instance02_external_net_static_ip:
450 list_join:
451 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300452 - [ { get_attr: [subnets, external_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300453 instance03_external_net_static_ip:
454 list_join:
455 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300456 - [ { get_attr: [subnets, external_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300457
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300458 instance_config_host: { get_attr: [cfg01_node, instance_address] }
459
460 stacklight_log_cluster:
461 type: MCP::MultipleInstance
462 depends_on: [stacklight_monitor_cluster]
463 properties:
464 env_name: { get_param: env_name }
465 mcp_version: { get_param: mcp_version }
466 instance_domain: {get_param: instance_domain}
467 instance01_name: log01
468 instance02_name: log02
469 instance03_name: log03
470 instance_flavor: {get_param: log_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300471 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300472 underlay_userdata: { get_file: ./underlay-userdata.yaml }
473 instance01_control_net_static_ip:
474 list_join:
475 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300476 - [ { get_attr: [subnets, control_net_prefix] }, '61' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300477 instance02_control_net_static_ip:
478 list_join:
479 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300480 - [ { get_attr: [subnets, control_net_prefix] }, '62' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300481 instance03_control_net_static_ip:
482 list_join:
483 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300484 - [ { get_attr: [subnets, control_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300485 instance01_tenant_net_static_ip:
486 list_join:
487 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300488 - [ { get_attr: [subnets, tenant_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300489 instance02_tenant_net_static_ip:
490 list_join:
491 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300492 - [ { get_attr: [subnets, tenant_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300493 instance03_tenant_net_static_ip:
494 list_join:
495 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300496 - [ { get_attr: [subnets, tenant_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300497 instance01_external_net_static_ip:
498 list_join:
499 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300500 - [ { get_attr: [subnets, external_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300501 instance02_external_net_static_ip:
502 list_join:
503 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300504 - [ { get_attr: [subnets, external_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300505 instance03_external_net_static_ip:
506 list_join:
507 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300508 - [ { get_attr: [subnets, external_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300509
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300510 instance_config_host: { get_attr: [cfg01_node, instance_address] }
511
512 stacklight_mtr_cluster:
513 type: MCP::MultipleInstance
514 depends_on: [stacklight_log_cluster]
515 properties:
516 env_name: { get_param: env_name }
517 mcp_version: { get_param: mcp_version }
518 instance_domain: {get_param: instance_domain}
519 instance01_name: mtr01
520 instance02_name: mtr02
521 instance03_name: mtr03
522 instance_flavor: {get_param: mtr_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300523 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300524 underlay_userdata: { get_file: ./underlay-userdata.yaml }
525 instance01_control_net_static_ip:
526 list_join:
527 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300528 - [ { get_attr: [subnets, control_net_prefix] }, '97' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300529 instance02_control_net_static_ip:
530 list_join:
531 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300532 - [ { get_attr: [subnets, control_net_prefix] }, '98' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300533 instance03_control_net_static_ip:
534 list_join:
535 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300536 - [ { get_attr: [subnets, control_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300537 instance01_tenant_net_static_ip:
538 list_join:
539 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300540 - [ { get_attr: [subnets, tenant_net_prefix] }, '97' ]
sgudze6bff762019-05-23 18:15:49 +0300541 instance02_tenant_net_static_ip:
542 list_join:
543 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300544 - [ { get_attr: [subnets, tenant_net_prefix] }, '98' ]
sgudze6bff762019-05-23 18:15:49 +0300545 instance03_tenant_net_static_ip:
546 list_join:
547 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300548 - [ { get_attr: [subnets, tenant_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300549 instance01_external_net_static_ip:
550 list_join:
551 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300552 - [ { get_attr: [subnets, external_net_prefix] }, '97' ]
sgudze6bff762019-05-23 18:15:49 +0300553 instance02_external_net_static_ip:
554 list_join:
555 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300556 - [ { get_attr: [subnets, external_net_prefix] }, '98' ]
sgudze6bff762019-05-23 18:15:49 +0300557 instance03_external_net_static_ip:
558 list_join:
559 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300560 - [ { get_attr: [subnets, external_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300561
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300562 instance_config_host: { get_attr: [cfg01_node, instance_address] }
563
564 prx01_virtual:
565 type: MCP::SingleInstance
566 depends_on: [control_cluster]
567 properties:
568 env_name: { get_param: env_name }
569 mcp_version: { get_param: mcp_version }
570 instance_domain: {get_param: instance_domain}
571 instance_name: prx01
572 instance_flavor: {get_param: prx_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300573 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300574 underlay_userdata: { get_file: ./underlay-userdata.yaml }
575 control_net_static_ip:
576 list_join:
577 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300578 - [ { get_attr: [subnets, control_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300579 tenant_net_static_ip:
580 list_join:
581 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300582 - [ { get_attr: [subnets, tenant_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300583 external_net_static_ip:
584 list_join:
585 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300586 - [ { get_attr: [subnets, external_net_prefix] }, '81' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300587
588 instance_config_host: { get_attr: [cfg01_node, instance_address] }
589
590 prx02_virtual:
591 type: MCP::SingleInstance
592 depends_on: [control_cluster]
593 properties:
594 env_name: { get_param: env_name }
595 mcp_version: { get_param: mcp_version }
596 instance_domain: {get_param: instance_domain}
597 instance_name: prx02
598 instance_flavor: {get_param: prx_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300599 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300600 underlay_userdata: { get_file: ./underlay-userdata.yaml }
601 control_net_static_ip:
602 list_join:
603 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300604 - [ { get_attr: [subnets, control_net_prefix] }, '82' ]
sgudze6bff762019-05-23 18:15:49 +0300605 tenant_net_static_ip:
606 list_join:
607 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300608 - [ { get_attr: [subnets, tenant_net_prefix] }, '82' ]
sgudze6bff762019-05-23 18:15:49 +0300609 external_net_static_ip:
610 list_join:
611 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300612 - [ { get_attr: [subnets, external_net_prefix] }, '82' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300613
614 instance_config_host: { get_attr: [cfg01_node, instance_address] }
615
616 cmp001_virtual:
617 type: MCP::Compute
618 depends_on: [cfg01_node]
619 properties:
620 env_name: { get_param: env_name }
621 mcp_version: { get_param: mcp_version }
622 instance_domain: {get_param: instance_domain}
623 instance_name: cmp001
624 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300625 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300626 underlay_userdata: { get_file: ./underlay-userdata.yaml }
627 control_net_static_ip:
628 list_join:
629 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300630 - [ { get_attr: [subnets, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300631 tenant_net_static_ip:
632 list_join:
633 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300634 - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300635 external_net_static_ip:
636 list_join:
637 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300638 - [ { get_attr: [subnets, external_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300639
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300640 instance_config_host: { get_attr: [cfg01_node, instance_address] }
641
642 cmp002_virtual:
643 type: MCP::Compute
644 depends_on: [cfg01_node]
645 properties:
646 env_name: { get_param: env_name }
647 mcp_version: { get_param: mcp_version }
648 instance_domain: {get_param: instance_domain}
649 instance_name: cmp002
650 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300651 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300652 underlay_userdata: { get_file: ./underlay-userdata.yaml }
653 control_net_static_ip:
654 list_join:
655 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300656 - [ { get_attr: [subnets, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300657 tenant_net_static_ip:
658 list_join:
659 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300660 - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300661 external_net_static_ip:
662 list_join:
663 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300664 - [ { get_attr: [subnets, external_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300665
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300666 instance_config_host: { get_attr: [cfg01_node, instance_address] }
667
668 foundation_node:
669 type: MCP::FoundationNode
670 depends_on: [networks]
671 properties:
672 env_name: { get_param: env_name }
673 mcp_version: { get_param: mcp_version }
674 instance_domain: {get_param: instance_domain}
675 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300676 instance_image: { get_param: foundation_image }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300677 instance_flavor: {get_param: foundation_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300678 availability_zone: { get_param: bm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300679 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
680 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
681 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
682 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudzc9f50d12019-05-31 14:25:34 +0300683 management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300684 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300685 management_net_static_ip:
686 list_join:
687 - '.'
688 - [ { get_attr: [subnets, management_net_prefix] }, '5' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300689 control_net_static_ip:
690 list_join:
691 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300692 - [ { get_attr: [subnets, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300693 tenant_net_static_ip:
694 list_join:
695 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300696 - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300697 external_net_static_ip:
698 list_join:
699 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300700 - [ { get_attr: [subnets, external_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300701
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300702 instance_config_host: { get_attr: [cfg01_node, instance_address] }
703
704 ceph_cmn_cluster:
705 type: MCP::MultipleInstance
706 depends_on: [cfg01_node]
707 properties:
708 env_name: { get_param: env_name }
709 mcp_version: { get_param: mcp_version }
710 instance_domain: {get_param: instance_domain}
711 instance01_name: cmn01
712 instance02_name: cmn02
713 instance03_name: cmn03
714 instance_flavor: {get_param: cmn_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300715 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300716 underlay_userdata: { get_file: ./underlay-userdata.yaml }
717 instance01_control_net_static_ip:
718 list_join:
719 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300720 - [ { get_attr: [subnets, control_net_prefix] }, '66' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300721 instance02_control_net_static_ip:
722 list_join:
723 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300724 - [ { get_attr: [subnets, control_net_prefix] }, '67' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300725 instance03_control_net_static_ip:
726 list_join:
727 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300728 - [ { get_attr: [subnets, control_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300729 instance01_tenant_net_static_ip:
730 list_join:
731 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300732 - [ { get_attr: [subnets, tenant_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300733 instance02_tenant_net_static_ip:
734 list_join:
735 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300736 - [ { get_attr: [subnets, tenant_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300737 instance03_tenant_net_static_ip:
738 list_join:
739 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300740 - [ { get_attr: [subnets, tenant_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300741 instance01_external_net_static_ip:
742 list_join:
743 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300744 - [ { get_attr: [subnets, external_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300745 instance02_external_net_static_ip:
746 list_join:
747 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300748 - [ { get_attr: [subnets, external_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300749 instance03_external_net_static_ip:
750 list_join:
751 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300752 - [ { get_attr: [subnets, external_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300753
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300754 instance_config_host: { get_attr: [cfg01_node, instance_address] }
755
756 ceph_rgw_cluster:
757 type: MCP::MultipleInstance
758 depends_on: [cfg01_node]
759 properties:
760 env_name: { get_param: env_name }
761 mcp_version: { get_param: mcp_version }
762 instance_domain: {get_param: instance_domain}
763 instance01_name: rgw01
764 instance02_name: rgw02
765 instance03_name: rgw03
766 instance_flavor: {get_param: rgw_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300767 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300768 underlay_userdata: { get_file: ./underlay-userdata.yaml }
769 instance01_control_net_static_ip:
770 list_join:
771 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300772 - [ { get_attr: [subnets, control_net_prefix] }, '76' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300773 instance02_control_net_static_ip:
774 list_join:
775 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300776 - [ { get_attr: [subnets, control_net_prefix] }, '77' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300777 instance03_control_net_static_ip:
778 list_join:
779 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300780 - [ { get_attr: [subnets, control_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300781 instance01_tenant_net_static_ip:
782 list_join:
783 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300784 - [ { get_attr: [subnets, tenant_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300785 instance02_tenant_net_static_ip:
786 list_join:
787 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300788 - [ { get_attr: [subnets, tenant_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300789 instance03_tenant_net_static_ip:
790 list_join:
791 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300792 - [ { get_attr: [subnets, tenant_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300793 instance01_external_net_static_ip:
794 list_join:
795 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300796 - [ { get_attr: [subnets, external_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300797 instance02_external_net_static_ip:
798 list_join:
799 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300800 - [ { get_attr: [subnets, external_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300801 instance03_external_net_static_ip:
802 list_join:
803 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300804 - [ { get_attr: [subnets, external_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300805
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300806 instance_config_host: { get_attr: [cfg01_node, instance_address] }
807
808 ceph_osd_cluster:
809 type: MCP::MultipleInstance
810 depends_on: [cfg01_node]
811 properties:
812 env_name: { get_param: env_name }
813 mcp_version: { get_param: mcp_version }
814 instance_domain: {get_param: instance_domain}
815 instance01_name: osd001
816 instance02_name: osd002
817 instance03_name: osd003
818 instance_flavor: {get_param: osd_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300819 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300820 underlay_userdata: { get_file: ./underlay-userdata.yaml }
821 instance01_control_net_static_ip:
822 list_join:
823 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300824 - [ { get_attr: [subnets, control_net_prefix] }, '201' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300825 instance02_control_net_static_ip:
826 list_join:
827 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300828 - [ { get_attr: [subnets, control_net_prefix] }, '202' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300829 instance03_control_net_static_ip:
830 list_join:
831 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300832 - [ { get_attr: [subnets, control_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300833 instance01_tenant_net_static_ip:
834 list_join:
835 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300836 - [ { get_attr: [subnets, tenant_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300837 instance02_tenant_net_static_ip:
838 list_join:
839 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300840 - [ { get_attr: [subnets, tenant_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300841 instance03_tenant_net_static_ip:
842 list_join:
843 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300844 - [ { get_attr: [subnets, tenant_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300845 instance01_external_net_static_ip:
846 list_join:
847 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300848 - [ { get_attr: [subnets, external_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300849 instance02_external_net_static_ip:
850 list_join:
851 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300852 - [ { get_attr: [subnets, external_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300853 instance03_external_net_static_ip:
854 list_join:
855 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300856 - [ { get_attr: [subnets, external_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300857
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300858 instance_config_host: { get_attr: [cfg01_node, instance_address] }
859
860 openstack_gtw_cluster:
861 type: MCP::MultipleInstance
862 depends_on: [cfg01_node]
863 properties:
864 env_name: { get_param: env_name }
865 mcp_version: { get_param: mcp_version }
866 instance_domain: {get_param: instance_domain}
867 instance01_name: gtw01
868 instance02_name: gtw02
869 instance03_name: gtw03
870 instance_flavor: {get_param: gtw_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300871 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300872 underlay_userdata: { get_file: ./underlay-userdata.yaml }
873 instance01_control_net_static_ip:
874 list_join:
875 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300876 - [ { get_attr: [subnets, control_net_prefix] }, '224' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300877 instance02_control_net_static_ip:
878 list_join:
879 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300880 - [ { get_attr: [subnets, control_net_prefix] }, '225' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300881 instance03_control_net_static_ip:
882 list_join:
883 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300884 - [ { get_attr: [subnets, control_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300885 instance01_tenant_net_static_ip:
886 list_join:
887 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300888 - [ { get_attr: [subnets, tenant_net_prefix] }, '224' ]
sgudze6bff762019-05-23 18:15:49 +0300889 instance02_tenant_net_static_ip:
890 list_join:
891 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300892 - [ { get_attr: [subnets, tenant_net_prefix] }, '225' ]
sgudze6bff762019-05-23 18:15:49 +0300893 instance03_tenant_net_static_ip:
894 list_join:
895 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300896 - [ { get_attr: [subnets, tenant_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300897 instance01_external_net_static_ip:
898 list_join:
899 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300900 - [ { get_attr: [subnets, external_net_prefix] }, '224' ]
sgudze6bff762019-05-23 18:15:49 +0300901 instance02_external_net_static_ip:
902 list_join:
903 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300904 - [ { get_attr: [subnets, external_net_prefix] }, '225' ]
sgudze6bff762019-05-23 18:15:49 +0300905 instance03_external_net_static_ip:
906 list_join:
907 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300908 - [ { get_attr: [subnets, external_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300909
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300910 instance_config_host: { get_attr: [cfg01_node, instance_address] }
911
912 openstack_barbican_cluster:
913 type: MCP::MultipleInstance
914 depends_on: [control_cluster]
915 properties:
916 env_name: { get_param: env_name }
917 mcp_version: { get_param: mcp_version }
918 instance_domain: {get_param: instance_domain}
919 instance01_name: kmn01
920 instance02_name: kmn02
921 instance03_name: kmn03
922 instance_flavor: {get_param: kmn_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300923 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300924 underlay_userdata: { get_file: ./underlay-userdata.yaml }
925 instance01_control_net_static_ip:
926 list_join:
927 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300928 - [ { get_attr: [subnets, control_net_prefix] }, '45' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300929 instance02_control_net_static_ip:
930 list_join:
931 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300932 - [ { get_attr: [subnets, control_net_prefix] }, '46' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300933 instance03_control_net_static_ip:
934 list_join:
935 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300936 - [ { get_attr: [subnets, control_net_prefix] }, '47' ]
sgudz37bf8162019-05-27 18:04:07 +0300937 instance01_tenant_net_static_ip:
938 list_join:
939 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300940 - [ { get_attr: [subnets, tenant_net_prefix] }, '45' ]
sgudz37bf8162019-05-27 18:04:07 +0300941 instance02_tenant_net_static_ip:
942 list_join:
943 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300944 - [ { get_attr: [subnets, tenant_net_prefix] }, '46' ]
sgudz37bf8162019-05-27 18:04:07 +0300945 instance03_tenant_net_static_ip:
946 list_join:
947 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300948 - [ { get_attr: [subnets, tenant_net_prefix] }, '47' ]
sgudz37bf8162019-05-27 18:04:07 +0300949 instance01_external_net_static_ip:
950 list_join:
951 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300952 - [ { get_attr: [subnets, external_net_prefix] }, '45' ]
sgudz37bf8162019-05-27 18:04:07 +0300953 instance02_external_net_static_ip:
954 list_join:
955 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300956 - [ { get_attr: [subnets, external_net_prefix] }, '46' ]
sgudz37bf8162019-05-27 18:04:07 +0300957 instance03_external_net_static_ip:
958 list_join:
959 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300960 - [ { get_attr: [subnets, external_net_prefix] }, '47' ]
sgudze6bff762019-05-23 18:15:49 +0300961
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300962 instance_config_host: { get_attr: [cfg01_node, instance_address] }
963
964 dns01_virtual:
965 type: MCP::SingleInstance
966 depends_on: [control_cluster]
967 properties:
968 env_name: { get_param: env_name }
969 mcp_version: { get_param: mcp_version }
970 instance_domain: {get_param: instance_domain}
971 instance_name: dns01
972 instance_flavor: {get_param: dns_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300973 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300974 underlay_userdata: { get_file: ./underlay-userdata.yaml }
975 control_net_static_ip:
976 list_join:
977 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300978 - [ { get_attr: [subnets, control_net_prefix] }, '113' ]
sgudze6bff762019-05-23 18:15:49 +0300979 tenant_net_static_ip:
980 list_join:
981 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300982 - [ { get_attr: [subnets, tenant_net_prefix] }, '113' ]
sgudze6bff762019-05-23 18:15:49 +0300983 external_net_static_ip:
984 list_join:
985 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300986 - [ { get_attr: [subnets, external_net_prefix] }, '113' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300987
988 instance_config_host: { get_attr: [cfg01_node, instance_address] }
989
990 dns02_virtual:
991 type: MCP::SingleInstance
992 depends_on: [control_cluster]
993 properties:
994 env_name: { get_param: env_name }
995 mcp_version: { get_param: mcp_version }
996 instance_domain: {get_param: instance_domain}
997 instance_name: dns02
998 instance_flavor: {get_param: dns_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300999 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001000 underlay_userdata: { get_file: ./underlay-userdata.yaml }
1001 control_net_static_ip:
1002 list_join:
1003 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001004 - [ { get_attr: [subnets, control_net_prefix] }, '114' ]
sgudze6bff762019-05-23 18:15:49 +03001005 tenant_net_static_ip:
1006 list_join:
1007 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001008 - [ { get_attr: [subnets, tenant_net_prefix] }, '114' ]
sgudze6bff762019-05-23 18:15:49 +03001009 external_net_static_ip:
1010 list_join:
1011 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001012 - [ { get_attr: [subnets, external_net_prefix] }, '114' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001013
1014 instance_config_host: { get_attr: [cfg01_node, instance_address] }
1015
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001016 openstack_telemetry_cluster:
1017 type: MCP::MultipleInstance
1018 depends_on: [control_cluster]
1019 properties:
1020 env_name: { get_param: env_name }
1021 mcp_version: { get_param: mcp_version }
1022 instance_domain: {get_param: instance_domain}
1023 instance01_name: mdb01
1024 instance02_name: mdb02
1025 instance03_name: mdb03
1026 instance_flavor: {get_param: mdb_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +03001027 availability_zone: { get_param: vm_availability_zone }
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001028 underlay_userdata: { get_file: ./underlay-userdata.yaml }
1029 instance01_control_net_static_ip:
1030 list_join:
1031 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001032 - [ { get_attr: [subnets, control_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001033 instance02_control_net_static_ip:
1034 list_join:
1035 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001036 - [ { get_attr: [subnets, control_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001037 instance03_control_net_static_ip:
1038 list_join:
1039 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001040 - [ { get_attr: [subnets, control_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001041 instance01_tenant_net_static_ip:
1042 list_join:
1043 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001044 - [ { get_attr: [subnets, tenant_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001045 instance02_tenant_net_static_ip:
1046 list_join:
1047 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001048 - [ { get_attr: [subnets, tenant_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001049 instance03_tenant_net_static_ip:
1050 list_join:
1051 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001052 - [ { get_attr: [subnets, tenant_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001053 instance01_external_net_static_ip:
1054 list_join:
1055 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001056 - [ { get_attr: [subnets, external_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001057 instance02_external_net_static_ip:
1058 list_join:
1059 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001060 - [ { get_attr: [subnets, external_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001061 instance03_external_net_static_ip:
1062 list_join:
1063 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001064 - [ { get_attr: [subnets, external_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001065
1066 instance_config_host: { get_attr: [cfg01_node, instance_address] }
1067
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001068outputs:
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001069 foundation_public_ip:
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001070 description: foundation node IP address (floating) from external network
1071 value:
1072 get_attr:
1073 - foundation_node
1074 - instance_floating_address
1075...