blob: 81a1a842521d1d4666713e202467af4f4900d7ac [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
sgudzc9f50d12019-05-31 14:25:34 +030017 default: "10.6.0.0/24"
18 tenant_subnet_cidr:
19 type: string
20 default: "10.8.0.0/24"
21 external_subnet_cidr:
22 type: string
23 default: "192.168.200.0/24"
sgudz9c5699d2019-04-11 14:16:41 +030024 management_subnet_cidr:
25 type: string
sgudzc9f50d12019-05-31 14:25:34 +030026 default: "10.7.0.0/24"
sgudz9c5699d2019-04-11 14:16:41 +030027 management_subnet_cfg01_ip:
28 type: string
sgudzc9f50d12019-05-31 14:25:34 +030029 default: 10.7.0.15
sgudz9c5699d2019-04-11 14:16:41 +030030 management_subnet_gateway_ip:
31 type: string
sgudzc9f50d12019-05-31 14:25:34 +030032 default: 10.7.0.1
33 management_subnet_pool_start:
34 type: string
35 default: 10.7.0.20
36 management_subnet_pool_end:
37 type: string
38 default: 10.7.0.90
39 salt_master_control_ip:
40 type: string
41 default: 10.6.0.15
sgudz9c5699d2019-04-11 14:16:41 +030042
43 key_pair:
44 type: string
45
46 ctl_flavor:
47 type: string
48 cfg_flavor:
49 type: string
50 cid_flavor:
51 type: string
52 ntw_flavor:
53 type: string
54 nal_flavor:
55 type: string
56 kvm_fake_flavor:
57 type: string
58 dbs_flavor:
59 type: string
60 msg_flavor:
61 type: string
62 mon_flavor:
63 type: string
64 log_flavor:
65 type: string
66 mtr_flavor:
67 type: string
68 cmp_flavor:
69 type: string
sgudz47545942019-04-25 19:34:56 +030070 cmn_flavor:
71 type: string
72 rgw_flavor:
73 type: string
74 osd_flavor:
75 type: string
sgudz9c5699d2019-04-11 14:16:41 +030076 foundation_flavor:
77 type: string
Andrew Baraniuke8ddc242019-05-14 18:20:54 +030078 vsrx_flavor:
79 type: string
Dennis Dmitriev88e9f6d2019-05-31 07:41:40 +030080 prx_flavor:
81 type: string
sgudz9c5699d2019-04-11 14:16:41 +030082 net_public:
83 type: string
84
Dennis Dmitrievcba86122019-05-24 13:41:46 +030085 foundation_image:
86 type: string
87
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +030088 bm_availability_zone:
89 type: string
90 vm_availability_zone:
91 type: string
92
sgudz9c5699d2019-04-11 14:16:41 +030093resources:
94 networks:
95 type: MCP::Networks
96 properties:
97 stack_name: { get_param: "OS::stack_name" }
98 env_name: { get_param: env_name }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030099 subnets:
100 depends_on: [networks]
101 type: MCP::Subnets
102 properties:
103 stack_name: { get_param: "OS::stack_name" }
104 env_name: { get_param: env_name }
105 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
106 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
107 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
108 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudzc9f50d12019-05-31 14:25:34 +0300109 control_subnet_cidr: { get_param: control_subnet_cidr }
110 tenant_subnet_cidr: { get_param: tenant_subnet_cidr }
111 external_subnet_cidr: { get_param: external_subnet_cidr }
112 management_subnet_cidr: { get_param: management_subnet_cidr }
113 management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip }
114 management_subnet_pool_start: { get_param: management_subnet_pool_start }
115 management_subnet_pool_end: { get_param: management_subnet_pool_end }
sgudz9c5699d2019-04-11 14:16:41 +0300116
117 #flavors:
118 # type: MCP::Flavors
119
120 cfg01_node:
121 type: MCP::MasterNode
sgudz22628a32019-06-12 11:34:04 +0300122 depends_on: [subnets]
sgudz9c5699d2019-04-11 14:16:41 +0300123 properties:
124 env_name: { get_param: env_name }
125 mcp_version: { get_param: mcp_version }
126 cfg01_flavor: { get_param: cfg_flavor }
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300127 availability_zone: { get_param: bm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300128 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
129 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
130 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
131 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudzc9f50d12019-05-31 14:25:34 +0300132 salt_master_control_ip: { get_param: salt_master_control_ip }
133 management_subnet_cfg01_ip: { get_param: management_subnet_cfg01_ip }
sgudze6bff762019-05-23 18:15:49 +0300134 tenant_net_static_ip:
135 list_join:
136 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300137 - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ]
sgudze6bff762019-05-23 18:15:49 +0300138 external_net_static_ip:
139 list_join:
140 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300141 - [ { get_attr: [subnets, external_net_prefix] }, '15' ]
sgudz9c5699d2019-04-11 14:16:41 +0300142 instance_name: cfg01
143 instance_domain: {get_param: instance_domain}
sgudz9c5699d2019-04-11 14:16:41 +0300144
145 control_cluster:
146 type: MCP::MultipleInstance
147 depends_on: [cfg01_node]
148 properties:
149 env_name: { get_param: env_name }
150 mcp_version: { get_param: mcp_version }
151 instance_domain: {get_param: instance_domain}
152 instance01_name: ctl01
153 instance02_name: ctl02
154 instance03_name: ctl03
155 instance_flavor: {get_param: ctl_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300156 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300157 underlay_userdata: { get_file: ./underlay-userdata.yaml }
158 instance01_control_net_static_ip:
159 list_join:
160 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300161 - [ { get_attr: [subnets, control_net_prefix] }, '11' ]
sgudz9c5699d2019-04-11 14:16:41 +0300162 instance02_control_net_static_ip:
163 list_join:
164 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300165 - [ { get_attr: [subnets, control_net_prefix] }, '12' ]
sgudz9c5699d2019-04-11 14:16:41 +0300166 instance03_control_net_static_ip:
167 list_join:
168 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300169 - [ { get_attr: [subnets, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300170 instance01_tenant_net_static_ip:
171 list_join:
172 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300173 - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300174 instance02_tenant_net_static_ip:
175 list_join:
176 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300177 - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300178 instance03_tenant_net_static_ip:
179 list_join:
180 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300181 - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300182 instance01_external_net_static_ip:
183 list_join:
184 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300185 - [ { get_attr: [subnets, external_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300186 instance02_external_net_static_ip:
187 list_join:
188 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300189 - [ { get_attr: [subnets, external_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300190 instance03_external_net_static_ip:
191 list_join:
192 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300193 - [ { get_attr: [subnets, external_net_prefix] }, '13' ]
sgudz9c5699d2019-04-11 14:16:41 +0300194
195 instance_config_host: { get_attr: [cfg01_node, instance_address] }
196
197 openstack_database_cluster:
198 type: MCP::MultipleInstance
199 depends_on: [control_cluster]
200 properties:
201 env_name: { get_param: env_name }
202 mcp_version: { get_param: mcp_version }
203 instance_domain: {get_param: instance_domain}
204 instance01_name: dbs01
205 instance02_name: dbs02
206 instance03_name: dbs03
207 instance_flavor: {get_param: dbs_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300208 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300209 underlay_userdata: { get_file: ./underlay-userdata.yaml }
210 instance01_control_net_static_ip:
211 list_join:
212 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300213 - [ { get_attr: [subnets, control_net_prefix] }, '51' ]
sgudz9c5699d2019-04-11 14:16:41 +0300214 instance02_control_net_static_ip:
215 list_join:
216 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300217 - [ { get_attr: [subnets, control_net_prefix] }, '52' ]
sgudz9c5699d2019-04-11 14:16:41 +0300218 instance03_control_net_static_ip:
219 list_join:
220 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300221 - [ { get_attr: [subnets, control_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300222 instance01_tenant_net_static_ip:
223 list_join:
224 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300225 - [ { get_attr: [subnets, tenant_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300226 instance02_tenant_net_static_ip:
227 list_join:
228 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300229 - [ { get_attr: [subnets, tenant_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300230 instance03_tenant_net_static_ip:
231 list_join:
232 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300233 - [ { get_attr: [subnets, tenant_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300234 instance01_external_net_static_ip:
235 list_join:
236 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300237 - [ { get_attr: [subnets, external_net_prefix] }, '51' ]
sgudze6bff762019-05-23 18:15:49 +0300238 instance02_external_net_static_ip:
239 list_join:
240 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300241 - [ { get_attr: [subnets, external_net_prefix] }, '52' ]
sgudze6bff762019-05-23 18:15:49 +0300242 instance03_external_net_static_ip:
243 list_join:
244 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300245 - [ { get_attr: [subnets, external_net_prefix] }, '53' ]
sgudze6bff762019-05-23 18:15:49 +0300246
sgudz9c5699d2019-04-11 14:16:41 +0300247 instance_config_host: { get_attr: [cfg01_node, instance_address] }
248
249 fake_kvm_cluster:
250 type: MCP::MultipleInstance
251 depends_on: [cfg01_node]
252 properties:
253 env_name: { get_param: env_name }
254 mcp_version: { get_param: mcp_version }
255 instance_domain: {get_param: instance_domain}
256 instance01_name: kvm01
257 instance02_name: kvm02
258 instance03_name: kvm03
259 instance_flavor: {get_param: kvm_fake_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300260 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300261 underlay_userdata: { get_file: ./underlay-userdata.yaml }
262 instance01_control_net_static_ip:
263 list_join:
264 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300265 - [ { get_attr: [subnets, control_net_prefix] }, '241' ]
sgudz9c5699d2019-04-11 14:16:41 +0300266 instance02_control_net_static_ip:
267 list_join:
268 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300269 - [ { get_attr: [subnets, control_net_prefix] }, '242' ]
sgudz9c5699d2019-04-11 14:16:41 +0300270 instance03_control_net_static_ip:
271 list_join:
272 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300273 - [ { get_attr: [subnets, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300274 instance01_tenant_net_static_ip:
275 list_join:
276 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300277 - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300278 instance02_tenant_net_static_ip:
279 list_join:
280 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300281 - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300282 instance03_tenant_net_static_ip:
283 list_join:
284 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300285 - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300286 instance01_external_net_static_ip:
287 list_join:
288 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300289 - [ { get_attr: [subnets, external_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300290 instance02_external_net_static_ip:
291 list_join:
292 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300293 - [ { get_attr: [subnets, external_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300294 instance03_external_net_static_ip:
295 list_join:
296 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300297 - [ { get_attr: [subnets, external_net_prefix] }, '243' ]
sgudz9c5699d2019-04-11 14:16:41 +0300298
299 instance_config_host: { get_attr: [cfg01_node, instance_address] }
300
301 openstack_message_queue_cluster:
302 type: MCP::MultipleInstance
303 depends_on: [openstack_database_cluster]
304 properties:
305 env_name: { get_param: env_name }
306 mcp_version: { get_param: mcp_version }
307 instance_domain: {get_param: instance_domain}
308 instance01_name: msg01
309 instance02_name: msg02
310 instance03_name: msg03
311 instance_flavor: {get_param: msg_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300312 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300313 underlay_userdata: { get_file: ./underlay-userdata.yaml }
314 instance01_control_net_static_ip:
315 list_join:
316 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300317 - [ { get_attr: [subnets, control_net_prefix] }, '41' ]
sgudz9c5699d2019-04-11 14:16:41 +0300318 instance02_control_net_static_ip:
319 list_join:
320 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300321 - [ { get_attr: [subnets, control_net_prefix] }, '42' ]
sgudz9c5699d2019-04-11 14:16:41 +0300322 instance03_control_net_static_ip:
323 list_join:
324 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300325 - [ { get_attr: [subnets, control_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300326 instance01_tenant_net_static_ip:
327 list_join:
328 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300329 - [ { get_attr: [subnets, tenant_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300330 instance02_tenant_net_static_ip:
331 list_join:
332 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300333 - [ { get_attr: [subnets, tenant_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300334 instance03_tenant_net_static_ip:
335 list_join:
336 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300337 - [ { get_attr: [subnets, tenant_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300338 instance01_external_net_static_ip:
339 list_join:
340 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300341 - [ { get_attr: [subnets, external_net_prefix] }, '41' ]
sgudze6bff762019-05-23 18:15:49 +0300342 instance02_external_net_static_ip:
343 list_join:
344 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300345 - [ { get_attr: [subnets, external_net_prefix] }, '42' ]
sgudze6bff762019-05-23 18:15:49 +0300346 instance03_external_net_static_ip:
347 list_join:
348 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300349 - [ { get_attr: [subnets, external_net_prefix] }, '43' ]
sgudze6bff762019-05-23 18:15:49 +0300350
sgudz9c5699d2019-04-11 14:16:41 +0300351 instance_config_host: { get_attr: [cfg01_node, instance_address] }
352
353 cicd_cluster:
354 type: MCP::MultipleInstance
355 depends_on: [cfg01_node]
356 properties:
357 env_name: { get_param: env_name }
358 mcp_version: { get_param: mcp_version }
359 instance_domain: {get_param: instance_domain}
360 instance01_name: cid01
361 instance02_name: cid02
362 instance03_name: cid03
363 instance_flavor: {get_param: cid_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300364 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300365 underlay_userdata: { get_file: ./underlay-userdata.yaml }
366 instance01_control_net_static_ip:
367 list_join:
368 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300369 - [ { get_attr: [subnets, control_net_prefix] }, '91' ]
sgudz9c5699d2019-04-11 14:16:41 +0300370 instance02_control_net_static_ip:
371 list_join:
372 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300373 - [ { get_attr: [subnets, control_net_prefix] }, '92' ]
sgudz9c5699d2019-04-11 14:16:41 +0300374 instance03_control_net_static_ip:
375 list_join:
376 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300377 - [ { get_attr: [subnets, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300378 instance01_tenant_net_static_ip:
379 list_join:
380 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300381 - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300382 instance02_tenant_net_static_ip:
383 list_join:
384 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300385 - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300386 instance03_tenant_net_static_ip:
387 list_join:
388 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300389 - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300390 instance01_external_net_static_ip:
391 list_join:
392 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300393 - [ { get_attr: [subnets, external_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300394 instance02_external_net_static_ip:
395 list_join:
396 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300397 - [ { get_attr: [subnets, external_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300398 instance03_external_net_static_ip:
399 list_join:
400 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300401 - [ { get_attr: [subnets, external_net_prefix] }, '93' ]
sgudz9c5699d2019-04-11 14:16:41 +0300402
403 instance_config_host: { get_attr: [cfg01_node, instance_address] }
404
405 contrail_ntw_cluster:
406 type: MCP::MultipleInstance
407 depends_on: [openstack_message_queue_cluster]
408 properties:
409 env_name: { get_param: env_name }
410 mcp_version: { get_param: mcp_version }
411 instance_domain: {get_param: instance_domain}
412 instance01_name: ntw01
413 instance02_name: ntw02
414 instance03_name: ntw03
415 instance_flavor: {get_param: ntw_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300416 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300417 underlay_userdata: { get_file: ./underlay-userdata.yaml }
418 instance01_control_net_static_ip:
419 list_join:
420 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300421 - [ { get_attr: [subnets, control_net_prefix] }, '21' ]
sgudz9c5699d2019-04-11 14:16:41 +0300422 instance02_control_net_static_ip:
423 list_join:
424 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300425 - [ { get_attr: [subnets, control_net_prefix] }, '22' ]
sgudz9c5699d2019-04-11 14:16:41 +0300426 instance03_control_net_static_ip:
427 list_join:
428 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300429 - [ { get_attr: [subnets, control_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300430 instance01_tenant_net_static_ip:
431 list_join:
432 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300433 - [ { get_attr: [subnets, tenant_net_prefix] }, '21' ]
sgudze6bff762019-05-23 18:15:49 +0300434 instance02_tenant_net_static_ip:
435 list_join:
436 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300437 - [ { get_attr: [subnets, tenant_net_prefix] }, '22' ]
sgudze6bff762019-05-23 18:15:49 +0300438 instance03_tenant_net_static_ip:
439 list_join:
440 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300441 - [ { get_attr: [subnets, tenant_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300442 instance01_external_net_static_ip:
443 list_join:
444 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300445 - [ { get_attr: [subnets, external_net_prefix] }, '21' ]
sgudze6bff762019-05-23 18:15:49 +0300446 instance02_external_net_static_ip:
447 list_join:
448 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300449 - [ { get_attr: [subnets, external_net_prefix] }, '22' ]
sgudze6bff762019-05-23 18:15:49 +0300450 instance03_external_net_static_ip:
451 list_join:
452 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300453 - [ { get_attr: [subnets, external_net_prefix] }, '23' ]
sgudze6bff762019-05-23 18:15:49 +0300454
sgudz9c5699d2019-04-11 14:16:41 +0300455 instance_config_host: { get_attr: [cfg01_node, instance_address] }
456
457 contrail_nal_cluster:
458 type: MCP::MultipleInstance
459 depends_on: [contrail_ntw_cluster]
460 properties:
461 env_name: { get_param: env_name }
462 mcp_version: { get_param: mcp_version }
463 instance_domain: {get_param: instance_domain}
464 instance01_name: nal01
465 instance02_name: nal02
466 instance03_name: nal03
467 instance_flavor: {get_param: nal_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300468 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300469 underlay_userdata: { get_file: ./underlay-userdata.yaml }
470 instance01_control_net_static_ip:
471 list_join:
472 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300473 - [ { get_attr: [subnets, control_net_prefix] }, '31' ]
sgudz9c5699d2019-04-11 14:16:41 +0300474 instance02_control_net_static_ip:
475 list_join:
476 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300477 - [ { get_attr: [subnets, control_net_prefix] }, '32' ]
sgudz9c5699d2019-04-11 14:16:41 +0300478 instance03_control_net_static_ip:
479 list_join:
480 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300481 - [ { get_attr: [subnets, control_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300482 instance01_tenant_net_static_ip:
483 list_join:
484 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300485 - [ { get_attr: [subnets, tenant_net_prefix] }, '31' ]
sgudze6bff762019-05-23 18:15:49 +0300486 instance02_tenant_net_static_ip:
487 list_join:
488 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300489 - [ { get_attr: [subnets, tenant_net_prefix] }, '32' ]
sgudze6bff762019-05-23 18:15:49 +0300490 instance03_tenant_net_static_ip:
491 list_join:
492 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300493 - [ { get_attr: [subnets, tenant_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300494 instance01_external_net_static_ip:
495 list_join:
496 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300497 - [ { get_attr: [subnets, external_net_prefix] }, '31' ]
sgudze6bff762019-05-23 18:15:49 +0300498 instance02_external_net_static_ip:
499 list_join:
500 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300501 - [ { get_attr: [subnets, external_net_prefix] }, '32' ]
sgudze6bff762019-05-23 18:15:49 +0300502 instance03_external_net_static_ip:
503 list_join:
504 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300505 - [ { get_attr: [subnets, external_net_prefix] }, '33' ]
sgudze6bff762019-05-23 18:15:49 +0300506
sgudz9c5699d2019-04-11 14:16:41 +0300507 instance_config_host: { get_attr: [cfg01_node, instance_address] }
508
509 stacklight_monitor_cluster:
510 type: MCP::MultipleInstance
511 depends_on: [openstack_message_queue_cluster]
512 properties:
513 env_name: { get_param: env_name }
514 mcp_version: { get_param: mcp_version }
515 instance_domain: {get_param: instance_domain}
516 instance01_name: mon01
517 instance02_name: mon02
518 instance03_name: mon03
519 instance_flavor: {get_param: mon_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300520 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300521 underlay_userdata: { get_file: ./underlay-userdata.yaml }
522 instance01_control_net_static_ip:
523 list_join:
524 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300525 - [ { get_attr: [subnets, control_net_prefix] }, '71' ]
sgudz9c5699d2019-04-11 14:16:41 +0300526 instance02_control_net_static_ip:
527 list_join:
528 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300529 - [ { get_attr: [subnets, control_net_prefix] }, '72' ]
sgudz9c5699d2019-04-11 14:16:41 +0300530 instance03_control_net_static_ip:
531 list_join:
532 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300533 - [ { get_attr: [subnets, control_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300534 instance01_tenant_net_static_ip:
535 list_join:
536 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300537 - [ { get_attr: [subnets, tenant_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300538 instance02_tenant_net_static_ip:
539 list_join:
540 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300541 - [ { get_attr: [subnets, tenant_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300542 instance03_tenant_net_static_ip:
543 list_join:
544 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300545 - [ { get_attr: [subnets, tenant_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300546 instance01_external_net_static_ip:
547 list_join:
548 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300549 - [ { get_attr: [subnets, external_net_prefix] }, '71' ]
sgudze6bff762019-05-23 18:15:49 +0300550 instance02_external_net_static_ip:
551 list_join:
552 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300553 - [ { get_attr: [subnets, external_net_prefix] }, '72' ]
sgudze6bff762019-05-23 18:15:49 +0300554 instance03_external_net_static_ip:
555 list_join:
556 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300557 - [ { get_attr: [subnets, external_net_prefix] }, '73' ]
sgudze6bff762019-05-23 18:15:49 +0300558
sgudz9c5699d2019-04-11 14:16:41 +0300559 instance_config_host: { get_attr: [cfg01_node, instance_address] }
560
561 stacklight_log_cluster:
562 type: MCP::MultipleInstance
563 depends_on: [stacklight_monitor_cluster]
564 properties:
565 env_name: { get_param: env_name }
566 mcp_version: { get_param: mcp_version }
567 instance_domain: {get_param: instance_domain}
568 instance01_name: log01
569 instance02_name: log02
570 instance03_name: log03
571 instance_flavor: {get_param: log_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300572 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300573 underlay_userdata: { get_file: ./underlay-userdata.yaml }
574 instance01_control_net_static_ip:
575 list_join:
576 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300577 - [ { get_attr: [subnets, control_net_prefix] }, '61' ]
sgudz9c5699d2019-04-11 14:16:41 +0300578 instance02_control_net_static_ip:
579 list_join:
580 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300581 - [ { get_attr: [subnets, control_net_prefix] }, '62' ]
sgudz9c5699d2019-04-11 14:16:41 +0300582 instance03_control_net_static_ip:
583 list_join:
584 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300585 - [ { get_attr: [subnets, control_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300586 instance01_tenant_net_static_ip:
587 list_join:
588 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300589 - [ { get_attr: [subnets, tenant_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300590 instance02_tenant_net_static_ip:
591 list_join:
592 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300593 - [ { get_attr: [subnets, tenant_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300594 instance03_tenant_net_static_ip:
595 list_join:
596 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300597 - [ { get_attr: [subnets, tenant_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300598 instance01_external_net_static_ip:
599 list_join:
600 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300601 - [ { get_attr: [subnets, external_net_prefix] }, '61' ]
sgudze6bff762019-05-23 18:15:49 +0300602 instance02_external_net_static_ip:
603 list_join:
604 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300605 - [ { get_attr: [subnets, external_net_prefix] }, '62' ]
sgudze6bff762019-05-23 18:15:49 +0300606 instance03_external_net_static_ip:
607 list_join:
608 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300609 - [ { get_attr: [subnets, external_net_prefix] }, '63' ]
sgudze6bff762019-05-23 18:15:49 +0300610
sgudz9c5699d2019-04-11 14:16:41 +0300611 instance_config_host: { get_attr: [cfg01_node, instance_address] }
612
613 stacklight_mtr_cluster:
614 type: MCP::MultipleInstance
615 depends_on: [stacklight_log_cluster]
616 properties:
617 env_name: { get_param: env_name }
618 mcp_version: { get_param: mcp_version }
619 instance_domain: {get_param: instance_domain}
620 instance01_name: mtr01
621 instance02_name: mtr02
622 instance03_name: mtr03
623 instance_flavor: {get_param: mtr_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300624 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300625 underlay_userdata: { get_file: ./underlay-userdata.yaml }
626 instance01_control_net_static_ip:
627 list_join:
628 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300629 - [ { get_attr: [subnets, control_net_prefix] }, '86' ]
sgudz9c5699d2019-04-11 14:16:41 +0300630 instance02_control_net_static_ip:
631 list_join:
632 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300633 - [ { get_attr: [subnets, control_net_prefix] }, '87' ]
sgudz9c5699d2019-04-11 14:16:41 +0300634 instance03_control_net_static_ip:
635 list_join:
636 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300637 - [ { get_attr: [subnets, control_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300638 instance01_tenant_net_static_ip:
639 list_join:
640 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300641 - [ { get_attr: [subnets, tenant_net_prefix] }, '86' ]
sgudze6bff762019-05-23 18:15:49 +0300642 instance02_tenant_net_static_ip:
643 list_join:
644 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300645 - [ { get_attr: [subnets, tenant_net_prefix] }, '87' ]
sgudze6bff762019-05-23 18:15:49 +0300646 instance03_tenant_net_static_ip:
647 list_join:
648 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300649 - [ { get_attr: [subnets, tenant_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300650 instance01_external_net_static_ip:
651 list_join:
652 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300653 - [ { get_attr: [subnets, external_net_prefix] }, '86' ]
sgudze6bff762019-05-23 18:15:49 +0300654 instance02_external_net_static_ip:
655 list_join:
656 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300657 - [ { get_attr: [subnets, external_net_prefix] }, '87' ]
sgudze6bff762019-05-23 18:15:49 +0300658 instance03_external_net_static_ip:
659 list_join:
660 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300661 - [ { get_attr: [subnets, external_net_prefix] }, '88' ]
sgudze6bff762019-05-23 18:15:49 +0300662
sgudz9c5699d2019-04-11 14:16:41 +0300663 instance_config_host: { get_attr: [cfg01_node, instance_address] }
664
sgudz47545942019-04-25 19:34:56 +0300665 ceph_cmn_cluster:
666 type: MCP::MultipleInstance
667 depends_on: [cfg01_node]
668 properties:
669 env_name: { get_param: env_name }
670 mcp_version: { get_param: mcp_version }
671 instance_domain: {get_param: instance_domain}
672 instance01_name: cmn01
673 instance02_name: cmn02
674 instance03_name: cmn03
675 instance_flavor: {get_param: cmn_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300676 availability_zone: { get_param: vm_availability_zone }
sgudz47545942019-04-25 19:34:56 +0300677 underlay_userdata: { get_file: ./underlay-userdata.yaml }
678 instance01_control_net_static_ip:
679 list_join:
680 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300681 - [ { get_attr: [subnets, control_net_prefix] }, '66' ]
sgudz47545942019-04-25 19:34:56 +0300682 instance02_control_net_static_ip:
683 list_join:
684 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300685 - [ { get_attr: [subnets, control_net_prefix] }, '67' ]
sgudz47545942019-04-25 19:34:56 +0300686 instance03_control_net_static_ip:
687 list_join:
688 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300689 - [ { get_attr: [subnets, control_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300690 instance01_tenant_net_static_ip:
691 list_join:
692 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300693 - [ { get_attr: [subnets, tenant_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300694 instance02_tenant_net_static_ip:
695 list_join:
696 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300697 - [ { get_attr: [subnets, tenant_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300698 instance03_tenant_net_static_ip:
699 list_join:
700 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300701 - [ { get_attr: [subnets, tenant_net_prefix] }, '68' ]
sgudze6bff762019-05-23 18:15:49 +0300702 instance01_external_net_static_ip:
703 list_join:
704 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300705 - [ { get_attr: [subnets, external_net_prefix] }, '66' ]
sgudze6bff762019-05-23 18:15:49 +0300706 instance02_external_net_static_ip:
707 list_join:
708 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300709 - [ { get_attr: [subnets, external_net_prefix] }, '67' ]
sgudze6bff762019-05-23 18:15:49 +0300710 instance03_external_net_static_ip:
711 list_join:
712 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300713 - [ { get_attr: [subnets, external_net_prefix] }, '68' ]
sgudz47545942019-04-25 19:34:56 +0300714 instance_config_host: { get_attr: [cfg01_node, instance_address] }
715
716 ceph_rgw_cluster:
717 type: MCP::MultipleInstance
718 depends_on: [cfg01_node]
719 properties:
720 env_name: { get_param: env_name }
721 mcp_version: { get_param: mcp_version }
722 instance_domain: {get_param: instance_domain}
723 instance01_name: rgw01
724 instance02_name: rgw02
725 instance03_name: rgw03
726 instance_flavor: {get_param: rgw_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300727 availability_zone: { get_param: vm_availability_zone }
sgudz47545942019-04-25 19:34:56 +0300728 underlay_userdata: { get_file: ./underlay-userdata.yaml }
729 instance01_control_net_static_ip:
730 list_join:
731 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300732 - [ { get_attr: [subnets, control_net_prefix] }, '76' ]
sgudz47545942019-04-25 19:34:56 +0300733 instance02_control_net_static_ip:
734 list_join:
735 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300736 - [ { get_attr: [subnets, control_net_prefix] }, '77' ]
sgudz47545942019-04-25 19:34:56 +0300737 instance03_control_net_static_ip:
738 list_join:
739 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300740 - [ { get_attr: [subnets, control_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300741 instance01_tenant_net_static_ip:
742 list_join:
743 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300744 - [ { get_attr: [subnets, tenant_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300745 instance02_tenant_net_static_ip:
746 list_join:
747 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300748 - [ { get_attr: [subnets, tenant_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300749 instance03_tenant_net_static_ip:
750 list_join:
751 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300752 - [ { get_attr: [subnets, tenant_net_prefix] }, '78' ]
sgudze6bff762019-05-23 18:15:49 +0300753 instance01_external_net_static_ip:
754 list_join:
755 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300756 - [ { get_attr: [subnets, external_net_prefix] }, '76' ]
sgudze6bff762019-05-23 18:15:49 +0300757 instance02_external_net_static_ip:
758 list_join:
759 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300760 - [ { get_attr: [subnets, external_net_prefix] }, '77' ]
sgudze6bff762019-05-23 18:15:49 +0300761 instance03_external_net_static_ip:
762 list_join:
763 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300764 - [ { get_attr: [subnets, external_net_prefix] }, '78' ]
sgudz47545942019-04-25 19:34:56 +0300765 instance_config_host: { get_attr: [cfg01_node, instance_address] }
766
767 ceph_osd_cluster:
768 type: MCP::MultipleInstance
769 depends_on: [cfg01_node]
770 properties:
771 env_name: { get_param: env_name }
772 mcp_version: { get_param: mcp_version }
773 instance_domain: {get_param: instance_domain}
774 instance01_name: osd001
775 instance02_name: osd002
776 instance03_name: osd003
777 instance_flavor: {get_param: osd_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300778 availability_zone: { get_param: vm_availability_zone }
sgudz47545942019-04-25 19:34:56 +0300779 underlay_userdata: { get_file: ./underlay-userdata.yaml }
780 instance01_control_net_static_ip:
781 list_join:
782 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300783 - [ { get_attr: [subnets, control_net_prefix] }, '201' ]
sgudz47545942019-04-25 19:34:56 +0300784 instance02_control_net_static_ip:
785 list_join:
786 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300787 - [ { get_attr: [subnets, control_net_prefix] }, '202' ]
sgudz47545942019-04-25 19:34:56 +0300788 instance03_control_net_static_ip:
789 list_join:
790 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300791 - [ { get_attr: [subnets, control_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300792 instance01_tenant_net_static_ip:
793 list_join:
794 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300795 - [ { get_attr: [subnets, tenant_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300796 instance02_tenant_net_static_ip:
797 list_join:
798 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300799 - [ { get_attr: [subnets, tenant_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300800 instance03_tenant_net_static_ip:
801 list_join:
802 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300803 - [ { get_attr: [subnets, tenant_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300804 instance01_external_net_static_ip:
805 list_join:
806 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300807 - [ { get_attr: [subnets, external_net_prefix] }, '201' ]
sgudze6bff762019-05-23 18:15:49 +0300808 instance02_external_net_static_ip:
809 list_join:
810 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300811 - [ { get_attr: [subnets, external_net_prefix] }, '202' ]
sgudze6bff762019-05-23 18:15:49 +0300812 instance03_external_net_static_ip:
813 list_join:
814 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300815 - [ { get_attr: [subnets, external_net_prefix] }, '203' ]
sgudze6bff762019-05-23 18:15:49 +0300816
sgudz47545942019-04-25 19:34:56 +0300817 instance_config_host: { get_attr: [cfg01_node, instance_address] }
818
sgudz9c5699d2019-04-11 14:16:41 +0300819 prx01_virtual:
820 type: MCP::SingleInstance
821 depends_on: [control_cluster]
822 properties:
823 env_name: { get_param: env_name }
824 mcp_version: { get_param: mcp_version }
825 instance_domain: {get_param: instance_domain}
826 instance_name: prx01
Oleksii Butenko5aa4b6c2019-05-30 13:52:05 +0300827 instance_flavor: {get_param: prx_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300828 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300829 underlay_userdata: { get_file: ./underlay-userdata.yaml }
830 control_net_static_ip:
831 list_join:
832 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300833 - [ { get_attr: [subnets, control_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300834 tenant_net_static_ip:
835 list_join:
836 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300837 - [ { get_attr: [subnets, tenant_net_prefix] }, '81' ]
sgudze6bff762019-05-23 18:15:49 +0300838 external_net_static_ip:
839 list_join:
840 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300841 - [ { get_attr: [subnets, external_net_prefix] }, '81' ]
sgudz9c5699d2019-04-11 14:16:41 +0300842
843 instance_config_host: { get_attr: [cfg01_node, instance_address] }
844
Oleksii Butenko5aa4b6c2019-05-30 13:52:05 +0300845 prx02_virtual:
846 type: MCP::SingleInstance
847 depends_on: [control_cluster]
848 properties:
849 env_name: { get_param: env_name }
850 mcp_version: { get_param: mcp_version }
851 instance_domain: {get_param: instance_domain}
852 instance_name: prx02
853 instance_flavor: {get_param: prx_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300854 availability_zone: { get_param: vm_availability_zone }
Oleksii Butenko5aa4b6c2019-05-30 13:52:05 +0300855 underlay_userdata: { get_file: ./underlay-userdata.yaml }
856 control_net_static_ip:
857 list_join:
858 - '.'
859 - [ { get_attr: [subnets, control_net_prefix] }, '82' ]
860 tenant_net_static_ip:
861 list_join:
862 - '.'
863 - [ { get_attr: [subnets, tenant_net_prefix] }, '82' ]
864 external_net_static_ip:
865 list_join:
866 - '.'
867 - [ { get_attr: [subnets, external_net_prefix] }, '82' ]
868
869 instance_config_host: { get_attr: [cfg01_node, instance_address] }
sgudz9c5699d2019-04-11 14:16:41 +0300870 cmp001_virtual:
871 type: MCP::Compute
872 depends_on: [cfg01_node]
873 properties:
874 env_name: { get_param: env_name }
875 mcp_version: { get_param: mcp_version }
876 instance_domain: {get_param: instance_domain}
877 instance_name: cmp001
878 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300879 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300880 underlay_userdata: { get_file: ./underlay-userdata.yaml }
881 control_net_static_ip:
882 list_join:
883 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300884 - [ { get_attr: [subnets, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300885 tenant_net_static_ip:
886 list_join:
887 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300888 - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300889 external_net_static_ip:
890 list_join:
891 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300892 - [ { get_attr: [subnets, external_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300893
sgudz9c5699d2019-04-11 14:16:41 +0300894 instance_config_host: { get_attr: [cfg01_node, instance_address] }
895
896 cmp002_virtual:
897 type: MCP::Compute
898 depends_on: [cfg01_node]
899 properties:
900 env_name: { get_param: env_name }
901 mcp_version: { get_param: mcp_version }
902 instance_domain: {get_param: instance_domain}
903 instance_name: cmp002
904 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300905 availability_zone: { get_param: vm_availability_zone }
sgudz9c5699d2019-04-11 14:16:41 +0300906 underlay_userdata: { get_file: ./underlay-userdata.yaml }
907 control_net_static_ip:
908 list_join:
909 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300910 - [ { get_attr: [subnets, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300911 tenant_net_static_ip:
912 list_join:
913 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300914 - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300915 external_net_static_ip:
916 list_join:
917 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300918 - [ { get_attr: [subnets, external_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300919
sgudz9c5699d2019-04-11 14:16:41 +0300920 instance_config_host: { get_attr: [cfg01_node, instance_address] }
921
922 foundation_node:
923 type: MCP::FoundationNode
sgudz22628a32019-06-12 11:34:04 +0300924 depends_on: [subnets]
sgudz9c5699d2019-04-11 14:16:41 +0300925 properties:
926 env_name: { get_param: env_name }
927 mcp_version: { get_param: mcp_version }
928 instance_domain: {get_param: instance_domain}
929 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300930 instance_image: { get_param: foundation_image }
sgudz9c5699d2019-04-11 14:16:41 +0300931 instance_flavor: {get_param: foundation_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300932 availability_zone: { get_param: bm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300933 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
934 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
935 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
936 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudzc9f50d12019-05-31 14:25:34 +0300937 management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip }
sgudz9c5699d2019-04-11 14:16:41 +0300938 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300939 management_net_static_ip:
940 list_join:
941 - '.'
942 - [ { get_attr: [subnets, management_net_prefix] }, '5' ]
sgudz9c5699d2019-04-11 14:16:41 +0300943 control_net_static_ip:
944 list_join:
945 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300946 - [ { get_attr: [subnets, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300947 tenant_net_static_ip:
948 list_join:
949 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300950 - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300951 external_net_static_ip:
952 list_join:
953 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300954 - [ { get_attr: [subnets, external_net_prefix] }, '5' ]
sgudz9c5699d2019-04-11 14:16:41 +0300955 instance_config_host: { get_attr: [cfg01_node, instance_address] }
956
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300957 vsrx_node:
958 type: MCP::VsrxNode
959 depends_on: [cfg01_node]
960 properties:
961 env_name: { get_param: env_name }
962 mcp_version: { get_param: mcp_version }
963 instance_domain: {get_param: instance_domain}
964 instance_name: vsrx
965 instance_flavor: {get_param: vsrx_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300966 availability_zone: { get_param: vm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300967 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
968 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
969 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
970 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300971 instance_image: system_vsrx-12.1X46-D20.5
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300972 control_net_static_ip:
973 list_join:
974 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300975 - [ { get_attr: [subnets, control_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300976 tenant_net_static_ip:
977 list_join:
978 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300979 - [ { get_attr: [subnets, tenant_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300980 external_net_static_ip:
981 list_join:
982 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300983 - [ { get_attr: [subnets, external_net_prefix] }, '220' ]
Andrew Baraniuke8ddc242019-05-14 18:20:54 +0300984 instance_config_host: { get_attr: [cfg01_node, instance_address] }
985
sgudz9c5699d2019-04-11 14:16:41 +0300986outputs:
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300987 foundation_public_ip:
sgudz9c5699d2019-04-11 14:16:41 +0300988 description: foundation node IP address (floating) from external network
989 value:
990 get_attr:
991 - foundation_node
992 - instance_floating_address
993...