blob: 54f31e1e9682da2aaab1391b21d6923aaf06f7a2 [file] [log] [blame]
sgudz9c5699d2019-04-11 14:16:41 +03001---
2
3heat_template_version: queens
4
5description: MCP environment for heat-cicd-pike-contrail41-sl
6
7parameters:
8 instance_domain:
9 type: string
10 default: heat-cicd-pike-contrail41-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 ntw_flavor:
38 type: string
39 nal_flavor:
40 type: string
41 kvm_fake_flavor:
42 type: string
43 dbs_flavor:
44 type: string
45 msg_flavor:
46 type: string
47 mon_flavor:
48 type: string
49 log_flavor:
50 type: string
51 mtr_flavor:
52 type: string
53 cmp_flavor:
54 type: string
sgudz47545942019-04-25 19:34:56 +030055 cmn_flavor:
56 type: string
57 rgw_flavor:
58 type: string
59 osd_flavor:
60 type: string
sgudz9c5699d2019-04-11 14:16:41 +030061 foundation_flavor:
62 type: string
Andrew Baraniuke8ddc242019-05-14 18:20:54 +030063 vsrx_flavor:
64 type: string
sgudz9c5699d2019-04-11 14:16:41 +030065 net_public:
66 type: string
67
Dennis Dmitrievcba86122019-05-24 13:41:46 +030068 foundation_image:
69 type: string
70
sgudz9c5699d2019-04-11 14:16:41 +030071resources:
72 networks:
73 type: MCP::Networks
74 properties:
75 stack_name: { get_param: "OS::stack_name" }
76 env_name: { get_param: env_name }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030077 subnets:
78 depends_on: [networks]
79 type: MCP::Subnets
80 properties:
81 stack_name: { get_param: "OS::stack_name" }
82 env_name: { get_param: env_name }
83 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
84 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
85 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
86 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudz9c5699d2019-04-11 14:16:41 +030087
88 #flavors:
89 # type: MCP::Flavors
90
91 cfg01_node:
92 type: MCP::MasterNode
93 depends_on: [networks]
94 properties:
95 env_name: { get_param: env_name }
96 mcp_version: { get_param: mcp_version }
97 cfg01_flavor: { get_param: cfg_flavor }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030098 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
99 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
100 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
101 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudze6bff762019-05-23 18:15:49 +0300102 tenant_net_static_ip:
103 list_join:
104 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300105 - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ]
sgudze6bff762019-05-23 18:15:49 +0300106 external_net_static_ip:
107 list_join:
108 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300109 - [ { get_attr: [subnets, external_net_prefix] }, '15' ]
sgudz9c5699d2019-04-11 14:16:41 +0300110 instance_name: cfg01
111 instance_domain: {get_param: instance_domain}
sgudz9c5699d2019-04-11 14:16:41 +0300112
113 control_cluster:
114 type: MCP::MultipleInstance
115 depends_on: [cfg01_node]
116 properties:
117 env_name: { get_param: env_name }
118 mcp_version: { get_param: mcp_version }
119 instance_domain: {get_param: instance_domain}
120 instance01_name: ctl01
121 instance02_name: ctl02
122 instance03_name: ctl03
123 instance_flavor: {get_param: ctl_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300124 underlay_userdata: { get_file: ./underlay-userdata.yaml }
125 instance01_control_net_static_ip:
126 list_join:
127 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300128 - [ { get_attr: [subnets, control_net_prefix] }, '11' ]
sgudz9c5699d2019-04-11 14:16:41 +0300129 instance02_control_net_static_ip:
130 list_join:
131 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300132 - [ { get_attr: [subnets, control_net_prefix] }, '12' ]
sgudz9c5699d2019-04-11 14:16:41 +0300133 instance03_control_net_static_ip:
134 list_join:
135 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300136 - [ { get_attr: [subnets, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300137 instance01_tenant_net_static_ip:
138 list_join:
139 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300140 - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300141 instance02_tenant_net_static_ip:
142 list_join:
143 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300144 - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300145 instance03_tenant_net_static_ip:
146 list_join:
147 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300148 - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300149 instance01_external_net_static_ip:
150 list_join:
151 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300152 - [ { get_attr: [subnets, external_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300153 instance02_external_net_static_ip:
154 list_join:
155 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300156 - [ { get_attr: [subnets, external_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300157 instance03_external_net_static_ip:
158 list_join:
159 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300160 - [ { get_attr: [subnets, external_net_prefix] }, '13' ]
sgudz9c5699d2019-04-11 14:16:41 +0300161
162 instance_config_host: { get_attr: [cfg01_node, instance_address] }
163
164 openstack_database_cluster:
165 type: MCP::MultipleInstance
166 depends_on: [control_cluster]
167 properties:
168 env_name: { get_param: env_name }
169 mcp_version: { get_param: mcp_version }
170 instance_domain: {get_param: instance_domain}
171 instance01_name: dbs01
172 instance02_name: dbs02
173 instance03_name: dbs03
174 instance_flavor: {get_param: dbs_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300175 underlay_userdata: { get_file: ./underlay-userdata.yaml }
176 instance01_control_net_static_ip:
177 list_join:
178 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300179 - [ { get_attr: [subnets, control_net_prefix] }, '51' ]
sgudz9c5699d2019-04-11 14:16:41 +0300180 instance02_control_net_static_ip:
181 list_join:
182 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300183 - [ { get_attr: [subnets, control_net_prefix] }, '52' ]
sgudz9c5699d2019-04-11 14:16:41 +0300184 instance03_control_net_static_ip:
185 list_join:
186 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300187 - [ { get_attr: [subnets, control_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300188 instance01_tenant_net_static_ip:
189 list_join:
190 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300191 - [ { get_attr: [subnets, tenant_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300192 instance02_tenant_net_static_ip:
193 list_join:
194 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300195 - [ { get_attr: [subnets, tenant_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300196 instance03_tenant_net_static_ip:
197 list_join:
198 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300199 - [ { get_attr: [subnets, tenant_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300200 instance01_external_net_static_ip:
201 list_join:
202 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300203 - [ { get_attr: [subnets, external_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300204 instance02_external_net_static_ip:
205 list_join:
206 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300207 - [ { get_attr: [subnets, external_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300208 instance03_external_net_static_ip:
209 list_join:
210 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300211 - [ { get_attr: [subnets, external_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300212
sgudz9c5699d2019-04-11 14:16:41 +0300213 instance_config_host: { get_attr: [cfg01_node, instance_address] }
214
215 fake_kvm_cluster:
216 type: MCP::MultipleInstance
217 depends_on: [cfg01_node]
218 properties:
219 env_name: { get_param: env_name }
220 mcp_version: { get_param: mcp_version }
221 instance_domain: {get_param: instance_domain}
222 instance01_name: kvm01
223 instance02_name: kvm02
224 instance03_name: kvm03
225 instance_flavor: {get_param: kvm_fake_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300226 underlay_userdata: { get_file: ./underlay-userdata.yaml }
227 instance01_control_net_static_ip:
228 list_join:
229 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300230 - [ { get_attr: [subnets, control_net_prefix] }, '241' ]
sgudz9c5699d2019-04-11 14:16:41 +0300231 instance02_control_net_static_ip:
232 list_join:
233 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300234 - [ { get_attr: [subnets, control_net_prefix] }, '242' ]
sgudz9c5699d2019-04-11 14:16:41 +0300235 instance03_control_net_static_ip:
236 list_join:
237 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300238 - [ { get_attr: [subnets, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300239 instance01_tenant_net_static_ip:
240 list_join:
241 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300242 - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300243 instance02_tenant_net_static_ip:
244 list_join:
245 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300246 - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300247 instance03_tenant_net_static_ip:
248 list_join:
249 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300250 - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300251 instance01_external_net_static_ip:
252 list_join:
253 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300254 - [ { get_attr: [subnets, external_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300255 instance02_external_net_static_ip:
256 list_join:
257 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300258 - [ { get_attr: [subnets, external_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300259 instance03_external_net_static_ip:
260 list_join:
261 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300262 - [ { get_attr: [subnets, external_net_prefix] }, '243' ]
sgudz9c5699d2019-04-11 14:16:41 +0300263
264 instance_config_host: { get_attr: [cfg01_node, instance_address] }
265
266 openstack_message_queue_cluster:
267 type: MCP::MultipleInstance
268 depends_on: [openstack_database_cluster]
269 properties:
270 env_name: { get_param: env_name }
271 mcp_version: { get_param: mcp_version }
272 instance_domain: {get_param: instance_domain}
273 instance01_name: msg01
274 instance02_name: msg02
275 instance03_name: msg03
276 instance_flavor: {get_param: msg_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300277 underlay_userdata: { get_file: ./underlay-userdata.yaml }
278 instance01_control_net_static_ip:
279 list_join:
280 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300281 - [ { get_attr: [subnets, control_net_prefix] }, '41' ]
sgudz9c5699d2019-04-11 14:16:41 +0300282 instance02_control_net_static_ip:
283 list_join:
284 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300285 - [ { get_attr: [subnets, control_net_prefix] }, '42' ]
sgudz9c5699d2019-04-11 14:16:41 +0300286 instance03_control_net_static_ip:
287 list_join:
288 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300289 - [ { get_attr: [subnets, control_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300290 instance01_tenant_net_static_ip:
291 list_join:
292 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300293 - [ { get_attr: [subnets, tenant_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300294 instance02_tenant_net_static_ip:
295 list_join:
296 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300297 - [ { get_attr: [subnets, tenant_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300298 instance03_tenant_net_static_ip:
299 list_join:
300 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300301 - [ { get_attr: [subnets, tenant_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300302 instance01_external_net_static_ip:
303 list_join:
304 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300305 - [ { get_attr: [subnets, external_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300306 instance02_external_net_static_ip:
307 list_join:
308 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300309 - [ { get_attr: [subnets, external_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300310 instance03_external_net_static_ip:
311 list_join:
312 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300313 - [ { get_attr: [subnets, external_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300314
sgudz9c5699d2019-04-11 14:16:41 +0300315 instance_config_host: { get_attr: [cfg01_node, instance_address] }
316
317 cicd_cluster:
318 type: MCP::MultipleInstance
319 depends_on: [cfg01_node]
320 properties:
321 env_name: { get_param: env_name }
322 mcp_version: { get_param: mcp_version }
323 instance_domain: {get_param: instance_domain}
324 instance01_name: cid01
325 instance02_name: cid02
326 instance03_name: cid03
327 instance_flavor: {get_param: cid_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300328 underlay_userdata: { get_file: ./underlay-userdata.yaml }
329 instance01_control_net_static_ip:
330 list_join:
331 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300332 - [ { get_attr: [subnets, control_net_prefix] }, '91' ]
sgudz9c5699d2019-04-11 14:16:41 +0300333 instance02_control_net_static_ip:
334 list_join:
335 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300336 - [ { get_attr: [subnets, control_net_prefix] }, '92' ]
sgudz9c5699d2019-04-11 14:16:41 +0300337 instance03_control_net_static_ip:
338 list_join:
339 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300340 - [ { get_attr: [subnets, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300341 instance01_tenant_net_static_ip:
342 list_join:
343 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300344 - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300345 instance02_tenant_net_static_ip:
346 list_join:
347 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300348 - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300349 instance03_tenant_net_static_ip:
350 list_join:
351 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300352 - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300353 instance01_external_net_static_ip:
354 list_join:
355 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300356 - [ { get_attr: [subnets, external_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300357 instance02_external_net_static_ip:
358 list_join:
359 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300360 - [ { get_attr: [subnets, external_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300361 instance03_external_net_static_ip:
362 list_join:
363 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300364 - [ { get_attr: [subnets, external_net_prefix] }, '93' ]
sgudz9c5699d2019-04-11 14:16:41 +0300365
366 instance_config_host: { get_attr: [cfg01_node, instance_address] }
367
368 contrail_ntw_cluster:
369 type: MCP::MultipleInstance
370 depends_on: [openstack_message_queue_cluster]
371 properties:
372 env_name: { get_param: env_name }
373 mcp_version: { get_param: mcp_version }
374 instance_domain: {get_param: instance_domain}
375 instance01_name: ntw01
376 instance02_name: ntw02
377 instance03_name: ntw03
378 instance_flavor: {get_param: ntw_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300379 underlay_userdata: { get_file: ./underlay-userdata.yaml }
380 instance01_control_net_static_ip:
381 list_join:
382 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300383 - [ { get_attr: [subnets, control_net_prefix] }, '21' ]
sgudz9c5699d2019-04-11 14:16:41 +0300384 instance02_control_net_static_ip:
385 list_join:
386 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300387 - [ { get_attr: [subnets, control_net_prefix] }, '22' ]
sgudz9c5699d2019-04-11 14:16:41 +0300388 instance03_control_net_static_ip:
389 list_join:
390 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300391 - [ { get_attr: [subnets, control_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300392 instance01_tenant_net_static_ip:
393 list_join:
394 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300395 - [ { get_attr: [subnets, tenant_net_prefix] }, '21' ]
sgudze6bff762019-05-23 18:15:49 +0300396 instance02_tenant_net_static_ip:
397 list_join:
398 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300399 - [ { get_attr: [subnets, tenant_net_prefix] }, '22' ]
sgudze6bff762019-05-23 18:15:49 +0300400 instance03_tenant_net_static_ip:
401 list_join:
402 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300403 - [ { get_attr: [subnets, tenant_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300404 instance01_external_net_static_ip:
405 list_join:
406 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300407 - [ { get_attr: [subnets, external_net_prefix] }, '21' ]
sgudze6bff762019-05-23 18:15:49 +0300408 instance02_external_net_static_ip:
409 list_join:
410 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300411 - [ { get_attr: [subnets, external_net_prefix] }, '22' ]
sgudze6bff762019-05-23 18:15:49 +0300412 instance03_external_net_static_ip:
413 list_join:
414 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300415 - [ { get_attr: [subnets, external_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300416
sgudz9c5699d2019-04-11 14:16:41 +0300417 instance_config_host: { get_attr: [cfg01_node, instance_address] }
418
419 contrail_nal_cluster:
420 type: MCP::MultipleInstance
421 depends_on: [contrail_ntw_cluster]
422 properties:
423 env_name: { get_param: env_name }
424 mcp_version: { get_param: mcp_version }
425 instance_domain: {get_param: instance_domain}
426 instance01_name: nal01
427 instance02_name: nal02
428 instance03_name: nal03
429 instance_flavor: {get_param: nal_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300430 underlay_userdata: { get_file: ./underlay-userdata.yaml }
431 instance01_control_net_static_ip:
432 list_join:
433 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300434 - [ { get_attr: [subnets, control_net_prefix] }, '31' ]
sgudz9c5699d2019-04-11 14:16:41 +0300435 instance02_control_net_static_ip:
436 list_join:
437 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300438 - [ { get_attr: [subnets, control_net_prefix] }, '32' ]
sgudz9c5699d2019-04-11 14:16:41 +0300439 instance03_control_net_static_ip:
440 list_join:
441 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300442 - [ { get_attr: [subnets, control_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300443 instance01_tenant_net_static_ip:
444 list_join:
445 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300446 - [ { get_attr: [subnets, tenant_net_prefix] }, '31' ]
sgudze6bff762019-05-23 18:15:49 +0300447 instance02_tenant_net_static_ip:
448 list_join:
449 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300450 - [ { get_attr: [subnets, tenant_net_prefix] }, '32' ]
sgudze6bff762019-05-23 18:15:49 +0300451 instance03_tenant_net_static_ip:
452 list_join:
453 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300454 - [ { get_attr: [subnets, tenant_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300455 instance01_external_net_static_ip:
456 list_join:
457 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300458 - [ { get_attr: [subnets, external_net_prefix] }, '31' ]
sgudze6bff762019-05-23 18:15:49 +0300459 instance02_external_net_static_ip:
460 list_join:
461 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300462 - [ { get_attr: [subnets, external_net_prefix] }, '32' ]
sgudze6bff762019-05-23 18:15:49 +0300463 instance03_external_net_static_ip:
464 list_join:
465 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300466 - [ { get_attr: [subnets, external_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300467
sgudz9c5699d2019-04-11 14:16:41 +0300468 instance_config_host: { get_attr: [cfg01_node, instance_address] }
469
470 stacklight_monitor_cluster:
471 type: MCP::MultipleInstance
472 depends_on: [openstack_message_queue_cluster]
473 properties:
474 env_name: { get_param: env_name }
475 mcp_version: { get_param: mcp_version }
476 instance_domain: {get_param: instance_domain}
477 instance01_name: mon01
478 instance02_name: mon02
479 instance03_name: mon03
480 instance_flavor: {get_param: mon_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300481 underlay_userdata: { get_file: ./underlay-userdata.yaml }
482 instance01_control_net_static_ip:
483 list_join:
484 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300485 - [ { get_attr: [subnets, control_net_prefix] }, '71' ]
sgudz9c5699d2019-04-11 14:16:41 +0300486 instance02_control_net_static_ip:
487 list_join:
488 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300489 - [ { get_attr: [subnets, control_net_prefix] }, '72' ]
sgudz9c5699d2019-04-11 14:16:41 +0300490 instance03_control_net_static_ip:
491 list_join:
492 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300493 - [ { get_attr: [subnets, control_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300494 instance01_tenant_net_static_ip:
495 list_join:
496 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300497 - [ { get_attr: [subnets, tenant_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300498 instance02_tenant_net_static_ip:
499 list_join:
500 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300501 - [ { get_attr: [subnets, tenant_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300502 instance03_tenant_net_static_ip:
503 list_join:
504 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300505 - [ { get_attr: [subnets, tenant_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300506 instance01_external_net_static_ip:
507 list_join:
508 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300509 - [ { get_attr: [subnets, external_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300510 instance02_external_net_static_ip:
511 list_join:
512 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300513 - [ { get_attr: [subnets, external_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300514 instance03_external_net_static_ip:
515 list_join:
516 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300517 - [ { get_attr: [subnets, external_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300518
sgudz9c5699d2019-04-11 14:16:41 +0300519 instance_config_host: { get_attr: [cfg01_node, instance_address] }
520
521 stacklight_log_cluster:
522 type: MCP::MultipleInstance
523 depends_on: [stacklight_monitor_cluster]
524 properties:
525 env_name: { get_param: env_name }
526 mcp_version: { get_param: mcp_version }
527 instance_domain: {get_param: instance_domain}
528 instance01_name: log01
529 instance02_name: log02
530 instance03_name: log03
531 instance_flavor: {get_param: log_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300532 underlay_userdata: { get_file: ./underlay-userdata.yaml }
533 instance01_control_net_static_ip:
534 list_join:
535 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300536 - [ { get_attr: [subnets, control_net_prefix] }, '61' ]
sgudz9c5699d2019-04-11 14:16:41 +0300537 instance02_control_net_static_ip:
538 list_join:
539 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300540 - [ { get_attr: [subnets, control_net_prefix] }, '62' ]
sgudz9c5699d2019-04-11 14:16:41 +0300541 instance03_control_net_static_ip:
542 list_join:
543 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300544 - [ { get_attr: [subnets, control_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300545 instance01_tenant_net_static_ip:
546 list_join:
547 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300548 - [ { get_attr: [subnets, tenant_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300549 instance02_tenant_net_static_ip:
550 list_join:
551 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300552 - [ { get_attr: [subnets, tenant_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300553 instance03_tenant_net_static_ip:
554 list_join:
555 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300556 - [ { get_attr: [subnets, tenant_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300557 instance01_external_net_static_ip:
558 list_join:
559 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300560 - [ { get_attr: [subnets, external_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300561 instance02_external_net_static_ip:
562 list_join:
563 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300564 - [ { get_attr: [subnets, external_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300565 instance03_external_net_static_ip:
566 list_join:
567 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300568 - [ { get_attr: [subnets, external_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300569
sgudz9c5699d2019-04-11 14:16:41 +0300570 instance_config_host: { get_attr: [cfg01_node, instance_address] }
571
572 stacklight_mtr_cluster:
573 type: MCP::MultipleInstance
574 depends_on: [stacklight_log_cluster]
575 properties:
576 env_name: { get_param: env_name }
577 mcp_version: { get_param: mcp_version }
578 instance_domain: {get_param: instance_domain}
579 instance01_name: mtr01
580 instance02_name: mtr02
581 instance03_name: mtr03
582 instance_flavor: {get_param: mtr_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300583 underlay_userdata: { get_file: ./underlay-userdata.yaml }
584 instance01_control_net_static_ip:
585 list_join:
586 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300587 - [ { get_attr: [subnets, control_net_prefix] }, '86' ]
sgudz9c5699d2019-04-11 14:16:41 +0300588 instance02_control_net_static_ip:
589 list_join:
590 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300591 - [ { get_attr: [subnets, control_net_prefix] }, '87' ]
sgudz9c5699d2019-04-11 14:16:41 +0300592 instance03_control_net_static_ip:
593 list_join:
594 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300595 - [ { get_attr: [subnets, control_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300596 instance01_tenant_net_static_ip:
597 list_join:
598 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300599 - [ { get_attr: [subnets, tenant_net_prefix] }, '86' ]
sgudze6bff762019-05-23 18:15:49 +0300600 instance02_tenant_net_static_ip:
601 list_join:
602 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300603 - [ { get_attr: [subnets, tenant_net_prefix] }, '87' ]
sgudze6bff762019-05-23 18:15:49 +0300604 instance03_tenant_net_static_ip:
605 list_join:
606 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300607 - [ { get_attr: [subnets, tenant_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300608 instance01_external_net_static_ip:
609 list_join:
610 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300611 - [ { get_attr: [subnets, external_net_prefix] }, '86' ]
sgudze6bff762019-05-23 18:15:49 +0300612 instance02_external_net_static_ip:
613 list_join:
614 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300615 - [ { get_attr: [subnets, external_net_prefix] }, '87' ]
sgudze6bff762019-05-23 18:15:49 +0300616 instance03_external_net_static_ip:
617 list_join:
618 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300619 - [ { get_attr: [subnets, external_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300620
sgudz9c5699d2019-04-11 14:16:41 +0300621 instance_config_host: { get_attr: [cfg01_node, instance_address] }
622
sgudz47545942019-04-25 19:34:56 +0300623 ceph_cmn_cluster:
624 type: MCP::MultipleInstance
625 depends_on: [cfg01_node]
626 properties:
627 env_name: { get_param: env_name }
628 mcp_version: { get_param: mcp_version }
629 instance_domain: {get_param: instance_domain}
630 instance01_name: cmn01
631 instance02_name: cmn02
632 instance03_name: cmn03
633 instance_flavor: {get_param: cmn_flavor}
sgudz47545942019-04-25 19:34:56 +0300634 underlay_userdata: { get_file: ./underlay-userdata.yaml }
635 instance01_control_net_static_ip:
636 list_join:
637 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300638 - [ { get_attr: [subnets, control_net_prefix] }, '66' ]
sgudz47545942019-04-25 19:34:56 +0300639 instance02_control_net_static_ip:
640 list_join:
641 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300642 - [ { get_attr: [subnets, control_net_prefix] }, '67' ]
sgudz47545942019-04-25 19:34:56 +0300643 instance03_control_net_static_ip:
644 list_join:
645 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300646 - [ { get_attr: [subnets, control_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300647 instance01_tenant_net_static_ip:
648 list_join:
649 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300650 - [ { get_attr: [subnets, tenant_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300651 instance02_tenant_net_static_ip:
652 list_join:
653 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300654 - [ { get_attr: [subnets, tenant_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300655 instance03_tenant_net_static_ip:
656 list_join:
657 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300658 - [ { get_attr: [subnets, tenant_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300659 instance01_external_net_static_ip:
660 list_join:
661 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300662 - [ { get_attr: [subnets, external_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300663 instance02_external_net_static_ip:
664 list_join:
665 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300666 - [ { get_attr: [subnets, external_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300667 instance03_external_net_static_ip:
668 list_join:
669 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300670 - [ { get_attr: [subnets, external_net_prefix] }, '68' ]
sgudz47545942019-04-25 19:34:56 +0300671 instance_config_host: { get_attr: [cfg01_node, instance_address] }
672
673 ceph_rgw_cluster:
674 type: MCP::MultipleInstance
675 depends_on: [cfg01_node]
676 properties:
677 env_name: { get_param: env_name }
678 mcp_version: { get_param: mcp_version }
679 instance_domain: {get_param: instance_domain}
680 instance01_name: rgw01
681 instance02_name: rgw02
682 instance03_name: rgw03
683 instance_flavor: {get_param: rgw_flavor}
sgudz47545942019-04-25 19:34:56 +0300684 underlay_userdata: { get_file: ./underlay-userdata.yaml }
685 instance01_control_net_static_ip:
686 list_join:
687 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300688 - [ { get_attr: [subnets, control_net_prefix] }, '76' ]
sgudz47545942019-04-25 19:34:56 +0300689 instance02_control_net_static_ip:
690 list_join:
691 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300692 - [ { get_attr: [subnets, control_net_prefix] }, '77' ]
sgudz47545942019-04-25 19:34:56 +0300693 instance03_control_net_static_ip:
694 list_join:
695 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300696 - [ { get_attr: [subnets, control_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300697 instance01_tenant_net_static_ip:
698 list_join:
699 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300700 - [ { get_attr: [subnets, tenant_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300701 instance02_tenant_net_static_ip:
702 list_join:
703 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300704 - [ { get_attr: [subnets, tenant_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300705 instance03_tenant_net_static_ip:
706 list_join:
707 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300708 - [ { get_attr: [subnets, tenant_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300709 instance01_external_net_static_ip:
710 list_join:
711 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300712 - [ { get_attr: [subnets, external_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300713 instance02_external_net_static_ip:
714 list_join:
715 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300716 - [ { get_attr: [subnets, external_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300717 instance03_external_net_static_ip:
718 list_join:
719 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300720 - [ { get_attr: [subnets, external_net_prefix] }, '78' ]
sgudz47545942019-04-25 19:34:56 +0300721 instance_config_host: { get_attr: [cfg01_node, instance_address] }
722
723 ceph_osd_cluster:
724 type: MCP::MultipleInstance
725 depends_on: [cfg01_node]
726 properties:
727 env_name: { get_param: env_name }
728 mcp_version: { get_param: mcp_version }
729 instance_domain: {get_param: instance_domain}
730 instance01_name: osd001
731 instance02_name: osd002
732 instance03_name: osd003
733 instance_flavor: {get_param: osd_flavor}
sgudz47545942019-04-25 19:34:56 +0300734 underlay_userdata: { get_file: ./underlay-userdata.yaml }
735 instance01_control_net_static_ip:
736 list_join:
737 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300738 - [ { get_attr: [subnets, control_net_prefix] }, '201' ]
sgudz47545942019-04-25 19:34:56 +0300739 instance02_control_net_static_ip:
740 list_join:
741 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300742 - [ { get_attr: [subnets, control_net_prefix] }, '202' ]
sgudz47545942019-04-25 19:34:56 +0300743 instance03_control_net_static_ip:
744 list_join:
745 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300746 - [ { get_attr: [subnets, control_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300747 instance01_tenant_net_static_ip:
748 list_join:
749 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300750 - [ { get_attr: [subnets, tenant_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300751 instance02_tenant_net_static_ip:
752 list_join:
753 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300754 - [ { get_attr: [subnets, tenant_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300755 instance03_tenant_net_static_ip:
756 list_join:
757 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300758 - [ { get_attr: [subnets, tenant_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300759 instance01_external_net_static_ip:
760 list_join:
761 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300762 - [ { get_attr: [subnets, external_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300763 instance02_external_net_static_ip:
764 list_join:
765 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300766 - [ { get_attr: [subnets, external_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300767 instance03_external_net_static_ip:
768 list_join:
769 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300770 - [ { get_attr: [subnets, external_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300771
sgudz47545942019-04-25 19:34:56 +0300772 instance_config_host: { get_attr: [cfg01_node, instance_address] }
773
sgudz9c5699d2019-04-11 14:16:41 +0300774 prx01_virtual:
775 type: MCP::SingleInstance
776 depends_on: [control_cluster]
777 properties:
778 env_name: { get_param: env_name }
779 mcp_version: { get_param: mcp_version }
780 instance_domain: {get_param: instance_domain}
781 instance_name: prx01
Oleksii Butenko5aa4b6c2019-05-30 13:52:05 +0300782 instance_flavor: {get_param: prx_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300783 underlay_userdata: { get_file: ./underlay-userdata.yaml }
784 control_net_static_ip:
785 list_join:
786 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300787 - [ { get_attr: [subnets, control_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300788 tenant_net_static_ip:
789 list_join:
790 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300791 - [ { get_attr: [subnets, tenant_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300792 external_net_static_ip:
793 list_join:
794 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300795 - [ { get_attr: [subnets, external_net_prefix] }, '81' ]
sgudz9c5699d2019-04-11 14:16:41 +0300796
797 instance_config_host: { get_attr: [cfg01_node, instance_address] }
798
Oleksii Butenko5aa4b6c2019-05-30 13:52:05 +0300799 prx02_virtual:
800 type: MCP::SingleInstance
801 depends_on: [control_cluster]
802 properties:
803 env_name: { get_param: env_name }
804 mcp_version: { get_param: mcp_version }
805 instance_domain: {get_param: instance_domain}
806 instance_name: prx02
807 instance_flavor: {get_param: prx_flavor}
808 underlay_userdata: { get_file: ./underlay-userdata.yaml }
809 control_net_static_ip:
810 list_join:
811 - '.'
812 - [ { get_attr: [subnets, control_net_prefix] }, '82' ]
813 tenant_net_static_ip:
814 list_join:
815 - '.'
816 - [ { get_attr: [subnets, tenant_net_prefix] }, '82' ]
817 external_net_static_ip:
818 list_join:
819 - '.'
820 - [ { get_attr: [subnets, external_net_prefix] }, '82' ]
821
822 instance_config_host: { get_attr: [cfg01_node, instance_address] }
sgudz9c5699d2019-04-11 14:16:41 +0300823 cmp001_virtual:
824 type: MCP::Compute
825 depends_on: [cfg01_node]
826 properties:
827 env_name: { get_param: env_name }
828 mcp_version: { get_param: mcp_version }
829 instance_domain: {get_param: instance_domain}
830 instance_name: cmp001
831 instance_flavor: {get_param: cmp_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300832 underlay_userdata: { get_file: ./underlay-userdata.yaml }
833 control_net_static_ip:
834 list_join:
835 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300836 - [ { get_attr: [subnets, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300837 tenant_net_static_ip:
838 list_join:
839 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300840 - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300841 external_net_static_ip:
842 list_join:
843 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300844 - [ { get_attr: [subnets, external_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300845
sgudz9c5699d2019-04-11 14:16:41 +0300846 instance_config_host: { get_attr: [cfg01_node, instance_address] }
847
848 cmp002_virtual:
849 type: MCP::Compute
850 depends_on: [cfg01_node]
851 properties:
852 env_name: { get_param: env_name }
853 mcp_version: { get_param: mcp_version }
854 instance_domain: {get_param: instance_domain}
855 instance_name: cmp002
856 instance_flavor: {get_param: cmp_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300857 underlay_userdata: { get_file: ./underlay-userdata.yaml }
858 control_net_static_ip:
859 list_join:
860 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300861 - [ { get_attr: [subnets, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300862 tenant_net_static_ip:
863 list_join:
864 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300865 - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300866 external_net_static_ip:
867 list_join:
868 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300869 - [ { get_attr: [subnets, external_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300870
sgudz9c5699d2019-04-11 14:16:41 +0300871 instance_config_host: { get_attr: [cfg01_node, instance_address] }
872
873 foundation_node:
874 type: MCP::FoundationNode
875 depends_on: [networks]
876 properties:
877 env_name: { get_param: env_name }
878 mcp_version: { get_param: mcp_version }
879 instance_domain: {get_param: instance_domain}
880 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300881 instance_image: { get_param: foundation_image }
sgudz9c5699d2019-04-11 14:16:41 +0300882 instance_flavor: {get_param: foundation_flavor}
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300883 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
884 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
885 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
886 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudz9c5699d2019-04-11 14:16:41 +0300887 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300888 management_net_static_ip:
889 list_join:
890 - '.'
891 - [ { get_attr: [subnets, management_net_prefix] }, '5' ]
sgudz9c5699d2019-04-11 14:16:41 +0300892 control_net_static_ip:
893 list_join:
894 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300895 - [ { get_attr: [subnets, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300896 tenant_net_static_ip:
897 list_join:
898 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300899 - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300900 external_net_static_ip:
901 list_join:
902 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300903 - [ { get_attr: [subnets, external_net_prefix] }, '5' ]
sgudz9c5699d2019-04-11 14:16:41 +0300904 instance_config_host: { get_attr: [cfg01_node, instance_address] }
905
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300906 vsrx_node:
907 type: MCP::VsrxNode
908 depends_on: [cfg01_node]
909 properties:
910 env_name: { get_param: env_name }
911 mcp_version: { get_param: mcp_version }
912 instance_domain: {get_param: instance_domain}
913 instance_name: vsrx
914 instance_flavor: {get_param: vsrx_flavor}
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300915 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
916 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
917 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
918 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300919 instance_image: system_vsrx-12.1X46-D20.5
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300920 control_net_static_ip:
921 list_join:
922 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300923 - [ { get_attr: [subnets, control_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300924 tenant_net_static_ip:
925 list_join:
926 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300927 - [ { get_attr: [subnets, tenant_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300928 external_net_static_ip:
929 list_join:
930 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300931 - [ { get_attr: [subnets, external_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300932 instance_config_host: { get_attr: [cfg01_node, instance_address] }
933
sgudz9c5699d2019-04-11 14:16:41 +0300934outputs:
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300935 foundation_public_ip:
sgudz9c5699d2019-04-11 14:16:41 +0300936 description: foundation node IP address (floating) from external network
937 value:
938 get_attr:
939 - foundation_node
940 - instance_floating_address
941...