blob: f05b7c6c0fe7e33d471665bc3b74ba44af022185 [file] [log] [blame]
sgudzb8819722019-05-16 22:34:31 +03001---
2
3heat_template_version: queens
4
5description: MCP environment for heat-cicd-k8s-genie
6
7parameters:
8 instance_domain:
9 type: string
10 default: heat-cicd-k8s-genie.local
11 mcp_version:
12 type: string
13 env_name:
14 type: string
15 control_subnet_cidr:
16 type: string
17 management_subnet_cidr:
18 type: string
19 management_subnet_pool_start:
20 type: string
21 management_subnet_pool_end:
22 type: string
23 management_subnet_cfg01_ip:
24 type: string
25 management_subnet_gateway_ip:
26 type: string
27
28 key_pair:
29 type: string
30
31 ctl_flavor:
32 type: string
33 cfg_flavor:
34 type: string
35 cid_flavor:
36 type: string
37 kvm_fake_flavor:
38 type: string
39 mon_flavor:
40 type: string
41 log_flavor:
42 type: string
43 mtr_flavor:
44 type: string
45 cmp_flavor:
46 type: string
47 foundation_flavor:
48 type: string
49
50 net_public:
51 type: string
52
Dennis Dmitrievcba86122019-05-24 13:41:46 +030053 foundation_image:
54 type: string
55
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +030056 bm_availability_zone:
57 type: string
58 vm_availability_zone:
59 type: string
60
sgudzb8819722019-05-16 22:34:31 +030061resources:
62 networks:
63 type: MCP::Networks
64 properties:
65 stack_name: { get_param: "OS::stack_name" }
66 env_name: { get_param: env_name }
67
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030068 subnets:
69 depends_on: [networks]
70 type: MCP::Subnets
71 properties:
72 stack_name: { get_param: "OS::stack_name" }
73 env_name: { get_param: env_name }
74 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
75 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
76 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
77 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
78
sgudzb8819722019-05-16 22:34:31 +030079 #flavors:
80 # type: MCP::Flavors
81
82 cfg01_node:
83 type: MCP::MasterNode
84 depends_on: [networks]
85 properties:
86 env_name: { get_param: env_name }
87 mcp_version: { get_param: mcp_version }
88 cfg01_flavor: { get_param: cfg_flavor }
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +030089 availability_zone: { get_param: bm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030090 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
91 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
92 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
93 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudze6bff762019-05-23 18:15:49 +030094 tenant_net_static_ip:
95 list_join:
96 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +030097 - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ]
sgudze6bff762019-05-23 18:15:49 +030098 external_net_static_ip:
99 list_join:
100 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300101 - [ { get_attr: [subnets, external_net_prefix] }, '15' ]
sgudzb8819722019-05-16 22:34:31 +0300102 instance_name: cfg01
103 instance_domain: {get_param: instance_domain}
sgudzb8819722019-05-16 22:34:31 +0300104
105 control_cluster:
106 type: MCP::MultipleInstance
107 depends_on: [cfg01_node]
108 properties:
109 env_name: { get_param: env_name }
110 mcp_version: { get_param: mcp_version }
111 instance_domain: {get_param: instance_domain}
112 instance01_name: ctl01
113 instance02_name: ctl02
114 instance03_name: ctl03
115 instance01_role: [k8s_controller]
116 instance_flavor: {get_param: ctl_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300117 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300118 underlay_userdata: { get_file: ./underlay-userdata.yaml }
119 instance01_control_net_static_ip:
120 list_join:
121 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300122 - [ { get_attr: [subnets, control_net_prefix] }, '11' ]
sgudzb8819722019-05-16 22:34:31 +0300123 instance02_control_net_static_ip:
124 list_join:
125 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300126 - [ { get_attr: [subnets, control_net_prefix] }, '12' ]
sgudzb8819722019-05-16 22:34:31 +0300127 instance03_control_net_static_ip:
128 list_join:
129 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300130 - [ { get_attr: [subnets, control_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300131 instance01_tenant_net_static_ip:
132 list_join:
133 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300134 - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300135 instance02_tenant_net_static_ip:
136 list_join:
137 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300138 - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300139 instance03_tenant_net_static_ip:
140 list_join:
141 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300142 - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ]
sgudze6bff762019-05-23 18:15:49 +0300143 instance01_external_net_static_ip:
144 list_join:
145 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300146 - [ { get_attr: [subnets, external_net_prefix] }, '11' ]
sgudze6bff762019-05-23 18:15:49 +0300147 instance02_external_net_static_ip:
148 list_join:
149 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300150 - [ { get_attr: [subnets, external_net_prefix] }, '12' ]
sgudze6bff762019-05-23 18:15:49 +0300151 instance03_external_net_static_ip:
152 list_join:
153 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300154 - [ { get_attr: [subnets, external_net_prefix] }, '13' ]
sgudzb8819722019-05-16 22:34:31 +0300155
156 instance_config_host: { get_attr: [cfg01_node, instance_address] }
157
158 fake_kvm_cluster:
159 type: MCP::MultipleInstance
160 depends_on: [control_cluster]
161 properties:
162 env_name: { get_param: env_name }
163 mcp_version: { get_param: mcp_version }
164 instance_domain: {get_param: instance_domain}
165 instance01_name: kvm01
166 instance02_name: kvm02
167 instance03_name: kvm03
168 instance_flavor: {get_param: kvm_fake_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300169 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300170 underlay_userdata: { get_file: ./underlay-userdata.yaml }
171 instance01_control_net_static_ip:
172 list_join:
173 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300174 - [ { get_attr: [subnets, control_net_prefix] }, '241' ]
sgudzb8819722019-05-16 22:34:31 +0300175 instance02_control_net_static_ip:
176 list_join:
177 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300178 - [ { get_attr: [subnets, control_net_prefix] }, '242' ]
sgudzb8819722019-05-16 22:34:31 +0300179 instance03_control_net_static_ip:
180 list_join:
181 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300182 - [ { get_attr: [subnets, control_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300183 instance01_tenant_net_static_ip:
184 list_join:
185 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300186 - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300187 instance02_tenant_net_static_ip:
188 list_join:
189 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300190 - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300191 instance03_tenant_net_static_ip:
192 list_join:
193 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300194 - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ]
sgudze6bff762019-05-23 18:15:49 +0300195 instance01_external_net_static_ip:
196 list_join:
197 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300198 - [ { get_attr: [subnets, external_net_prefix] }, '241' ]
sgudze6bff762019-05-23 18:15:49 +0300199 instance02_external_net_static_ip:
200 list_join:
201 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300202 - [ { get_attr: [subnets, external_net_prefix] }, '242' ]
sgudze6bff762019-05-23 18:15:49 +0300203 instance03_external_net_static_ip:
204 list_join:
205 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300206 - [ { get_attr: [subnets, external_net_prefix] }, '243' ]
sgudzb8819722019-05-16 22:34:31 +0300207
208 instance_config_host: { get_attr: [cfg01_node, instance_address] }
209
210 cicd_cluster:
211 type: MCP::MultipleInstance
212 depends_on: [fake_kvm_cluster]
213 properties:
214 env_name: { get_param: env_name }
215 mcp_version: { get_param: mcp_version }
216 instance_domain: {get_param: instance_domain}
217 instance01_name: cid01
218 instance02_name: cid02
219 instance03_name: cid03
220 instance_flavor: {get_param: cid_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300221 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300222 underlay_userdata: { get_file: ./underlay-userdata.yaml }
223 instance01_control_net_static_ip:
224 list_join:
225 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300226 - [ { get_attr: [subnets, control_net_prefix] }, '91' ]
sgudzb8819722019-05-16 22:34:31 +0300227 instance02_control_net_static_ip:
228 list_join:
229 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300230 - [ { get_attr: [subnets, control_net_prefix] }, '92' ]
sgudzb8819722019-05-16 22:34:31 +0300231 instance03_control_net_static_ip:
232 list_join:
233 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300234 - [ { get_attr: [subnets, control_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300235 instance01_tenant_net_static_ip:
236 list_join:
237 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300238 - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300239 instance02_tenant_net_static_ip:
240 list_join:
241 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300242 - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300243 instance03_tenant_net_static_ip:
244 list_join:
245 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300246 - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ]
sgudze6bff762019-05-23 18:15:49 +0300247 instance01_external_net_static_ip:
248 list_join:
249 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300250 - [ { get_attr: [subnets, external_net_prefix] }, '91' ]
sgudze6bff762019-05-23 18:15:49 +0300251 instance02_external_net_static_ip:
252 list_join:
253 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300254 - [ { get_attr: [subnets, external_net_prefix] }, '92' ]
sgudze6bff762019-05-23 18:15:49 +0300255 instance03_external_net_static_ip:
256 list_join:
257 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300258 - [ { get_attr: [subnets, external_net_prefix] }, '93' ]
sgudzb8819722019-05-16 22:34:31 +0300259
260 instance_config_host: { get_attr: [cfg01_node, instance_address] }
261
262 prx01_virtual:
263 type: MCP::SingleInstance
264 depends_on: [cicd_cluster]
265 properties:
266 env_name: { get_param: env_name }
267 mcp_version: { get_param: mcp_version }
268 instance_domain: {get_param: instance_domain}
269 instance_name: prx01
270 instance_flavor: {get_param: cid_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300271 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300272 underlay_userdata: { get_file: ./underlay-userdata.yaml }
273 control_net_static_ip:
274 list_join:
275 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300276 - [ { get_attr: [subnets, control_net_prefix] }, '221' ]
sgudze6bff762019-05-23 18:15:49 +0300277 tenant_net_static_ip:
278 list_join:
279 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300280 - [ { get_attr: [subnets, tenant_net_prefix] }, '221' ]
sgudze6bff762019-05-23 18:15:49 +0300281 external_net_static_ip:
282 list_join:
283 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300284 - [ { get_attr: [subnets, external_net_prefix] }, '221' ]
sgudze6bff762019-05-23 18:15:49 +0300285
sgudzb8819722019-05-16 22:34:31 +0300286 instance_config_host: { get_attr: [cfg01_node, instance_address] }
287
288 prx02_virtual:
289 type: MCP::SingleInstance
290 depends_on: [prx01_virtual]
291 properties:
292 env_name: { get_param: env_name }
293 mcp_version: { get_param: mcp_version }
294 instance_domain: {get_param: instance_domain}
295 instance_name: prx02
296 instance_flavor: {get_param: cid_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300297 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300298 underlay_userdata: { get_file: ./underlay-userdata.yaml }
299 control_net_static_ip:
300 list_join:
301 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300302 - [ { get_attr: [subnets, control_net_prefix] }, '222' ]
sgudze6bff762019-05-23 18:15:49 +0300303 tenant_net_static_ip:
304 list_join:
305 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300306 - [ { get_attr: [subnets, tenant_net_prefix] }, '222' ]
sgudze6bff762019-05-23 18:15:49 +0300307 external_net_static_ip:
308 list_join:
309 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300310 - [ { get_attr: [subnets, external_net_prefix] }, '222' ]
sgudze6bff762019-05-23 18:15:49 +0300311
sgudzb8819722019-05-16 22:34:31 +0300312 instance_config_host: { get_attr: [cfg01_node, instance_address] }
313
314 cmp001_virtual:
315 type: MCP::Compute
316 depends_on: [prx02_virtual]
317 properties:
318 env_name: { get_param: env_name }
319 mcp_version: { get_param: mcp_version }
320 instance_domain: {get_param: instance_domain}
321 instance_name: cmp001
322 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300323 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300324 underlay_userdata: { get_file: ./underlay-userdata.yaml }
325 control_net_static_ip:
326 list_join:
327 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300328 - [ { get_attr: [subnets, control_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300329 tenant_net_static_ip:
330 list_join:
331 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300332 - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300333 external_net_static_ip:
334 list_join:
335 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300336 - [ { get_attr: [subnets, external_net_prefix] }, '101' ]
sgudze6bff762019-05-23 18:15:49 +0300337
sgudzb8819722019-05-16 22:34:31 +0300338 instance_config_host: { get_attr: [cfg01_node, instance_address] }
339
340 cmp002_virtual:
341 type: MCP::Compute
342 depends_on: [cmp001_virtual]
343 properties:
344 env_name: { get_param: env_name }
345 mcp_version: { get_param: mcp_version }
346 instance_domain: {get_param: instance_domain}
347 instance_name: cmp002
348 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300349 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300350 underlay_userdata: { get_file: ./underlay-userdata.yaml }
351 control_net_static_ip:
352 list_join:
353 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300354 - [ { get_attr: [subnets, control_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300355 tenant_net_static_ip:
356 list_join:
357 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300358 - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300359 external_net_static_ip:
360 list_join:
361 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300362 - [ { get_attr: [subnets, external_net_prefix] }, '102' ]
sgudze6bff762019-05-23 18:15:49 +0300363
sgudzb8819722019-05-16 22:34:31 +0300364 instance_config_host: { get_attr: [cfg01_node, instance_address] }
365
366 cmp003_virtual:
367 type: MCP::Compute
368 depends_on: [cmp002_virtual]
369 properties:
370 env_name: { get_param: env_name }
371 mcp_version: { get_param: mcp_version }
372 instance_domain: {get_param: instance_domain}
373 instance_name: cmp003
374 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300375 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300376 underlay_userdata: { get_file: ./underlay-userdata.yaml }
377 control_net_static_ip:
378 list_join:
379 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300380 - [ { get_attr: [subnets, control_net_prefix] }, '103' ]
sgudze6bff762019-05-23 18:15:49 +0300381 tenant_net_static_ip:
382 list_join:
383 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300384 - [ { get_attr: [subnets, tenant_net_prefix] }, '103' ]
sgudze6bff762019-05-23 18:15:49 +0300385 external_net_static_ip:
386 list_join:
387 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300388 - [ { get_attr: [subnets, external_net_prefix] }, '103' ]
sgudze6bff762019-05-23 18:15:49 +0300389
sgudzb8819722019-05-16 22:34:31 +0300390 instance_config_host: { get_attr: [cfg01_node, instance_address] }
391
392 cmp004_virtual:
393 type: MCP::Compute
394 depends_on: [cmp003_virtual]
395 properties:
396 env_name: { get_param: env_name }
397 mcp_version: { get_param: mcp_version }
398 instance_domain: {get_param: instance_domain}
399 instance_name: cmp004
400 instance_flavor: {get_param: cmp_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300401 availability_zone: { get_param: vm_availability_zone }
sgudzb8819722019-05-16 22:34:31 +0300402 underlay_userdata: { get_file: ./underlay-userdata.yaml }
403 control_net_static_ip:
404 list_join:
405 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300406 - [ { get_attr: [subnets, control_net_prefix] }, '104' ]
sgudze6bff762019-05-23 18:15:49 +0300407 tenant_net_static_ip:
408 list_join:
409 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300410 - [ { get_attr: [subnets, tenant_net_prefix] }, '104' ]
sgudze6bff762019-05-23 18:15:49 +0300411 external_net_static_ip:
412 list_join:
413 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300414 - [ { get_attr: [subnets, external_net_prefix] }, '104' ]
sgudze6bff762019-05-23 18:15:49 +0300415
sgudzb8819722019-05-16 22:34:31 +0300416 instance_config_host: { get_attr: [cfg01_node, instance_address] }
417
418 foundation_node:
419 type: MCP::FoundationNode
420 depends_on: [networks]
421 properties:
422 env_name: { get_param: env_name }
423 mcp_version: { get_param: mcp_version }
424 instance_domain: {get_param: instance_domain}
425 instance_name: foundation
Dennis Dmitrievcba86122019-05-24 13:41:46 +0300426 instance_image: { get_param: foundation_image }
sgudzb8819722019-05-16 22:34:31 +0300427 instance_flavor: {get_param: foundation_flavor}
Dennis Dmitriev1e0a06f2019-05-31 13:24:13 +0300428 availability_zone: { get_param: bm_availability_zone }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300429 management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] }
430 control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] }
431 tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] }
432 external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] }
sgudzb8819722019-05-16 22:34:31 +0300433 underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml }
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300434 management_net_static_ip:
435 list_join:
436 - '.'
437 - [ { get_attr: [subnets, management_net_prefix] }, '5' ]
sgudzb8819722019-05-16 22:34:31 +0300438 control_net_static_ip:
439 list_join:
440 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300441 - [ { get_attr: [subnets, control_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300442 tenant_net_static_ip:
443 list_join:
444 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300445 - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300446 external_net_static_ip:
447 list_join:
448 - '.'
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300449 - [ { get_attr: [subnets, external_net_prefix] }, '5' ]
sgudze6bff762019-05-23 18:15:49 +0300450
sgudzb8819722019-05-16 22:34:31 +0300451 instance_config_host: { get_attr: [cfg01_node, instance_address] }
452
453outputs:
Andrew Baraniuk67c04ec2019-05-27 13:46:10 +0300454 foundation_public_ip:
sgudzb8819722019-05-16 22:34:31 +0300455 description: foundation node IP address (floating) from external network
456 value:
457 get_attr:
458 - foundation_node
459 - instance_floating_address
460...