blob: df23b9d71a7314d7edc3b1b00be9ffba140b9ce6 [file] [log] [blame]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001---
2
3heat_template_version: queens
4
5description: MCP environment for heat-cicd-pike-dvr-sl
6
7parameters:
8 instance_domain:
9 type: string
10 default: heat-cicd-pike-dvr-sl.local
11 mcp_version:
12 type: string
13 env_name:
14 type: string
15 control_subnet_cidr:
16 type: string
17 management_subnet_cidr:
18 type: string
19 management_subnet_pool_start:
20 type: string
21 management_subnet_pool_end:
22 type: string
23 management_subnet_cfg01_ip:
24 type: string
25 management_subnet_gateway_ip:
26 type: string
27
28 key_pair:
29 type: string
30
31 ctl_flavor:
32 type: string
33 cfg_flavor:
34 type: string
35 cid_flavor:
36 type: string
37 kvm_fake_flavor:
38 type: string
39 dbs_flavor:
40 type: string
41 msg_flavor:
42 type: string
43 mon_flavor:
44 type: string
45 log_flavor:
46 type: string
47 mtr_flavor:
48 type: string
49 cmp_flavor:
50 type: string
51 foundation_flavor:
52 type: string
53 cmn_flavor:
54 type: string
55 rgw_flavor:
56 type: string
57 osd_flavor:
58 type: string
59 gtw_flavor:
60 type: string
61 dns_flavor:
62 type: string
63 kmn_flavor:
64 type: string
65 prx_flavor:
66 type: string
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +030067 mdb_flavor:
68 type: string
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030069
70 net_public:
71 type: string
72
Dennis Dmitrievcba86122019-05-24 13:41:46 +030073 foundation_image:
74 type: string
75
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030076resources:
77 networks:
78 type: MCP::Networks
79 properties:
80 stack_name: { get_param: "OS::stack_name" }
81 env_name: { get_param: env_name }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030082 subnets:
83 depends_on: [networks]
84 type: MCP::Subnets
85 properties:
86 stack_name: { get_param: "OS::stack_name" }
87 env_name: { get_param: env_name }
88 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
89 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
90 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
91 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +030092
93 #flavors:
94 # type: MCP::Flavors
95
96 cfg01_node:
97 type: MCP::MasterNode
98 depends_on: [networks]
99 properties:
100 env_name: { get_param: env_name }
101 mcp_version: { get_param: mcp_version }
102 cfg01_flavor: { get_param: cfg_flavor }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300103 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
104 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
105 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
106 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudze6bff762019-05-23 18:15:49 +0300107 tenant_net_static_ip:
108 list_join:
109 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300110 - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ]
sgudze6bff762019-05-23 18:15:49 +0300111 external_net_static_ip:
112 list_join:
113 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300114 - [ { get_attr: [subnets, external_net_prefix] }, '15' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300115 instance_name: cfg01
116 instance_domain: {get_param: instance_domain}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300117
118 control_cluster:
119 type: MCP::MultipleInstance
120 depends_on: [cfg01_node]
121 properties:
122 env_name: { get_param: env_name }
123 mcp_version: { get_param: mcp_version }
124 instance_domain: {get_param: instance_domain}
125 instance01_name: ctl01
126 instance02_name: ctl02
127 instance03_name: ctl03
128 instance_flavor: {get_param: ctl_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300129 underlay_userdata: { get_file: ./underlay-userdata.yaml }
130 instance01_control_net_static_ip:
131 list_join:
132 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300133 - [ { get_attr: [subnets, control_net_prefix] }, '11' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300134 instance02_control_net_static_ip:
135 list_join:
136 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300137 - [ { get_attr: [subnets, control_net_prefix] }, '12' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300138 instance03_control_net_static_ip:
139 list_join:
140 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300141 - [ { get_attr: [subnets, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300142 instance01_tenant_net_static_ip:
143 list_join:
144 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300145 - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300146 instance02_tenant_net_static_ip:
147 list_join:
148 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300149 - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300150 instance03_tenant_net_static_ip:
151 list_join:
152 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300153 - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300154 instance01_external_net_static_ip:
155 list_join:
156 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300157 - [ { get_attr: [subnets, external_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300158 instance02_external_net_static_ip:
159 list_join:
160 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300161 - [ { get_attr: [subnets, external_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300162 instance03_external_net_static_ip:
163 list_join:
164 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300165 - [ { get_attr: [subnets, external_net_prefix] }, '13' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300166
167 instance_config_host: { get_attr: [cfg01_node, instance_address] }
168
169 openstack_database_cluster:
170 type: MCP::MultipleInstance
171 depends_on: [control_cluster]
172 properties:
173 env_name: { get_param: env_name }
174 mcp_version: { get_param: mcp_version }
175 instance_domain: {get_param: instance_domain}
176 instance01_name: dbs01
177 instance02_name: dbs02
178 instance03_name: dbs03
179 instance_flavor: {get_param: dbs_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300180 underlay_userdata: { get_file: ./underlay-userdata.yaml }
181 instance01_control_net_static_ip:
182 list_join:
183 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300184 - [ { get_attr: [subnets, control_net_prefix] }, '51' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300185 instance02_control_net_static_ip:
186 list_join:
187 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300188 - [ { get_attr: [subnets, control_net_prefix] }, '52' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300189 instance03_control_net_static_ip:
190 list_join:
191 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300192 - [ { get_attr: [subnets, control_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300193 instance01_tenant_net_static_ip:
194 list_join:
195 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300196 - [ { get_attr: [subnets, tenant_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300197 instance02_tenant_net_static_ip:
198 list_join:
199 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300200 - [ { get_attr: [subnets, tenant_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300201 instance03_tenant_net_static_ip:
202 list_join:
203 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300204 - [ { get_attr: [subnets, tenant_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300205 instance01_external_net_static_ip:
206 list_join:
207 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300208 - [ { get_attr: [subnets, external_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300209 instance02_external_net_static_ip:
210 list_join:
211 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300212 - [ { get_attr: [subnets, external_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300213 instance03_external_net_static_ip:
214 list_join:
215 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300216 - [ { get_attr: [subnets, external_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300217
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300218 instance_config_host: { get_attr: [cfg01_node, instance_address] }
219
220 fake_kvm_cluster:
221 type: MCP::MultipleInstance
222 depends_on: [cfg01_node]
223 properties:
224 env_name: { get_param: env_name }
225 mcp_version: { get_param: mcp_version }
226 instance_domain: {get_param: instance_domain}
227 instance01_name: kvm01
228 instance02_name: kvm02
229 instance03_name: kvm03
230 instance_flavor: {get_param: kvm_fake_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300231 underlay_userdata: { get_file: ./underlay-userdata.yaml }
232 instance01_control_net_static_ip:
233 list_join:
234 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300235 - [ { get_attr: [subnets, control_net_prefix] }, '241' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300236 instance02_control_net_static_ip:
237 list_join:
238 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300239 - [ { get_attr: [subnets, control_net_prefix] }, '242' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300240 instance03_control_net_static_ip:
241 list_join:
242 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300243 - [ { get_attr: [subnets, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300244 instance01_tenant_net_static_ip:
245 list_join:
246 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300247 - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300248 instance02_tenant_net_static_ip:
249 list_join:
250 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300251 - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300252 instance03_tenant_net_static_ip:
253 list_join:
254 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300255 - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300256 instance01_external_net_static_ip:
257 list_join:
258 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300259 - [ { get_attr: [subnets, external_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300260 instance02_external_net_static_ip:
261 list_join:
262 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300263 - [ { get_attr: [subnets, external_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300264 instance03_external_net_static_ip:
265 list_join:
266 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300267 - [ { get_attr: [subnets, external_net_prefix] }, '243' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300268
269 instance_config_host: { get_attr: [cfg01_node, instance_address] }
270
271 openstack_message_queue_cluster:
272 type: MCP::MultipleInstance
273 depends_on: [openstack_database_cluster]
274 properties:
275 env_name: { get_param: env_name }
276 mcp_version: { get_param: mcp_version }
277 instance_domain: {get_param: instance_domain}
278 instance01_name: msg01
279 instance02_name: msg02
280 instance03_name: msg03
281 instance_flavor: {get_param: msg_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300282 underlay_userdata: { get_file: ./underlay-userdata.yaml }
283 instance01_control_net_static_ip:
284 list_join:
285 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300286 - [ { get_attr: [subnets, control_net_prefix] }, '41' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300287 instance02_control_net_static_ip:
288 list_join:
289 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300290 - [ { get_attr: [subnets, control_net_prefix] }, '42' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300291 instance03_control_net_static_ip:
292 list_join:
293 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300294 - [ { get_attr: [subnets, control_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300295 instance01_tenant_net_static_ip:
296 list_join:
297 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300298 - [ { get_attr: [subnets, tenant_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300299 instance02_tenant_net_static_ip:
300 list_join:
301 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300302 - [ { get_attr: [subnets, tenant_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300303 instance03_tenant_net_static_ip:
304 list_join:
305 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300306 - [ { get_attr: [subnets, tenant_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300307 instance01_external_net_static_ip:
308 list_join:
309 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300310 - [ { get_attr: [subnets, external_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300311 instance02_external_net_static_ip:
312 list_join:
313 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300314 - [ { get_attr: [subnets, external_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300315 instance03_external_net_static_ip:
316 list_join:
317 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300318 - [ { get_attr: [subnets, external_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300319
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300320 instance_config_host: { get_attr: [cfg01_node, instance_address] }
321
322 cicd_cluster:
323 type: MCP::MultipleInstance
324 depends_on: [cfg01_node]
325 properties:
326 env_name: { get_param: env_name }
327 mcp_version: { get_param: mcp_version }
328 instance_domain: {get_param: instance_domain}
329 instance01_name: cid01
330 instance02_name: cid02
331 instance03_name: cid03
332 instance_flavor: {get_param: cid_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300333 underlay_userdata: { get_file: ./underlay-userdata.yaml }
334 instance01_control_net_static_ip:
335 list_join:
336 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300337 - [ { get_attr: [subnets, control_net_prefix] }, '91' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300338 instance02_control_net_static_ip:
339 list_join:
340 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300341 - [ { get_attr: [subnets, control_net_prefix] }, '92' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300342 instance03_control_net_static_ip:
343 list_join:
344 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300345 - [ { get_attr: [subnets, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300346 instance01_tenant_net_static_ip:
347 list_join:
348 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300349 - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300350 instance02_tenant_net_static_ip:
351 list_join:
352 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300353 - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300354 instance03_tenant_net_static_ip:
355 list_join:
356 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300357 - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300358 instance01_external_net_static_ip:
359 list_join:
360 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300361 - [ { get_attr: [subnets, external_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300362 instance02_external_net_static_ip:
363 list_join:
364 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300365 - [ { get_attr: [subnets, external_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300366 instance03_external_net_static_ip:
367 list_join:
368 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300369 - [ { get_attr: [subnets, external_net_prefix] }, '93' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300370
371 instance_config_host: { get_attr: [cfg01_node, instance_address] }
372
373 stacklight_monitor_cluster:
374 type: MCP::MultipleInstance
375 depends_on: [openstack_message_queue_cluster]
376 properties:
377 env_name: { get_param: env_name }
378 mcp_version: { get_param: mcp_version }
379 instance_domain: {get_param: instance_domain}
380 instance01_name: mon01
381 instance02_name: mon02
382 instance03_name: mon03
383 instance_flavor: {get_param: mon_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300384 underlay_userdata: { get_file: ./underlay-userdata.yaml }
385 instance01_control_net_static_ip:
386 list_join:
387 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300388 - [ { get_attr: [subnets, control_net_prefix] }, '71' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300389 instance02_control_net_static_ip:
390 list_join:
391 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300392 - [ { get_attr: [subnets, control_net_prefix] }, '72' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300393 instance03_control_net_static_ip:
394 list_join:
395 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300396 - [ { get_attr: [subnets, control_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300397 instance01_tenant_net_static_ip:
398 list_join:
399 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300400 - [ { get_attr: [subnets, tenant_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300401 instance02_tenant_net_static_ip:
402 list_join:
403 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300404 - [ { get_attr: [subnets, tenant_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300405 instance03_tenant_net_static_ip:
406 list_join:
407 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300408 - [ { get_attr: [subnets, tenant_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300409 instance01_external_net_static_ip:
410 list_join:
411 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300412 - [ { get_attr: [subnets, external_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300413 instance02_external_net_static_ip:
414 list_join:
415 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300416 - [ { get_attr: [subnets, external_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300417 instance03_external_net_static_ip:
418 list_join:
419 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300420 - [ { get_attr: [subnets, external_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300421
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300422 instance_config_host: { get_attr: [cfg01_node, instance_address] }
423
424 stacklight_log_cluster:
425 type: MCP::MultipleInstance
426 depends_on: [stacklight_monitor_cluster]
427 properties:
428 env_name: { get_param: env_name }
429 mcp_version: { get_param: mcp_version }
430 instance_domain: {get_param: instance_domain}
431 instance01_name: log01
432 instance02_name: log02
433 instance03_name: log03
434 instance_flavor: {get_param: log_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300435 underlay_userdata: { get_file: ./underlay-userdata.yaml }
436 instance01_control_net_static_ip:
437 list_join:
438 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300439 - [ { get_attr: [subnets, control_net_prefix] }, '61' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300440 instance02_control_net_static_ip:
441 list_join:
442 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300443 - [ { get_attr: [subnets, control_net_prefix] }, '62' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300444 instance03_control_net_static_ip:
445 list_join:
446 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300447 - [ { get_attr: [subnets, control_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300448 instance01_tenant_net_static_ip:
449 list_join:
450 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300451 - [ { get_attr: [subnets, tenant_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300452 instance02_tenant_net_static_ip:
453 list_join:
454 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300455 - [ { get_attr: [subnets, tenant_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300456 instance03_tenant_net_static_ip:
457 list_join:
458 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300459 - [ { get_attr: [subnets, tenant_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300460 instance01_external_net_static_ip:
461 list_join:
462 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300463 - [ { get_attr: [subnets, external_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300464 instance02_external_net_static_ip:
465 list_join:
466 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300467 - [ { get_attr: [subnets, external_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300468 instance03_external_net_static_ip:
469 list_join:
470 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300471 - [ { get_attr: [subnets, external_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300472
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300473 instance_config_host: { get_attr: [cfg01_node, instance_address] }
474
475 stacklight_mtr_cluster:
476 type: MCP::MultipleInstance
477 depends_on: [stacklight_log_cluster]
478 properties:
479 env_name: { get_param: env_name }
480 mcp_version: { get_param: mcp_version }
481 instance_domain: {get_param: instance_domain}
482 instance01_name: mtr01
483 instance02_name: mtr02
484 instance03_name: mtr03
485 instance_flavor: {get_param: mtr_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300486 underlay_userdata: { get_file: ./underlay-userdata.yaml }
487 instance01_control_net_static_ip:
488 list_join:
489 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300490 - [ { get_attr: [subnets, control_net_prefix] }, '97' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300491 instance02_control_net_static_ip:
492 list_join:
493 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300494 - [ { get_attr: [subnets, control_net_prefix] }, '98' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300495 instance03_control_net_static_ip:
496 list_join:
497 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300498 - [ { get_attr: [subnets, control_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300499 instance01_tenant_net_static_ip:
500 list_join:
501 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300502 - [ { get_attr: [subnets, tenant_net_prefix] }, '97' ]
sgudze6bff762019-05-23 18:15:49 +0300503 instance02_tenant_net_static_ip:
504 list_join:
505 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300506 - [ { get_attr: [subnets, tenant_net_prefix] }, '98' ]
sgudze6bff762019-05-23 18:15:49 +0300507 instance03_tenant_net_static_ip:
508 list_join:
509 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300510 - [ { get_attr: [subnets, tenant_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300511 instance01_external_net_static_ip:
512 list_join:
513 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300514 - [ { get_attr: [subnets, external_net_prefix] }, '97' ]
sgudze6bff762019-05-23 18:15:49 +0300515 instance02_external_net_static_ip:
516 list_join:
517 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300518 - [ { get_attr: [subnets, external_net_prefix] }, '98' ]
sgudze6bff762019-05-23 18:15:49 +0300519 instance03_external_net_static_ip:
520 list_join:
521 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300522 - [ { get_attr: [subnets, external_net_prefix] }, '99' ]
sgudze6bff762019-05-23 18:15:49 +0300523
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300524 instance_config_host: { get_attr: [cfg01_node, instance_address] }
525
526 prx01_virtual:
527 type: MCP::SingleInstance
528 depends_on: [control_cluster]
529 properties:
530 env_name: { get_param: env_name }
531 mcp_version: { get_param: mcp_version }
532 instance_domain: {get_param: instance_domain}
533 instance_name: prx01
534 instance_flavor: {get_param: prx_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300535 underlay_userdata: { get_file: ./underlay-userdata.yaml }
536 control_net_static_ip:
537 list_join:
538 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300539 - [ { get_attr: [subnets, control_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300540 tenant_net_static_ip:
541 list_join:
542 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300543 - [ { get_attr: [subnets, tenant_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300544 external_net_static_ip:
545 list_join:
546 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300547 - [ { get_attr: [subnets, external_net_prefix] }, '81' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300548
549 instance_config_host: { get_attr: [cfg01_node, instance_address] }
550
551 prx02_virtual:
552 type: MCP::SingleInstance
553 depends_on: [control_cluster]
554 properties:
555 env_name: { get_param: env_name }
556 mcp_version: { get_param: mcp_version }
557 instance_domain: {get_param: instance_domain}
558 instance_name: prx02
559 instance_flavor: {get_param: prx_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300560 underlay_userdata: { get_file: ./underlay-userdata.yaml }
561 control_net_static_ip:
562 list_join:
563 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300564 - [ { get_attr: [subnets, control_net_prefix] }, '82' ]
sgudze6bff762019-05-23 18:15:49 +0300565 tenant_net_static_ip:
566 list_join:
567 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300568 - [ { get_attr: [subnets, tenant_net_prefix] }, '82' ]
sgudze6bff762019-05-23 18:15:49 +0300569 external_net_static_ip:
570 list_join:
571 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300572 - [ { get_attr: [subnets, external_net_prefix] }, '82' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300573
574 instance_config_host: { get_attr: [cfg01_node, instance_address] }
575
576 cmp001_virtual:
577 type: MCP::Compute
578 depends_on: [cfg01_node]
579 properties:
580 env_name: { get_param: env_name }
581 mcp_version: { get_param: mcp_version }
582 instance_domain: {get_param: instance_domain}
583 instance_name: cmp001
584 instance_flavor: {get_param: cmp_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300585 underlay_userdata: { get_file: ./underlay-userdata.yaml }
586 control_net_static_ip:
587 list_join:
588 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300589 - [ { get_attr: [subnets, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300590 tenant_net_static_ip:
591 list_join:
592 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300593 - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300594 external_net_static_ip:
595 list_join:
596 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300597 - [ { get_attr: [subnets, external_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300598
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300599 instance_config_host: { get_attr: [cfg01_node, instance_address] }
600
601 cmp002_virtual:
602 type: MCP::Compute
603 depends_on: [cfg01_node]
604 properties:
605 env_name: { get_param: env_name }
606 mcp_version: { get_param: mcp_version }
607 instance_domain: {get_param: instance_domain}
608 instance_name: cmp002
609 instance_flavor: {get_param: cmp_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300610 underlay_userdata: { get_file: ./underlay-userdata.yaml }
611 control_net_static_ip:
612 list_join:
613 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300614 - [ { get_attr: [subnets, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300615 tenant_net_static_ip:
616 list_join:
617 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300618 - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300619 external_net_static_ip:
620 list_join:
621 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300622 - [ { get_attr: [subnets, external_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300623
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300624 instance_config_host: { get_attr: [cfg01_node, instance_address] }
625
626 foundation_node:
627 type: MCP::FoundationNode
628 depends_on: [networks]
629 properties:
630 env_name: { get_param: env_name }
631 mcp_version: { get_param: mcp_version }
632 instance_domain: {get_param: instance_domain}
633 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300634 instance_image: { get_param: foundation_image }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300635 instance_flavor: {get_param: foundation_flavor}
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300636 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
637 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
638 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
639 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300640 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300641 management_net_static_ip:
642 list_join:
643 - '.'
644 - [ { get_attr: [subnets, management_net_prefix] }, '5' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300645 control_net_static_ip:
646 list_join:
647 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300648 - [ { get_attr: [subnets, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300649 tenant_net_static_ip:
650 list_join:
651 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300652 - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300653 external_net_static_ip:
654 list_join:
655 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300656 - [ { get_attr: [subnets, external_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300657
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300658 instance_config_host: { get_attr: [cfg01_node, instance_address] }
659
660 ceph_cmn_cluster:
661 type: MCP::MultipleInstance
662 depends_on: [cfg01_node]
663 properties:
664 env_name: { get_param: env_name }
665 mcp_version: { get_param: mcp_version }
666 instance_domain: {get_param: instance_domain}
667 instance01_name: cmn01
668 instance02_name: cmn02
669 instance03_name: cmn03
670 instance_flavor: {get_param: cmn_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300671 underlay_userdata: { get_file: ./underlay-userdata.yaml }
672 instance01_control_net_static_ip:
673 list_join:
674 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300675 - [ { get_attr: [subnets, control_net_prefix] }, '66' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300676 instance02_control_net_static_ip:
677 list_join:
678 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300679 - [ { get_attr: [subnets, control_net_prefix] }, '67' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300680 instance03_control_net_static_ip:
681 list_join:
682 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300683 - [ { get_attr: [subnets, control_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300684 instance01_tenant_net_static_ip:
685 list_join:
686 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300687 - [ { get_attr: [subnets, tenant_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300688 instance02_tenant_net_static_ip:
689 list_join:
690 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300691 - [ { get_attr: [subnets, tenant_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300692 instance03_tenant_net_static_ip:
693 list_join:
694 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300695 - [ { get_attr: [subnets, tenant_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300696 instance01_external_net_static_ip:
697 list_join:
698 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300699 - [ { get_attr: [subnets, external_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300700 instance02_external_net_static_ip:
701 list_join:
702 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300703 - [ { get_attr: [subnets, external_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300704 instance03_external_net_static_ip:
705 list_join:
706 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300707 - [ { get_attr: [subnets, external_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300708
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300709 instance_config_host: { get_attr: [cfg01_node, instance_address] }
710
711 ceph_rgw_cluster:
712 type: MCP::MultipleInstance
713 depends_on: [cfg01_node]
714 properties:
715 env_name: { get_param: env_name }
716 mcp_version: { get_param: mcp_version }
717 instance_domain: {get_param: instance_domain}
718 instance01_name: rgw01
719 instance02_name: rgw02
720 instance03_name: rgw03
721 instance_flavor: {get_param: rgw_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300722 underlay_userdata: { get_file: ./underlay-userdata.yaml }
723 instance01_control_net_static_ip:
724 list_join:
725 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300726 - [ { get_attr: [subnets, control_net_prefix] }, '76' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300727 instance02_control_net_static_ip:
728 list_join:
729 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300730 - [ { get_attr: [subnets, control_net_prefix] }, '77' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300731 instance03_control_net_static_ip:
732 list_join:
733 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300734 - [ { get_attr: [subnets, control_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300735 instance01_tenant_net_static_ip:
736 list_join:
737 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300738 - [ { get_attr: [subnets, tenant_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300739 instance02_tenant_net_static_ip:
740 list_join:
741 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300742 - [ { get_attr: [subnets, tenant_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300743 instance03_tenant_net_static_ip:
744 list_join:
745 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300746 - [ { get_attr: [subnets, tenant_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300747 instance01_external_net_static_ip:
748 list_join:
749 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300750 - [ { get_attr: [subnets, external_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300751 instance02_external_net_static_ip:
752 list_join:
753 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300754 - [ { get_attr: [subnets, external_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300755 instance03_external_net_static_ip:
756 list_join:
757 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300758 - [ { get_attr: [subnets, external_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300759
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300760 instance_config_host: { get_attr: [cfg01_node, instance_address] }
761
762 ceph_osd_cluster:
763 type: MCP::MultipleInstance
764 depends_on: [cfg01_node]
765 properties:
766 env_name: { get_param: env_name }
767 mcp_version: { get_param: mcp_version }
768 instance_domain: {get_param: instance_domain}
769 instance01_name: osd001
770 instance02_name: osd002
771 instance03_name: osd003
772 instance_flavor: {get_param: osd_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300773 underlay_userdata: { get_file: ./underlay-userdata.yaml }
774 instance01_control_net_static_ip:
775 list_join:
776 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300777 - [ { get_attr: [subnets, control_net_prefix] }, '201' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300778 instance02_control_net_static_ip:
779 list_join:
780 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300781 - [ { get_attr: [subnets, control_net_prefix] }, '202' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300782 instance03_control_net_static_ip:
783 list_join:
784 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300785 - [ { get_attr: [subnets, control_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300786 instance01_tenant_net_static_ip:
787 list_join:
788 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300789 - [ { get_attr: [subnets, tenant_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300790 instance02_tenant_net_static_ip:
791 list_join:
792 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300793 - [ { get_attr: [subnets, tenant_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300794 instance03_tenant_net_static_ip:
795 list_join:
796 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300797 - [ { get_attr: [subnets, tenant_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300798 instance01_external_net_static_ip:
799 list_join:
800 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300801 - [ { get_attr: [subnets, external_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300802 instance02_external_net_static_ip:
803 list_join:
804 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300805 - [ { get_attr: [subnets, external_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300806 instance03_external_net_static_ip:
807 list_join:
808 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300809 - [ { get_attr: [subnets, external_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300810
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300811 instance_config_host: { get_attr: [cfg01_node, instance_address] }
812
813 openstack_gtw_cluster:
814 type: MCP::MultipleInstance
815 depends_on: [cfg01_node]
816 properties:
817 env_name: { get_param: env_name }
818 mcp_version: { get_param: mcp_version }
819 instance_domain: {get_param: instance_domain}
820 instance01_name: gtw01
821 instance02_name: gtw02
822 instance03_name: gtw03
823 instance_flavor: {get_param: gtw_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300824 underlay_userdata: { get_file: ./underlay-userdata.yaml }
825 instance01_control_net_static_ip:
826 list_join:
827 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300828 - [ { get_attr: [subnets, control_net_prefix] }, '224' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300829 instance02_control_net_static_ip:
830 list_join:
831 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300832 - [ { get_attr: [subnets, control_net_prefix] }, '225' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300833 instance03_control_net_static_ip:
834 list_join:
835 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300836 - [ { get_attr: [subnets, control_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300837 instance01_tenant_net_static_ip:
838 list_join:
839 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300840 - [ { get_attr: [subnets, tenant_net_prefix] }, '224' ]
sgudze6bff762019-05-23 18:15:49 +0300841 instance02_tenant_net_static_ip:
842 list_join:
843 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300844 - [ { get_attr: [subnets, tenant_net_prefix] }, '225' ]
sgudze6bff762019-05-23 18:15:49 +0300845 instance03_tenant_net_static_ip:
846 list_join:
847 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300848 - [ { get_attr: [subnets, tenant_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300849 instance01_external_net_static_ip:
850 list_join:
851 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300852 - [ { get_attr: [subnets, external_net_prefix] }, '224' ]
sgudze6bff762019-05-23 18:15:49 +0300853 instance02_external_net_static_ip:
854 list_join:
855 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300856 - [ { get_attr: [subnets, external_net_prefix] }, '225' ]
sgudze6bff762019-05-23 18:15:49 +0300857 instance03_external_net_static_ip:
858 list_join:
859 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300860 - [ { get_attr: [subnets, external_net_prefix] }, '226' ]
sgudze6bff762019-05-23 18:15:49 +0300861
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300862 instance_config_host: { get_attr: [cfg01_node, instance_address] }
863
864 openstack_barbican_cluster:
865 type: MCP::MultipleInstance
866 depends_on: [control_cluster]
867 properties:
868 env_name: { get_param: env_name }
869 mcp_version: { get_param: mcp_version }
870 instance_domain: {get_param: instance_domain}
871 instance01_name: kmn01
872 instance02_name: kmn02
873 instance03_name: kmn03
874 instance_flavor: {get_param: kmn_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300875 underlay_userdata: { get_file: ./underlay-userdata.yaml }
876 instance01_control_net_static_ip:
877 list_join:
878 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300879 - [ { get_attr: [subnets, control_net_prefix] }, '45' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300880 instance02_control_net_static_ip:
881 list_join:
882 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300883 - [ { get_attr: [subnets, control_net_prefix] }, '46' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300884 instance03_control_net_static_ip:
885 list_join:
886 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300887 - [ { get_attr: [subnets, control_net_prefix] }, '47' ]
sgudze6bff762019-05-23 18:15:49 +0300888 instance01_tenant_net_static_ip:
889 list_join:
890 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300891 - [ { get_attr: [subnets, tenant_net_prefix] }, '45' ]
sgudze6bff762019-05-23 18:15:49 +0300892 instance02_tenant_net_static_ip:
893 list_join:
894 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300895 - [ { get_attr: [subnets, tenant_net_prefix] }, '46' ]
sgudze6bff762019-05-23 18:15:49 +0300896 instance03_tenant_net_static_ip:
897 list_join:
898 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300899 - [ { get_attr: [subnets, tenant_net_prefix] }, '47' ]
sgudze6bff762019-05-23 18:15:49 +0300900 instance01_external_net_static_ip:
901 list_join:
902 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300903 - [ { get_attr: [subnets, external_net_prefix] }, '45' ]
sgudze6bff762019-05-23 18:15:49 +0300904 instance02_external_net_static_ip:
905 list_join:
906 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300907 - [ { get_attr: [subnets, external_net_prefix] }, '46' ]
sgudze6bff762019-05-23 18:15:49 +0300908 instance03_external_net_static_ip:
909 list_join:
910 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300911 - [ { get_attr: [subnets, external_net_prefix] }, '47' ]
sgudze6bff762019-05-23 18:15:49 +0300912
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300913 instance_config_host: { get_attr: [cfg01_node, instance_address] }
914
915 dns01_virtual:
916 type: MCP::SingleInstance
917 depends_on: [control_cluster]
918 properties:
919 env_name: { get_param: env_name }
920 mcp_version: { get_param: mcp_version }
921 instance_domain: {get_param: instance_domain}
922 instance_name: dns01
923 instance_flavor: {get_param: dns_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300924 underlay_userdata: { get_file: ./underlay-userdata.yaml }
925 control_net_static_ip:
926 list_join:
927 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300928 - [ { get_attr: [subnets, control_net_prefix] }, '113' ]
sgudze6bff762019-05-23 18:15:49 +0300929 tenant_net_static_ip:
930 list_join:
931 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300932 - [ { get_attr: [subnets, tenant_net_prefix] }, '113' ]
sgudze6bff762019-05-23 18:15:49 +0300933 external_net_static_ip:
934 list_join:
935 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300936 - [ { get_attr: [subnets, external_net_prefix] }, '113' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300937
938 instance_config_host: { get_attr: [cfg01_node, instance_address] }
939
940 dns02_virtual:
941 type: MCP::SingleInstance
942 depends_on: [control_cluster]
943 properties:
944 env_name: { get_param: env_name }
945 mcp_version: { get_param: mcp_version }
946 instance_domain: {get_param: instance_domain}
947 instance_name: dns02
948 instance_flavor: {get_param: dns_flavor}
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300949 underlay_userdata: { get_file: ./underlay-userdata.yaml }
950 control_net_static_ip:
951 list_join:
952 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300953 - [ { get_attr: [subnets, control_net_prefix] }, '114' ]
sgudze6bff762019-05-23 18:15:49 +0300954 tenant_net_static_ip:
955 list_join:
956 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300957 - [ { get_attr: [subnets, tenant_net_prefix] }, '114' ]
sgudze6bff762019-05-23 18:15:49 +0300958 external_net_static_ip:
959 list_join:
960 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300961 - [ { get_attr: [subnets, external_net_prefix] }, '114' ]
Tatyana Leontovich1e063f02019-05-08 15:06:33 +0300962
963 instance_config_host: { get_attr: [cfg01_node, instance_address] }
964
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300965 openstack_telemetry_cluster:
966 type: MCP::MultipleInstance
967 depends_on: [control_cluster]
968 properties:
969 env_name: { get_param: env_name }
970 mcp_version: { get_param: mcp_version }
971 instance_domain: {get_param: instance_domain}
972 instance01_name: mdb01
973 instance02_name: mdb02
974 instance03_name: mdb03
975 instance_flavor: {get_param: mdb_flavor}
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300976 network: { get_attr: [subnets, network] }
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300977 underlay_userdata: { get_file: ./underlay-userdata.yaml }
978 instance01_control_net_static_ip:
979 list_join:
980 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300981 - [ { get_attr: [subnets, control_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300982 instance02_control_net_static_ip:
983 list_join:
984 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300985 - [ { get_attr: [subnets, control_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300986 instance03_control_net_static_ip:
987 list_join:
988 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300989 - [ { get_attr: [subnets, control_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300990 instance01_tenant_net_static_ip:
991 list_join:
992 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300993 - [ { get_attr: [subnets, tenant_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300994 instance02_tenant_net_static_ip:
995 list_join:
996 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300997 - [ { get_attr: [subnets, tenant_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +0300998 instance03_tenant_net_static_ip:
999 list_join:
1000 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001001 - [ { get_attr: [subnets, tenant_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001002 instance01_external_net_static_ip:
1003 list_join:
1004 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001005 - [ { get_attr: [subnets, external_net_prefix] }, '84' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001006 instance02_external_net_static_ip:
1007 list_join:
1008 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001009 - [ { get_attr: [subnets, external_net_prefix] }, '85' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001010 instance03_external_net_static_ip:
1011 list_join:
1012 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001013 - [ { get_attr: [subnets, external_net_prefix] }, '86' ]
Tatyana Leontovicha0c3e732019-05-27 17:23:55 +03001014
1015 instance_config_host: { get_attr: [cfg01_node, instance_address] }
1016
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001017outputs:
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +03001018 foundation_public_ip:
Tatyana Leontovich1e063f02019-05-08 15:06:33 +03001019 description: foundation node IP address (floating) from external network
1020 value:
1021 get_attr:
1022 - foundation_node
1023 - instance_floating_address
1024...