blob: e5fe8309963f8987d7926b482deaaf91baf89fa0 [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
Dennis Dmitriev88e9f6d2019-05-31 07:41:40 +030065 prx_flavor:
66 type: string
sgudz9c5699d2019-04-11 14:16:41 +030067 net_public:
68 type: string
69
Dennis Dmitrievcba86122019-05-24 13:41:46 +030070 foundation_image:
71 type: string
72
sgudz9c5699d2019-04-11 14:16:41 +030073resources:
74 networks:
75 type: MCP::Networks
76 properties:
77 stack_name: { get_param: "OS::stack_name" }
78 env_name: { get_param: env_name }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030079 subnets:
80 depends_on: [networks]
81 type: MCP::Subnets
82 properties:
83 stack_name: { get_param: "OS::stack_name" }
84 env_name: { get_param: env_name }
85 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
86 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
87 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
88 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudz9c5699d2019-04-11 14:16:41 +030089
90 #flavors:
91 # type: MCP::Flavors
92
93 cfg01_node:
94 type: MCP::MasterNode
95 depends_on: [networks]
96 properties:
97 env_name: { get_param: env_name }
98 mcp_version: { get_param: mcp_version }
99 cfg01_flavor: { get_param: cfg_flavor }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300100 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
101 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
102 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
103 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudze6bff762019-05-23 18:15:49 +0300104 tenant_net_static_ip:
105 list_join:
106 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300107 - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ]
sgudze6bff762019-05-23 18:15:49 +0300108 external_net_static_ip:
109 list_join:
110 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300111 - [ { get_attr: [subnets, external_net_prefix] }, '15' ]
sgudz9c5699d2019-04-11 14:16:41 +0300112 instance_name: cfg01
113 instance_domain: {get_param: instance_domain}
sgudz9c5699d2019-04-11 14:16:41 +0300114
115 control_cluster:
116 type: MCP::MultipleInstance
117 depends_on: [cfg01_node]
118 properties:
119 env_name: { get_param: env_name }
120 mcp_version: { get_param: mcp_version }
121 instance_domain: {get_param: instance_domain}
122 instance01_name: ctl01
123 instance02_name: ctl02
124 instance03_name: ctl03
125 instance_flavor: {get_param: ctl_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300126 underlay_userdata: { get_file: ./underlay-userdata.yaml }
127 instance01_control_net_static_ip:
128 list_join:
129 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300130 - [ { get_attr: [subnets, control_net_prefix] }, '11' ]
sgudz9c5699d2019-04-11 14:16:41 +0300131 instance02_control_net_static_ip:
132 list_join:
133 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300134 - [ { get_attr: [subnets, control_net_prefix] }, '12' ]
sgudz9c5699d2019-04-11 14:16:41 +0300135 instance03_control_net_static_ip:
136 list_join:
137 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300138 - [ { get_attr: [subnets, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300139 instance01_tenant_net_static_ip:
140 list_join:
141 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300142 - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300143 instance02_tenant_net_static_ip:
144 list_join:
145 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300146 - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300147 instance03_tenant_net_static_ip:
148 list_join:
149 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300150 - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300151 instance01_external_net_static_ip:
152 list_join:
153 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300154 - [ { get_attr: [subnets, external_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300155 instance02_external_net_static_ip:
156 list_join:
157 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300158 - [ { get_attr: [subnets, external_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300159 instance03_external_net_static_ip:
160 list_join:
161 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300162 - [ { get_attr: [subnets, external_net_prefix] }, '13' ]
sgudz9c5699d2019-04-11 14:16:41 +0300163
164 instance_config_host: { get_attr: [cfg01_node, instance_address] }
165
166 openstack_database_cluster:
167 type: MCP::MultipleInstance
168 depends_on: [control_cluster]
169 properties:
170 env_name: { get_param: env_name }
171 mcp_version: { get_param: mcp_version }
172 instance_domain: {get_param: instance_domain}
173 instance01_name: dbs01
174 instance02_name: dbs02
175 instance03_name: dbs03
176 instance_flavor: {get_param: dbs_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300177 underlay_userdata: { get_file: ./underlay-userdata.yaml }
178 instance01_control_net_static_ip:
179 list_join:
180 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300181 - [ { get_attr: [subnets, control_net_prefix] }, '51' ]
sgudz9c5699d2019-04-11 14:16:41 +0300182 instance02_control_net_static_ip:
183 list_join:
184 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300185 - [ { get_attr: [subnets, control_net_prefix] }, '52' ]
sgudz9c5699d2019-04-11 14:16:41 +0300186 instance03_control_net_static_ip:
187 list_join:
188 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300189 - [ { get_attr: [subnets, control_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300190 instance01_tenant_net_static_ip:
191 list_join:
192 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300193 - [ { get_attr: [subnets, tenant_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300194 instance02_tenant_net_static_ip:
195 list_join:
196 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300197 - [ { get_attr: [subnets, tenant_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300198 instance03_tenant_net_static_ip:
199 list_join:
200 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300201 - [ { get_attr: [subnets, tenant_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300202 instance01_external_net_static_ip:
203 list_join:
204 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300205 - [ { get_attr: [subnets, external_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300206 instance02_external_net_static_ip:
207 list_join:
208 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300209 - [ { get_attr: [subnets, external_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300210 instance03_external_net_static_ip:
211 list_join:
212 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300213 - [ { get_attr: [subnets, external_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300214
sgudz9c5699d2019-04-11 14:16:41 +0300215 instance_config_host: { get_attr: [cfg01_node, instance_address] }
216
217 fake_kvm_cluster:
218 type: MCP::MultipleInstance
219 depends_on: [cfg01_node]
220 properties:
221 env_name: { get_param: env_name }
222 mcp_version: { get_param: mcp_version }
223 instance_domain: {get_param: instance_domain}
224 instance01_name: kvm01
225 instance02_name: kvm02
226 instance03_name: kvm03
227 instance_flavor: {get_param: kvm_fake_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300228 underlay_userdata: { get_file: ./underlay-userdata.yaml }
229 instance01_control_net_static_ip:
230 list_join:
231 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300232 - [ { get_attr: [subnets, control_net_prefix] }, '241' ]
sgudz9c5699d2019-04-11 14:16:41 +0300233 instance02_control_net_static_ip:
234 list_join:
235 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300236 - [ { get_attr: [subnets, control_net_prefix] }, '242' ]
sgudz9c5699d2019-04-11 14:16:41 +0300237 instance03_control_net_static_ip:
238 list_join:
239 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300240 - [ { get_attr: [subnets, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300241 instance01_tenant_net_static_ip:
242 list_join:
243 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300244 - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300245 instance02_tenant_net_static_ip:
246 list_join:
247 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300248 - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300249 instance03_tenant_net_static_ip:
250 list_join:
251 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300252 - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300253 instance01_external_net_static_ip:
254 list_join:
255 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300256 - [ { get_attr: [subnets, external_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300257 instance02_external_net_static_ip:
258 list_join:
259 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300260 - [ { get_attr: [subnets, external_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300261 instance03_external_net_static_ip:
262 list_join:
263 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300264 - [ { get_attr: [subnets, external_net_prefix] }, '243' ]
sgudz9c5699d2019-04-11 14:16:41 +0300265
266 instance_config_host: { get_attr: [cfg01_node, instance_address] }
267
268 openstack_message_queue_cluster:
269 type: MCP::MultipleInstance
270 depends_on: [openstack_database_cluster]
271 properties:
272 env_name: { get_param: env_name }
273 mcp_version: { get_param: mcp_version }
274 instance_domain: {get_param: instance_domain}
275 instance01_name: msg01
276 instance02_name: msg02
277 instance03_name: msg03
278 instance_flavor: {get_param: msg_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300279 underlay_userdata: { get_file: ./underlay-userdata.yaml }
280 instance01_control_net_static_ip:
281 list_join:
282 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300283 - [ { get_attr: [subnets, control_net_prefix] }, '41' ]
sgudz9c5699d2019-04-11 14:16:41 +0300284 instance02_control_net_static_ip:
285 list_join:
286 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300287 - [ { get_attr: [subnets, control_net_prefix] }, '42' ]
sgudz9c5699d2019-04-11 14:16:41 +0300288 instance03_control_net_static_ip:
289 list_join:
290 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300291 - [ { get_attr: [subnets, control_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300292 instance01_tenant_net_static_ip:
293 list_join:
294 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300295 - [ { get_attr: [subnets, tenant_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300296 instance02_tenant_net_static_ip:
297 list_join:
298 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300299 - [ { get_attr: [subnets, tenant_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300300 instance03_tenant_net_static_ip:
301 list_join:
302 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300303 - [ { get_attr: [subnets, tenant_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300304 instance01_external_net_static_ip:
305 list_join:
306 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300307 - [ { get_attr: [subnets, external_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300308 instance02_external_net_static_ip:
309 list_join:
310 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300311 - [ { get_attr: [subnets, external_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300312 instance03_external_net_static_ip:
313 list_join:
314 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300315 - [ { get_attr: [subnets, external_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300316
sgudz9c5699d2019-04-11 14:16:41 +0300317 instance_config_host: { get_attr: [cfg01_node, instance_address] }
318
319 cicd_cluster:
320 type: MCP::MultipleInstance
321 depends_on: [cfg01_node]
322 properties:
323 env_name: { get_param: env_name }
324 mcp_version: { get_param: mcp_version }
325 instance_domain: {get_param: instance_domain}
326 instance01_name: cid01
327 instance02_name: cid02
328 instance03_name: cid03
329 instance_flavor: {get_param: cid_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300330 underlay_userdata: { get_file: ./underlay-userdata.yaml }
331 instance01_control_net_static_ip:
332 list_join:
333 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300334 - [ { get_attr: [subnets, control_net_prefix] }, '91' ]
sgudz9c5699d2019-04-11 14:16:41 +0300335 instance02_control_net_static_ip:
336 list_join:
337 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300338 - [ { get_attr: [subnets, control_net_prefix] }, '92' ]
sgudz9c5699d2019-04-11 14:16:41 +0300339 instance03_control_net_static_ip:
340 list_join:
341 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300342 - [ { get_attr: [subnets, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300343 instance01_tenant_net_static_ip:
344 list_join:
345 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300346 - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300347 instance02_tenant_net_static_ip:
348 list_join:
349 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300350 - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300351 instance03_tenant_net_static_ip:
352 list_join:
353 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300354 - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300355 instance01_external_net_static_ip:
356 list_join:
357 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300358 - [ { get_attr: [subnets, external_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300359 instance02_external_net_static_ip:
360 list_join:
361 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300362 - [ { get_attr: [subnets, external_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300363 instance03_external_net_static_ip:
364 list_join:
365 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300366 - [ { get_attr: [subnets, external_net_prefix] }, '93' ]
sgudz9c5699d2019-04-11 14:16:41 +0300367
368 instance_config_host: { get_attr: [cfg01_node, instance_address] }
369
370 contrail_ntw_cluster:
371 type: MCP::MultipleInstance
372 depends_on: [openstack_message_queue_cluster]
373 properties:
374 env_name: { get_param: env_name }
375 mcp_version: { get_param: mcp_version }
376 instance_domain: {get_param: instance_domain}
377 instance01_name: ntw01
378 instance02_name: ntw02
379 instance03_name: ntw03
380 instance_flavor: {get_param: ntw_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300381 underlay_userdata: { get_file: ./underlay-userdata.yaml }
382 instance01_control_net_static_ip:
383 list_join:
384 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300385 - [ { get_attr: [subnets, control_net_prefix] }, '21' ]
sgudz9c5699d2019-04-11 14:16:41 +0300386 instance02_control_net_static_ip:
387 list_join:
388 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300389 - [ { get_attr: [subnets, control_net_prefix] }, '22' ]
sgudz9c5699d2019-04-11 14:16:41 +0300390 instance03_control_net_static_ip:
391 list_join:
392 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300393 - [ { get_attr: [subnets, control_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300394 instance01_tenant_net_static_ip:
395 list_join:
396 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300397 - [ { get_attr: [subnets, tenant_net_prefix] }, '21' ]
sgudze6bff762019-05-23 18:15:49 +0300398 instance02_tenant_net_static_ip:
399 list_join:
400 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300401 - [ { get_attr: [subnets, tenant_net_prefix] }, '22' ]
sgudze6bff762019-05-23 18:15:49 +0300402 instance03_tenant_net_static_ip:
403 list_join:
404 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300405 - [ { get_attr: [subnets, tenant_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300406 instance01_external_net_static_ip:
407 list_join:
408 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300409 - [ { get_attr: [subnets, external_net_prefix] }, '21' ]
sgudze6bff762019-05-23 18:15:49 +0300410 instance02_external_net_static_ip:
411 list_join:
412 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300413 - [ { get_attr: [subnets, external_net_prefix] }, '22' ]
sgudze6bff762019-05-23 18:15:49 +0300414 instance03_external_net_static_ip:
415 list_join:
416 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300417 - [ { get_attr: [subnets, external_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300418
sgudz9c5699d2019-04-11 14:16:41 +0300419 instance_config_host: { get_attr: [cfg01_node, instance_address] }
420
421 contrail_nal_cluster:
422 type: MCP::MultipleInstance
423 depends_on: [contrail_ntw_cluster]
424 properties:
425 env_name: { get_param: env_name }
426 mcp_version: { get_param: mcp_version }
427 instance_domain: {get_param: instance_domain}
428 instance01_name: nal01
429 instance02_name: nal02
430 instance03_name: nal03
431 instance_flavor: {get_param: nal_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300432 underlay_userdata: { get_file: ./underlay-userdata.yaml }
433 instance01_control_net_static_ip:
434 list_join:
435 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300436 - [ { get_attr: [subnets, control_net_prefix] }, '31' ]
sgudz9c5699d2019-04-11 14:16:41 +0300437 instance02_control_net_static_ip:
438 list_join:
439 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300440 - [ { get_attr: [subnets, control_net_prefix] }, '32' ]
sgudz9c5699d2019-04-11 14:16:41 +0300441 instance03_control_net_static_ip:
442 list_join:
443 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300444 - [ { get_attr: [subnets, control_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300445 instance01_tenant_net_static_ip:
446 list_join:
447 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300448 - [ { get_attr: [subnets, tenant_net_prefix] }, '31' ]
sgudze6bff762019-05-23 18:15:49 +0300449 instance02_tenant_net_static_ip:
450 list_join:
451 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300452 - [ { get_attr: [subnets, tenant_net_prefix] }, '32' ]
sgudze6bff762019-05-23 18:15:49 +0300453 instance03_tenant_net_static_ip:
454 list_join:
455 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300456 - [ { get_attr: [subnets, tenant_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300457 instance01_external_net_static_ip:
458 list_join:
459 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300460 - [ { get_attr: [subnets, external_net_prefix] }, '31' ]
sgudze6bff762019-05-23 18:15:49 +0300461 instance02_external_net_static_ip:
462 list_join:
463 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300464 - [ { get_attr: [subnets, external_net_prefix] }, '32' ]
sgudze6bff762019-05-23 18:15:49 +0300465 instance03_external_net_static_ip:
466 list_join:
467 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300468 - [ { get_attr: [subnets, external_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300469
sgudz9c5699d2019-04-11 14:16:41 +0300470 instance_config_host: { get_attr: [cfg01_node, instance_address] }
471
472 stacklight_monitor_cluster:
473 type: MCP::MultipleInstance
474 depends_on: [openstack_message_queue_cluster]
475 properties:
476 env_name: { get_param: env_name }
477 mcp_version: { get_param: mcp_version }
478 instance_domain: {get_param: instance_domain}
479 instance01_name: mon01
480 instance02_name: mon02
481 instance03_name: mon03
482 instance_flavor: {get_param: mon_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300483 underlay_userdata: { get_file: ./underlay-userdata.yaml }
484 instance01_control_net_static_ip:
485 list_join:
486 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300487 - [ { get_attr: [subnets, control_net_prefix] }, '71' ]
sgudz9c5699d2019-04-11 14:16:41 +0300488 instance02_control_net_static_ip:
489 list_join:
490 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300491 - [ { get_attr: [subnets, control_net_prefix] }, '72' ]
sgudz9c5699d2019-04-11 14:16:41 +0300492 instance03_control_net_static_ip:
493 list_join:
494 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300495 - [ { get_attr: [subnets, control_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300496 instance01_tenant_net_static_ip:
497 list_join:
498 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300499 - [ { get_attr: [subnets, tenant_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300500 instance02_tenant_net_static_ip:
501 list_join:
502 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300503 - [ { get_attr: [subnets, tenant_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300504 instance03_tenant_net_static_ip:
505 list_join:
506 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300507 - [ { get_attr: [subnets, tenant_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300508 instance01_external_net_static_ip:
509 list_join:
510 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300511 - [ { get_attr: [subnets, external_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300512 instance02_external_net_static_ip:
513 list_join:
514 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300515 - [ { get_attr: [subnets, external_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300516 instance03_external_net_static_ip:
517 list_join:
518 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300519 - [ { get_attr: [subnets, external_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300520
sgudz9c5699d2019-04-11 14:16:41 +0300521 instance_config_host: { get_attr: [cfg01_node, instance_address] }
522
523 stacklight_log_cluster:
524 type: MCP::MultipleInstance
525 depends_on: [stacklight_monitor_cluster]
526 properties:
527 env_name: { get_param: env_name }
528 mcp_version: { get_param: mcp_version }
529 instance_domain: {get_param: instance_domain}
530 instance01_name: log01
531 instance02_name: log02
532 instance03_name: log03
533 instance_flavor: {get_param: log_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300534 underlay_userdata: { get_file: ./underlay-userdata.yaml }
535 instance01_control_net_static_ip:
536 list_join:
537 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300538 - [ { get_attr: [subnets, control_net_prefix] }, '61' ]
sgudz9c5699d2019-04-11 14:16:41 +0300539 instance02_control_net_static_ip:
540 list_join:
541 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300542 - [ { get_attr: [subnets, control_net_prefix] }, '62' ]
sgudz9c5699d2019-04-11 14:16:41 +0300543 instance03_control_net_static_ip:
544 list_join:
545 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300546 - [ { get_attr: [subnets, control_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300547 instance01_tenant_net_static_ip:
548 list_join:
549 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300550 - [ { get_attr: [subnets, tenant_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300551 instance02_tenant_net_static_ip:
552 list_join:
553 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300554 - [ { get_attr: [subnets, tenant_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300555 instance03_tenant_net_static_ip:
556 list_join:
557 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300558 - [ { get_attr: [subnets, tenant_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300559 instance01_external_net_static_ip:
560 list_join:
561 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300562 - [ { get_attr: [subnets, external_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300563 instance02_external_net_static_ip:
564 list_join:
565 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300566 - [ { get_attr: [subnets, external_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300567 instance03_external_net_static_ip:
568 list_join:
569 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300570 - [ { get_attr: [subnets, external_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300571
sgudz9c5699d2019-04-11 14:16:41 +0300572 instance_config_host: { get_attr: [cfg01_node, instance_address] }
573
574 stacklight_mtr_cluster:
575 type: MCP::MultipleInstance
576 depends_on: [stacklight_log_cluster]
577 properties:
578 env_name: { get_param: env_name }
579 mcp_version: { get_param: mcp_version }
580 instance_domain: {get_param: instance_domain}
581 instance01_name: mtr01
582 instance02_name: mtr02
583 instance03_name: mtr03
584 instance_flavor: {get_param: mtr_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300585 underlay_userdata: { get_file: ./underlay-userdata.yaml }
586 instance01_control_net_static_ip:
587 list_join:
588 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300589 - [ { get_attr: [subnets, control_net_prefix] }, '86' ]
sgudz9c5699d2019-04-11 14:16:41 +0300590 instance02_control_net_static_ip:
591 list_join:
592 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300593 - [ { get_attr: [subnets, control_net_prefix] }, '87' ]
sgudz9c5699d2019-04-11 14:16:41 +0300594 instance03_control_net_static_ip:
595 list_join:
596 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300597 - [ { get_attr: [subnets, control_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300598 instance01_tenant_net_static_ip:
599 list_join:
600 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300601 - [ { get_attr: [subnets, tenant_net_prefix] }, '86' ]
sgudze6bff762019-05-23 18:15:49 +0300602 instance02_tenant_net_static_ip:
603 list_join:
604 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300605 - [ { get_attr: [subnets, tenant_net_prefix] }, '87' ]
sgudze6bff762019-05-23 18:15:49 +0300606 instance03_tenant_net_static_ip:
607 list_join:
608 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300609 - [ { get_attr: [subnets, tenant_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300610 instance01_external_net_static_ip:
611 list_join:
612 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300613 - [ { get_attr: [subnets, external_net_prefix] }, '86' ]
sgudze6bff762019-05-23 18:15:49 +0300614 instance02_external_net_static_ip:
615 list_join:
616 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300617 - [ { get_attr: [subnets, external_net_prefix] }, '87' ]
sgudze6bff762019-05-23 18:15:49 +0300618 instance03_external_net_static_ip:
619 list_join:
620 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300621 - [ { get_attr: [subnets, external_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300622
sgudz9c5699d2019-04-11 14:16:41 +0300623 instance_config_host: { get_attr: [cfg01_node, instance_address] }
624
sgudz47545942019-04-25 19:34:56 +0300625 ceph_cmn_cluster:
626 type: MCP::MultipleInstance
627 depends_on: [cfg01_node]
628 properties:
629 env_name: { get_param: env_name }
630 mcp_version: { get_param: mcp_version }
631 instance_domain: {get_param: instance_domain}
632 instance01_name: cmn01
633 instance02_name: cmn02
634 instance03_name: cmn03
635 instance_flavor: {get_param: cmn_flavor}
sgudz47545942019-04-25 19:34:56 +0300636 underlay_userdata: { get_file: ./underlay-userdata.yaml }
637 instance01_control_net_static_ip:
638 list_join:
639 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300640 - [ { get_attr: [subnets, control_net_prefix] }, '66' ]
sgudz47545942019-04-25 19:34:56 +0300641 instance02_control_net_static_ip:
642 list_join:
643 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300644 - [ { get_attr: [subnets, control_net_prefix] }, '67' ]
sgudz47545942019-04-25 19:34:56 +0300645 instance03_control_net_static_ip:
646 list_join:
647 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300648 - [ { get_attr: [subnets, control_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300649 instance01_tenant_net_static_ip:
650 list_join:
651 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300652 - [ { get_attr: [subnets, tenant_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300653 instance02_tenant_net_static_ip:
654 list_join:
655 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300656 - [ { get_attr: [subnets, tenant_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300657 instance03_tenant_net_static_ip:
658 list_join:
659 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300660 - [ { get_attr: [subnets, tenant_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300661 instance01_external_net_static_ip:
662 list_join:
663 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300664 - [ { get_attr: [subnets, external_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300665 instance02_external_net_static_ip:
666 list_join:
667 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300668 - [ { get_attr: [subnets, external_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300669 instance03_external_net_static_ip:
670 list_join:
671 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300672 - [ { get_attr: [subnets, external_net_prefix] }, '68' ]
sgudz47545942019-04-25 19:34:56 +0300673 instance_config_host: { get_attr: [cfg01_node, instance_address] }
674
675 ceph_rgw_cluster:
676 type: MCP::MultipleInstance
677 depends_on: [cfg01_node]
678 properties:
679 env_name: { get_param: env_name }
680 mcp_version: { get_param: mcp_version }
681 instance_domain: {get_param: instance_domain}
682 instance01_name: rgw01
683 instance02_name: rgw02
684 instance03_name: rgw03
685 instance_flavor: {get_param: rgw_flavor}
sgudz47545942019-04-25 19:34:56 +0300686 underlay_userdata: { get_file: ./underlay-userdata.yaml }
687 instance01_control_net_static_ip:
688 list_join:
689 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300690 - [ { get_attr: [subnets, control_net_prefix] }, '76' ]
sgudz47545942019-04-25 19:34:56 +0300691 instance02_control_net_static_ip:
692 list_join:
693 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300694 - [ { get_attr: [subnets, control_net_prefix] }, '77' ]
sgudz47545942019-04-25 19:34:56 +0300695 instance03_control_net_static_ip:
696 list_join:
697 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300698 - [ { get_attr: [subnets, control_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300699 instance01_tenant_net_static_ip:
700 list_join:
701 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300702 - [ { get_attr: [subnets, tenant_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300703 instance02_tenant_net_static_ip:
704 list_join:
705 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300706 - [ { get_attr: [subnets, tenant_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300707 instance03_tenant_net_static_ip:
708 list_join:
709 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300710 - [ { get_attr: [subnets, tenant_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300711 instance01_external_net_static_ip:
712 list_join:
713 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300714 - [ { get_attr: [subnets, external_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300715 instance02_external_net_static_ip:
716 list_join:
717 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300718 - [ { get_attr: [subnets, external_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300719 instance03_external_net_static_ip:
720 list_join:
721 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300722 - [ { get_attr: [subnets, external_net_prefix] }, '78' ]
sgudz47545942019-04-25 19:34:56 +0300723 instance_config_host: { get_attr: [cfg01_node, instance_address] }
724
725 ceph_osd_cluster:
726 type: MCP::MultipleInstance
727 depends_on: [cfg01_node]
728 properties:
729 env_name: { get_param: env_name }
730 mcp_version: { get_param: mcp_version }
731 instance_domain: {get_param: instance_domain}
732 instance01_name: osd001
733 instance02_name: osd002
734 instance03_name: osd003
735 instance_flavor: {get_param: osd_flavor}
sgudz47545942019-04-25 19:34:56 +0300736 underlay_userdata: { get_file: ./underlay-userdata.yaml }
737 instance01_control_net_static_ip:
738 list_join:
739 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300740 - [ { get_attr: [subnets, control_net_prefix] }, '201' ]
sgudz47545942019-04-25 19:34:56 +0300741 instance02_control_net_static_ip:
742 list_join:
743 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300744 - [ { get_attr: [subnets, control_net_prefix] }, '202' ]
sgudz47545942019-04-25 19:34:56 +0300745 instance03_control_net_static_ip:
746 list_join:
747 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300748 - [ { get_attr: [subnets, control_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300749 instance01_tenant_net_static_ip:
750 list_join:
751 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300752 - [ { get_attr: [subnets, tenant_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300753 instance02_tenant_net_static_ip:
754 list_join:
755 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300756 - [ { get_attr: [subnets, tenant_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300757 instance03_tenant_net_static_ip:
758 list_join:
759 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300760 - [ { get_attr: [subnets, tenant_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300761 instance01_external_net_static_ip:
762 list_join:
763 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300764 - [ { get_attr: [subnets, external_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300765 instance02_external_net_static_ip:
766 list_join:
767 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300768 - [ { get_attr: [subnets, external_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300769 instance03_external_net_static_ip:
770 list_join:
771 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300772 - [ { get_attr: [subnets, external_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300773
sgudz47545942019-04-25 19:34:56 +0300774 instance_config_host: { get_attr: [cfg01_node, instance_address] }
775
sgudz9c5699d2019-04-11 14:16:41 +0300776 prx01_virtual:
777 type: MCP::SingleInstance
778 depends_on: [control_cluster]
779 properties:
780 env_name: { get_param: env_name }
781 mcp_version: { get_param: mcp_version }
782 instance_domain: {get_param: instance_domain}
783 instance_name: prx01
Oleksii Butenko5aa4b6c2019-05-30 13:52:05 +0300784 instance_flavor: {get_param: prx_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300785 underlay_userdata: { get_file: ./underlay-userdata.yaml }
786 control_net_static_ip:
787 list_join:
788 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300789 - [ { get_attr: [subnets, control_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300790 tenant_net_static_ip:
791 list_join:
792 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300793 - [ { get_attr: [subnets, tenant_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300794 external_net_static_ip:
795 list_join:
796 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300797 - [ { get_attr: [subnets, external_net_prefix] }, '81' ]
sgudz9c5699d2019-04-11 14:16:41 +0300798
799 instance_config_host: { get_attr: [cfg01_node, instance_address] }
800
Oleksii Butenko5aa4b6c2019-05-30 13:52:05 +0300801 prx02_virtual:
802 type: MCP::SingleInstance
803 depends_on: [control_cluster]
804 properties:
805 env_name: { get_param: env_name }
806 mcp_version: { get_param: mcp_version }
807 instance_domain: {get_param: instance_domain}
808 instance_name: prx02
809 instance_flavor: {get_param: prx_flavor}
810 underlay_userdata: { get_file: ./underlay-userdata.yaml }
811 control_net_static_ip:
812 list_join:
813 - '.'
814 - [ { get_attr: [subnets, control_net_prefix] }, '82' ]
815 tenant_net_static_ip:
816 list_join:
817 - '.'
818 - [ { get_attr: [subnets, tenant_net_prefix] }, '82' ]
819 external_net_static_ip:
820 list_join:
821 - '.'
822 - [ { get_attr: [subnets, external_net_prefix] }, '82' ]
823
824 instance_config_host: { get_attr: [cfg01_node, instance_address] }
sgudz9c5699d2019-04-11 14:16:41 +0300825 cmp001_virtual:
826 type: MCP::Compute
827 depends_on: [cfg01_node]
828 properties:
829 env_name: { get_param: env_name }
830 mcp_version: { get_param: mcp_version }
831 instance_domain: {get_param: instance_domain}
832 instance_name: cmp001
833 instance_flavor: {get_param: cmp_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300834 underlay_userdata: { get_file: ./underlay-userdata.yaml }
835 control_net_static_ip:
836 list_join:
837 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300838 - [ { get_attr: [subnets, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300839 tenant_net_static_ip:
840 list_join:
841 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300842 - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300843 external_net_static_ip:
844 list_join:
845 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300846 - [ { get_attr: [subnets, external_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300847
sgudz9c5699d2019-04-11 14:16:41 +0300848 instance_config_host: { get_attr: [cfg01_node, instance_address] }
849
850 cmp002_virtual:
851 type: MCP::Compute
852 depends_on: [cfg01_node]
853 properties:
854 env_name: { get_param: env_name }
855 mcp_version: { get_param: mcp_version }
856 instance_domain: {get_param: instance_domain}
857 instance_name: cmp002
858 instance_flavor: {get_param: cmp_flavor}
sgudz9c5699d2019-04-11 14:16:41 +0300859 underlay_userdata: { get_file: ./underlay-userdata.yaml }
860 control_net_static_ip:
861 list_join:
862 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300863 - [ { get_attr: [subnets, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300864 tenant_net_static_ip:
865 list_join:
866 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300867 - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300868 external_net_static_ip:
869 list_join:
870 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300871 - [ { get_attr: [subnets, external_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300872
sgudz9c5699d2019-04-11 14:16:41 +0300873 instance_config_host: { get_attr: [cfg01_node, instance_address] }
874
875 foundation_node:
876 type: MCP::FoundationNode
877 depends_on: [networks]
878 properties:
879 env_name: { get_param: env_name }
880 mcp_version: { get_param: mcp_version }
881 instance_domain: {get_param: instance_domain}
882 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300883 instance_image: { get_param: foundation_image }
sgudz9c5699d2019-04-11 14:16:41 +0300884 instance_flavor: {get_param: foundation_flavor}
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300885 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
886 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
887 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
888 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudz9c5699d2019-04-11 14:16:41 +0300889 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300890 management_net_static_ip:
891 list_join:
892 - '.'
893 - [ { get_attr: [subnets, management_net_prefix] }, '5' ]
sgudz9c5699d2019-04-11 14:16:41 +0300894 control_net_static_ip:
895 list_join:
896 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300897 - [ { get_attr: [subnets, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300898 tenant_net_static_ip:
899 list_join:
900 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300901 - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300902 external_net_static_ip:
903 list_join:
904 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300905 - [ { get_attr: [subnets, external_net_prefix] }, '5' ]
sgudz9c5699d2019-04-11 14:16:41 +0300906 instance_config_host: { get_attr: [cfg01_node, instance_address] }
907
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300908 vsrx_node:
909 type: MCP::VsrxNode
910 depends_on: [cfg01_node]
911 properties:
912 env_name: { get_param: env_name }
913 mcp_version: { get_param: mcp_version }
914 instance_domain: {get_param: instance_domain}
915 instance_name: vsrx
916 instance_flavor: {get_param: vsrx_flavor}
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300917 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
918 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
919 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
920 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300921 instance_image: system_vsrx-12.1X46-D20.5
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300922 control_net_static_ip:
923 list_join:
924 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300925 - [ { get_attr: [subnets, control_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300926 tenant_net_static_ip:
927 list_join:
928 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300929 - [ { get_attr: [subnets, tenant_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300930 external_net_static_ip:
931 list_join:
932 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300933 - [ { get_attr: [subnets, external_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300934 instance_config_host: { get_attr: [cfg01_node, instance_address] }
935
sgudz9c5699d2019-04-11 14:16:41 +0300936outputs:
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300937 foundation_public_ip:
sgudz9c5699d2019-04-11 14:16:41 +0300938 description: foundation node IP address (floating) from external network
939 value:
940 get_attr:
941 - foundation_node
942 - instance_floating_address
943...