blob: e09fafe703bb4a5ae80bb89ee25f6c586c103153 [file] [log] [blame]
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001heat_template_version: queens
2
3parameters:
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01004 image:
5 type: string
6 description: Name of image to use for servers
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01007 public_net_id:
8 type: string
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02009 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010010 description: >
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020011 ID of public network for which floating IP addresses will be allocated/
12 for baremetal case flat provision network for nodes
Vasyl Saienkob9e69d02021-03-19 10:09:52 +020013 dns_nameservers:
14 type: json
15 default: []
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020016 control_network_cidr:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020017 type: string
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020018 description: The CIDR of control network, used to detect control interface.
19 default: '10.10.0.0/24'
Anton Samoylov1af95862021-05-24 22:25:42 +040020 control_network_host_routes:
21 type: json
22 description: >
23 List of dicts with host routes in control subnet, e.g:
24 - "destination": "10.100.100.1/32"
25 "nexthop": "172.16.1.1"
26 default: []
Ilya Bumarskov128d4d22021-12-27 10:43:09 +040027 control_network_ext_router_ip:
Sergey Matov0709c762020-04-02 14:30:50 +040028 type: string
Ilya Bumarskov128d4d22021-12-27 10:43:09 +040029 description: IP address of vsrx/vmx in control network
Anton Samoylovea0b23e2020-06-26 14:17:51 +040030 default: ''
Stepan Rogov60bc3522020-12-16 17:43:25 +030031 docker_default_address_pool:
32 type: string
33 description: Default address pool for Docker ucp specific local networks
34 default: '10.10.1.0/16'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010035 masters_size:
36 type: number
37 description: Number of masters instances to deploy
38 default: 2
39 worker_size:
40 type: number
41 description: Number of workers to deploy
42 default: 5
43 cmp_size:
44 type: number
45 description: Number of cmp workers to deploy
46 default: 0
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +020047 acmp_size:
48 type: number
49 description: Number of advanced cmp workers to deploy
50 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010051 gtw_size:
52 type: number
53 description: Number of gtw workers to deploy
54 default: 0
sgudzb94b4c62020-02-05 13:21:25 +020055 lma_size:
56 type: number
57 description: Number of gtw workers to deploy
58 default: 0
59 osd_size:
60 type: number
61 description: Number of gtw workers to deploy
62 default: 0
Vasyl Saienko25bb75b2021-02-15 12:22:33 +020063 frr_size:
64 type: number
65 description: Number of frr nodes to deploy
66 default: 0
sgudz43eb82b2020-02-11 16:36:48 +020067 ntw_size:
68 type: number
69 description: Number of contrail nodes to deploy
70 default: 0
Vasyl Saienko36f2edf2020-05-14 10:44:52 +030071 vbmc_size:
72 type: number
73 description: Number of nodes for virtualbmc BM node simulator
74 default: 0
Mykyta Karpinf24e01a2022-02-04 17:22:38 +020075 tsrv_size:
76 type: number
77 description: Number of nodes for test servers
78 default: 1
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010079 ucp_boot_timeout:
80 type: number
81 description: Boot timeout for UCP instance
Vasyl Saienkof36f39c2020-03-10 00:21:42 +020082 default: 3600
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010083 cluster_public_key:
84 type: string
Oleh Hryhorov0019f592020-01-23 11:50:12 +020085 private_floating_network_cidr:
86 type: string
87 default: '10.11.12.0/24'
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +020088 private_floating_network_ipam_pool_start:
89 type: string
90 description: pool start which is used as pool for IPAM and assigned to instances port
91 default: '10.11.12.2'
92 private_floating_network_ipam_pool_end:
93 type: string
94 description: pool end which is used as pool for IPAM and assigned to instances port
Vasyl Saienko5b6d70a2023-04-10 13:55:31 +000095 default: '10.11.12.70'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020096 private_floating_network_pool_start:
97 type: string
98 default: '10.11.12.100'
99 private_floating_network_pool_end:
100 type: string
101 default: '10.11.12.200'
102 private_floating_network_gateway:
103 type: string
Oleh Hryhorovd3a30242020-02-11 15:24:01 +0200104 default: ''
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300105 private_floating_network_interface:
106 type: string
107 default: 'veth-phy'
108 description: 'The name of interface that should be added to external neutron bridge for floating network.'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200109 private_floating_interface:
110 description: Interface which carries floating network for child OpenStack.
111 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100112 storage_frontend_network_cidr:
113 type: string
114 default: '10.12.0.0/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200115 storage_frontend_interface:
116 type: string
117 default: 'ens5'
118 storage_backend_network_cidr:
119 type: string
120 default: '10.11.0.0/24'
121 storage_backend_interface:
122 type: string
123 default: 'ens6'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300124 ironic_baremetal_network_cidr:
125 type: string
126 default: '10.13.0.0/24'
127 ironic_baremetal_network_ipam_pool_start:
128 type: string
129 default: '10.13.0.2'
130 ironic_baremetal_network_ipam_pool_end:
131 type: string
132 default: '10.13.0.99'
133 ironic_baremetal_network_pool_start:
134 type: string
135 default: '10.13.0.100'
136 ironic_baremetal_network_pool_end:
137 type: string
138 default: '10.13.0.200'
139 ironic_baremetal_network_gateway:
140 type: string
141 default: ''
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400142 ironic_baremetal_tunnel_cidr:
143 type: string
144 default: '10.16.0.0/24'
Vasyl Saienko4c468192020-05-19 11:51:13 +0300145 ironic_baremetal_network_interface:
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300146 type: string
Vasyl Saienko4c468192020-05-19 11:51:13 +0300147 default: 'veth-bm'
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300148 description: 'The name of interface that should be added to ovs bridge in Neutron'
149 ironic_baremetal_network_vbmc_interface:
150 type: string
151 default: 'veth-vbmc'
152 description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.'
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300153 ironic_baremetal_provisioning_interface:
154 type: string
155 default: 'br-baremetal'
156 description: 'The name of interface on node to which IP ironic services will bind.'
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400157 ironic_baremetal_pxe_interface:
158 type: string
159 default: 'pxe.1000'
160 description: 'Will be used as provisioning_interface for multi-tenancy mode'
161 ironic_mt_enabled:
162 type: boolean
163 default: false
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400164 tungstenfabric_enabled:
165 type: boolean
166 default: false
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400167 vmx_linux_img:
168 type: string
169 description: Name of image to use for servers
170 default: "vPFC-20170216"
171 vmx_linux_flav:
172 type: string
173 description: Name of image to use for servers
174 default: "vfp.lite"
175 vmx_junos_img:
176 type: string
177 description: Name of image to use for servers
178 default: "vmx-x86-64-17.1R1.8"
179 vmx_junos_flav:
180 type: string
181 description: Name of image to use for servers
182 default: "vcp.lite"
183 vmx_gateway_ip:
184 type: string
185 description: Default GW for vmx
186 default: '10.10.0.1'
187 vmx_lo_ip:
188 type: string
189 description: Ip of lo interface for vmx
190 default: '10.199.199.199'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200191 tun_network_cidr:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400192 type: string
193 default: '10.15.0.0/24'
Mykyta Karpin2aba4122020-12-02 15:03:09 +0200194 # When tun interface is added to ovs bridge inside vm,
195 # and arp responder is enabled on undercloud,
196 # ip adresses from tun network pool can't be used for
197 # configuring vxlan tunnels through ovs bridge (https://mirantis.jira.com/browse/PRODX-9337).
198 # Ip addresses unknown for arp responder should be used.
199 # In deployment pipeline addresses assigned by openstack to advanced compute nodes
200 # are changed inside instance to 10.15.0.1XX for this case.
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200201 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400202 type: string
203 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200204 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400205 type: string
206 default: '10.15.0.99'
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400207 tun_network_ext_router_ip:
208 type: string
209 description: IP address of vsrx/vmx in data network
210 default: ''
Anton Samoylov1af95862021-05-24 22:25:42 +0400211 tun_network_host_routes:
212 type: json
213 description: >
214 List of dicts with host routes in tunnel subnet, e.g:
215 - "destination": "10.100.100.1/32"
216 "nexthop": "172.16.1.1"
217 default: []
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400218 evpn_network_cidr:
219 type: string
220 default: '10.20.100.0/24'
221 evpn_network_ipam_pool_start:
222 type: string
223 description: pool start which is used as pool for IPAM and assigned to instances port
224 default: '10.20.100.2'
225 evpn_network_ipam_pool_end:
226 type: string
227 description: pool end which is used as pool for IPAM and assigned to instances port
228 default: '10.20.100.99'
229 evpn_network_pool_start:
230 type: string
231 default: '10.20.100.105'
232 evpn_network_pool_end:
233 type: string
234 default: '10.20.100.200'
235 evpn_network_vmx_ip:
236 type: string
237 description: IP address of vmx in a network for evpn test
238 default: ''
Dennis Dmitrievea894212020-03-12 21:36:43 +0200239 ucp_metadata:
240 type: json
241 default: {"role":"ucp"}
242 master_metadata:
243 type: json
244 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100245 worker_metadata:
246 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200247 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100248 cmp_metadata:
249 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200250 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200251 acmp_metadata:
252 type: json
253 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100254 gtw_metadata:
255 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200256 default: {}
257 lma_metadata:
258 type: json
259 default: {}
260 osd_metadata:
261 type: json
262 default: {}
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200263 frr_metadata:
264 type: json
265 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200266 ntw_metadata:
267 type: json
268 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300269 vbmc_metadata:
270 type: json
271 default: {}
Mykyta Karpinf24e01a2022-02-04 17:22:38 +0200272 tsrv_metadata:
273 type: json
Oleksandr Kononenko85907a32023-04-03 10:18:17 +0300274 default: {"labels": {"tempest": "enabled", "stepler": "enabled", "local-volume-provisioner": "enabled"}}
sgudzfe58e8a2020-02-11 13:31:40 +0200275 ucp_flavor:
276 type: string
Mykyta Karpin21eea7e2022-02-17 09:10:08 +0000277 default: 'mosk.s.ucp'
sgudzfe58e8a2020-02-11 13:31:40 +0200278 masters_flavor:
279 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300280 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200281 workers_flavor:
282 type: string
283 default: 'system.compact.openstack.control'
284 cmps_flavor:
285 type: string
286 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200287 acmps_flavor:
288 type: string
289 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200290 gtws_flavor:
291 type: string
292 default: 'system.compact.openstack.control'
293 lmas_flavor:
294 type: string
295 default: 'system.compact.openstack.control'
296 osds_flavor:
297 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100298 default: 'system.virtual.ceph.osd'
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200299 frrs_flavor:
300 type: string
301 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200302 ntws_flavor:
303 type: string
Alexander Ignatov8328a3c2021-10-15 18:45:02 +0400304 default: 'mos.tf.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300305 vbmcs_flavor:
306 type: string
307 default: 'system.compact.openstack.control'
Mykyta Karpinf24e01a2022-02-04 17:22:38 +0200308 tsrvs_flavor:
309 type: string
310 default: 'mosk.s.testserver'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200311 functions_override:
312 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200313 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200314 docker_ee_url:
315 type: string
Oleksandr Kononenkobf4ecf82024-02-01 11:02:53 +0200316 default: 'https://repos.mirantis.com/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200317 docker_ee_release:
318 type: string
319 default: 'stable-19.03'
Vasyl Saienkofa714102024-03-22 09:30:25 +0200320 docker_ee_packages:
321 type: string
322 default: "docker-ee"
Vasyl Saienko92133c02024-05-16 10:18:51 +0300323 kubernetes_container_runtime:
324 type: string
325 default: 'docker'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300326 docker_ucp_image:
327 type: string
328 default: 'docker/ucp:3.2.4'
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200329 docker_ucp_swarm_data_port:
330 type: string
331 default: 4789
Vasyl Saienkoa94bf182023-04-01 10:42:17 +0000332 binary_base_url:
333 type: string
334 default: 'http://binary.mirantis.com'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200335 tunnel_interface:
336 type: string
337 default: ''
338 live_migration_interface:
339 type: string
340 default: ''
341 metallb_address_pools:
342 type: comma_delimited_list
343 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200344 hardware_metadata:
345 description: The content of lab metadata.
346 default: ''
347 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200348 huge_pages:
349 description: >
350 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
351 If number is equal to 0 alloacation of huge pages won't be configured.
352 default: '0,0'
353 type: string
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200354 single_node:
355 description: If set true then AIO is going to be deployed.
356 type: string
357 default: 'false'
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200358 vsrx_image:
359 type: string
Anton Samoylov4a85a962021-09-29 10:30:08 +0400360 default: mos-vsrx-acc-fl-tun
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200361 vsrx_flavor:
362 type: string
363 default: oc_vsrx
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200364 cmp_lvm_loop_device_size:
365 description: >
366 The size of loop device for computes to configure LVM on, in gigabytes
367 type: number
Vasyl Saienkob78b8902021-03-09 17:39:42 +0200368 default: 50
Vasyl Saienkocd302062021-04-21 22:25:18 +0300369 cmp_cinder_lvm_loop_device_size:
370 description: >
371 The size of loop device for computes to configure LVM on, in gigabytes
372 type: number
373 default: 0
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200374 acmp_lvm_loop_device_size:
375 description: >
376 The size of loop device for advanced computes to configure LVM on, in gigabytes
377 type: number
378 default: 0
Vasyl Saienkocd302062021-04-21 22:25:18 +0300379 acmp_cinder_lvm_loop_device_size:
380 description: >
381 The size of loop device for advanced computes to configure LVM on, in gigabytes
382 type: number
383 default: 0
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300384 kubernetes_installer:
385 type: string
386 default: "ucp"
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400387 kubectl_version:
388 type: string
389 default: 1.18.8
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400390 volumes_per_osd_instance:
391 description: >
392 Number of extra volumes for OSD instance
393 type: number
394 default: 0
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200395 availability_zone:
396 type: string
397 default: nova
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400398 secure_overlay_enabled:
399 type: boolean
400 default: false
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400401 vsrx_enabled:
402 type: boolean
403 default: false
404 vmx_enabled:
405 type: boolean
406 default: false
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300407 devops_utils_refspec:
408 type: string
409 default: 'master'
Vasyl Saienko3e8ba732024-09-09 14:07:49 +0300410 k0s_version:
411 type: string
412 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100413
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200414conditions:
415 aio_deploy:
416 equals:
417 - get_param: single_node
418 - 'true'
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400419 tf:
420 equals:
421 - get_param: tungstenfabric_enabled
422 - true
423 vsrx_deploy:
424 equals:
425 - get_param: vsrx_enabled
426 - true
427 vmx_deploy:
428 and:
429 - tf
430 - equals:
431 - get_param: vmx_enabled
432 - true
433 - not:
434 vsrx_deploy
435 ext_router_deploy:
436 or:
437 - vsrx_deploy
438 - vmx_deploy
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200439
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100440resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200441 keypair_name:
442 type: OS::Heat::RandomString
443 properties:
444 character_classes: [{"class": "hexdigits", "min": 1}]
445 length: 128
446 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100447 key_pair:
448 type: OS::Nova::KeyPair
449 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200450 name: { get_attr: [keypair_name, value] }
451 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100452 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200453 accessible_network:
454 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100455 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200456 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300457 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienkob9e69d02021-03-19 10:09:52 +0200458 dns_nameservers: { get_param: dns_nameservers }
Anton Samoylov1af95862021-05-24 22:25:42 +0400459 control_network_host_routes: { get_param: control_network_host_routes }
Anton Samoylov7080ae02021-09-23 17:41:06 +0400460 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
dbiletskiyfa8ab872023-11-22 13:07:29 +0100461 vsrx_enabled: { get_param: vsrx_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400462 control_network_ext_router_ip: { get_param: control_network_ext_router_ip }
Anton Samoylov7080ae02021-09-23 17:41:06 +0400463 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100464
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200465 tun_network:
466 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400467 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200468 tun_network_cidr: { get_param: tun_network_cidr }
469 tun_network_pool_start: { get_param: tun_network_pool_start }
470 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylov1af95862021-05-24 22:25:42 +0400471 tun_network_host_routes: { get_param: tun_network_host_routes }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400472
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100473 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200474 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100475 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200476 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200477 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200478 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400479
480 vmx:
481 depends_on:
482 - private_floating_network
483 - accessible_network
484 - tun_network
485 condition: vmx_deploy
486 type: MCP2::VMX
487 properties:
488 linux_img: { get_param: vmx_linux_img }
489 linux_flav: { get_param: vmx_linux_flav }
490 junos_img: { get_param: vmx_junos_img }
491 junos_flav: { get_param: vmx_junos_flav }
492 vmx_gateway_ip: { get_param: vmx_gateway_ip }
493 vmx_lo_ip: { get_param: vmx_lo_ip }
494 accessible_network_id: { get_attr: [ accessible_network, public_network ] }
495 control_network_cidr: { get_param: control_network_cidr }
496 control_network_vmx_ip: { get_param: control_network_ext_router_ip }
497 tun_network_id: { get_attr: [ tun_network, tun_network_id ] }
498 tun_network_vmx_ip: { get_param: tun_network_ext_router_ip }
499 tun_network_cidr: { get_param: tun_network_cidr }
500 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
501 private_floating_network_cidr: { get_param: private_floating_network_cidr }
502 private_floating_network_gateway: { get_param: private_floating_network_gateway }
503 evpn_network_cidr: { get_param: evpn_network_cidr }
504 evpn_network_ipam_pool_start: { get_param: evpn_network_ipam_pool_start }
505 evpn_network_ipam_pool_end: { get_param: evpn_network_ipam_pool_end }
506 evpn_network_vmx_ip: { get_param: evpn_network_vmx_ip }
507 public_net_id: { get_param: public_net_id }
508
509 vsrx:
510 depends_on:
511 - private_floating_network
512 - accessible_network
513 - tun_network
514 condition: vsrx_deploy
515 type: MCP2::VSRX
516 properties:
517 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
518 private_floating_network_gateway: { get_param: private_floating_network_gateway }
519 control_network_vsrx_ip: { get_param: control_network_ext_router_ip }
520 accessible_network: { get_attr: [ accessible_network, public_network ] }
521 data_network_vsrx_ip: { get_param: tun_network_ext_router_ip }
522 tun_network: { get_attr: [ tun_network, tun_network_id ] }
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200523 vsrx_image: { get_param: vsrx_image }
524 vsrx_flavor: { get_param: vsrx_flavor }
Mikhail Polenchuk3cf123d2021-03-12 14:23:24 +0000525 public_net_id: { get_param: public_net_id }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100526
Mateusz Lose2ad0772020-02-27 21:41:54 +0100527 storage_network:
528 type: MCP2::NetworkAccStorage
529 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100530 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200531 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100532
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300533 ironic_baremetal_network:
534 type: MCP2::NetworkIronicFlat
535 properties:
536 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
537 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
538 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
539 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
540
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100541 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100542 depends_on:
543 - accessible_network
544 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200545 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100546 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200547 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200548 docker_ee_url: { get_param: docker_ee_url }
549 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200550 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300551 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300552 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200553 docker_ucp_swarm_data_port: { get_param: docker_ucp_swarm_data_port }
Stepan Rogov60bc3522020-12-16 17:43:25 +0300554 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000555 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200556 node_type: "ucp"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300557 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200558 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200559 image: { get_param: image }
560 flavor: { get_param: ucp_flavor }
561 accessible_network: { get_attr: [accessible_network, public_network] }
562 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
563 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
564 private_floating_interface: { get_param: private_floating_interface }
565 private_floating_network_cidr: { get_param: private_floating_network_cidr }
566 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
567 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200568 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200569 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200570 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200571 single_node: { get_param: single_node}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200572 availability_zone: { get_param: availability_zone }
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400573 secure_overlay_enabled: { get_param: secure_overlay_enabled }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400574 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300575 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3e8ba732024-09-09 14:07:49 +0300576 k0s_version: { get_param: k0s_version }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200577
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100578 masters:
579 type: OS::Heat::ResourceGroup
580 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200581 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100582 properties:
583 count: { get_param: masters_size }
584 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200585 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100586 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200587 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200588 node_type: "master"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300589 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200590 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200591 image: { get_param: image }
592 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200593 docker_ee_url: { get_param: docker_ee_url }
594 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200595 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300596 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300597 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300598 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000599 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200600 accessible_network: { get_attr: [accessible_network, public_network] }
601 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
602 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
603 private_floating_interface: { get_param: private_floating_interface }
604 private_floating_network_cidr: { get_param: private_floating_network_cidr }
605 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
606 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200607 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200608 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200609 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200610 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200611 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400612 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300613 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200614
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100615 workers:
616 type: OS::Heat::ResourceGroup
617 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200618 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100619 properties:
620 count: { get_param: worker_size }
621 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200622 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100623 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200624 metadata: { get_param: worker_metadata}
625 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300626 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200627 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100628 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200629 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200630 docker_ee_url: { get_param: docker_ee_url }
631 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200632 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300633 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300634 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300635 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000636 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200637 accessible_network: { get_attr: [accessible_network, public_network] }
638 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
639 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
640 private_floating_interface: { get_param: private_floating_interface }
641 private_floating_network_cidr: { get_param: private_floating_network_cidr }
642 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100643 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200644 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200645 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200646 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200647 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200648 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
649 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
650 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200651 storage_backend_interface: { get_param: storage_backend_interface }
652 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
653 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
654 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300655 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
656 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300657 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400658 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
659 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400660 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200661 tun_network: { get_attr: [tun_network, tun_network_id] }
662 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200663 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200664 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300665 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200666 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400667 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300668 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200669
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100670 cmps:
671 type: OS::Heat::ResourceGroup
672 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200673 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100674 properties:
675 count: { get_param: cmp_size }
676 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200677 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100678 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200679 metadata: { get_param: cmp_metadata }
680 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300681 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200682 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100683 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200684 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200685 docker_ee_url: { get_param: docker_ee_url }
686 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200687 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300688 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300689 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300690 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000691 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200692 accessible_network: { get_attr: [accessible_network, public_network] }
693 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
694 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
695 private_floating_interface: { get_param: private_floating_interface }
696 private_floating_network_cidr: { get_param: private_floating_network_cidr }
697 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100698 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200699 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200700 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200701 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200702 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200703 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
704 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
705 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200706 storage_backend_interface: { get_param: storage_backend_interface }
707 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
708 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
709 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300710 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
711 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300712 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400713 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
714 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400715 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200716 tun_network: { get_attr: [tun_network, tun_network_id] }
717 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200718 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200719 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300720 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200721 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400722 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300723 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200724
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200725 acmps:
726 type: OS::Heat::ResourceGroup
727 depends_on:
728 - ucp
729 properties:
730 count: { get_param: acmp_size }
731 resource_def:
732 type: MCP2::SrvInstancesCephOSD
733 properties:
734 metadata: { get_param: acmp_metadata }
735 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300736 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200737 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200738 image: { get_param: image }
739 flavor: { get_param: acmps_flavor }
740 docker_ee_url: { get_param: docker_ee_url }
741 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200742 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300743 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200744 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300745 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000746 binary_base_url: { get_param: binary_base_url }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200747 accessible_network: { get_attr: [accessible_network, public_network] }
748 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
749 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
750 private_floating_interface: { get_param: private_floating_interface }
751 private_floating_network_cidr: { get_param: private_floating_network_cidr }
752 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
753 public_net_id: { get_param: public_net_id }
754 control_network_cidr: { get_param: control_network_cidr }
755 ucp_master_host: { get_attr: [ucp, server_private_ip] }
756 functions_override: { get_param: functions_override }
757 storage_frontend_interface: { get_param: storage_frontend_interface }
758 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
759 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
760 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
761 storage_backend_interface: { get_param: storage_backend_interface }
762 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
763 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
764 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
765 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
766 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
767 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
768 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
769 ironic_mt_enabled: { get_param: ironic_mt_enabled }
770 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200771 tun_network: { get_attr: [tun_network, tun_network_id] }
772 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200773 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200774 huge_pages: { get_param: huge_pages }
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200775 lvm_loop_device_size: { get_param: acmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300776 cinder_lvm_loop_device_size: { get_param: acmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200777 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400778 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300779 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200780
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100781 gtws:
782 type: OS::Heat::ResourceGroup
783 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200784 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100785 properties:
786 count: { get_param: gtw_size }
787 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200788 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100789 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200790 metadata: { get_param: gtw_metadata }
791 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300792 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200793 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100794 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200795 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200796 docker_ee_url: { get_param: docker_ee_url }
797 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200798 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300799 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300800 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300801 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000802 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200803 accessible_network: { get_attr: [accessible_network, public_network] }
804 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
805 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
806 private_floating_interface: { get_param: private_floating_interface }
807 private_floating_network_cidr: { get_param: private_floating_network_cidr }
808 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100809 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200810 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200811 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200812 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200813 storage_frontend_interface: { get_param: storage_frontend_interface }
814 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
815 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
816 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300817 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
818 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300819 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400820 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
821 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200822 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200823 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400824 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300825 devops_utils_refspec: { get_param: devops_utils_refspec }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100826
sgudzb94b4c62020-02-05 13:21:25 +0200827 lmas:
828 type: OS::Heat::ResourceGroup
829 depends_on:
830 - ucp
831 properties:
832 count: { get_param: lma_size }
833 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100834 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200835 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200836 metadata: { get_param: lma_metadata }
837 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300838 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200839 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200840 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200841 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200842 docker_ee_url: { get_param: docker_ee_url }
843 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200844 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300845 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300846 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300847 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000848 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200849 accessible_network: { get_attr: [accessible_network, public_network] }
850 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
851 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
852 private_floating_interface: { get_param: private_floating_interface }
853 private_floating_network_cidr: { get_param: private_floating_network_cidr }
854 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200855 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200856 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200857 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200858 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200859 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200860 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
861 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
862 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300863 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
864 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300865 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400866 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
867 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200868 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200869 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400870 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300871 devops_utils_refspec: { get_param: devops_utils_refspec }
sgudzb94b4c62020-02-05 13:21:25 +0200872
873 osds:
874 type: OS::Heat::ResourceGroup
875 depends_on:
876 - ucp
877 properties:
878 count: { get_param: osd_size }
879 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100880 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200881 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200882 metadata: { get_param: osd_metadata }
883 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300884 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200885 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200886 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200887 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200888 docker_ee_url: { get_param: docker_ee_url }
889 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200890 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300891 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300892 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300893 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000894 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200895 accessible_network: { get_attr: [accessible_network, public_network] }
896 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
897 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
898 private_floating_interface: { get_param: private_floating_interface }
899 private_floating_network_cidr: { get_param: private_floating_network_cidr }
900 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200901 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200902 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200903 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200904 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200905 storage_frontend_interface: { get_param: storage_frontend_interface }
906 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
907 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
908 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
909 storage_backend_interface: { get_param: storage_backend_interface }
910 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
911 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
912 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300913 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
914 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300915 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400916 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
917 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400918 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200919 tun_network: { get_attr: [tun_network, tun_network_id] }
920 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200921 hardware_metadata: { get_param: hardware_metadata}
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400922 num_volumes: { get_param: volumes_per_osd_instance }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200923 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400924 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300925 devops_utils_refspec: { get_param: devops_utils_refspec }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100926
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200927 frrs: # spares for osds/cmps
928 type: OS::Heat::ResourceGroup
929 depends_on:
930 - ucp
931 properties:
932 count: { get_param: frr_size }
933 resource_def:
934 type: MCP2::SrvInstancesCephOSD
935 properties:
936 metadata: { get_param: frr_metadata }
937 node_type: "frr"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300938 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200939 key_name: { get_attr: [keypair_name, value] }
940 image: { get_param: image }
941 flavor: { get_param: frrs_flavor }
942 docker_ee_url: { get_param: docker_ee_url }
943 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200944 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300945 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200946 docker_ucp_image: { get_param: docker_ucp_image}
947 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000948 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200949 accessible_network: { get_attr: [accessible_network, public_network] }
950 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
951 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
952 private_floating_interface: { get_param: private_floating_interface }
953 private_floating_network_cidr: { get_param: private_floating_network_cidr }
954 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
955 public_net_id: { get_param: public_net_id }
956 control_network_cidr: { get_param: control_network_cidr }
957 ucp_master_host: { get_attr: [ucp, server_private_ip] }
958 functions_override: { get_param: functions_override }
959 storage_frontend_interface: { get_param: storage_frontend_interface }
960 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
961 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
962 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
963 storage_backend_interface: { get_param: storage_backend_interface }
964 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
965 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
966 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
967 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
968 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
969 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
970 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
971 ironic_mt_enabled: { get_param: ironic_mt_enabled }
972 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
973 tun_network: { get_attr: [tun_network, tun_network_id] }
974 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
975 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko846c6342021-02-24 17:01:36 +0200976 frr_bgp_neighbors: { list_join: [',', {get_attr: [workers, server_tun_ip]}] }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200977 availability_zone: { get_param: availability_zone }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200978
sgudz43eb82b2020-02-11 16:36:48 +0200979 ntws:
980 type: OS::Heat::ResourceGroup
981 depends_on:
982 - ucp
983 properties:
984 count: { get_param: ntw_size }
985 resource_def:
Anton Samoylov23f52c92021-05-12 22:22:30 +0400986 type: MCP2::SrvInstancesCephOSD
sgudz43eb82b2020-02-11 16:36:48 +0200987 properties:
988 metadata: { get_param: ntw_metadata }
989 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300990 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200991 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200992 image: { get_param: image }
993 flavor: { get_param: ntws_flavor }
994 docker_ee_url: { get_param: docker_ee_url }
995 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200996 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300997 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300998 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300999 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001000 binary_base_url: { get_param: binary_base_url }
sgudz43eb82b2020-02-11 16:36:48 +02001001 accessible_network: { get_attr: [accessible_network, public_network] }
1002 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1003 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1004 private_floating_interface: { get_param: private_floating_interface }
1005 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1006 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1007 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +02001008 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +02001009 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1010 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +02001011 storage_frontend_interface: { get_param: storage_frontend_interface }
1012 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1013 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1014 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Anton Samoylov23f52c92021-05-12 22:22:30 +04001015 storage_backend_interface: { get_param: storage_backend_interface }
1016 storage_backend_network: { get_attr: [ storage_network, storage_backend_network_id ] }
1017 storage_backend_subnet_id: { get_attr: [ storage_network, storage_backend_subnet_id ] }
1018 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +03001019 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1020 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001021 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001022 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1023 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylov23f52c92021-05-12 22:22:30 +04001024 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
1025 tun_network: { get_attr: [tun_network, tun_network_id] }
1026 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001027 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001028 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001029 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001030 devops_utils_refspec: { get_param: devops_utils_refspec }
sgudz43eb82b2020-02-11 16:36:48 +02001031
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001032 vbmcs:
1033 type: OS::Heat::ResourceGroup
1034 depends_on:
1035 - ucp
1036 properties:
1037 count: { get_param: vbmc_size }
1038 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +04001039 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001040 properties:
1041 metadata: { get_param: vbmc_metadata}
1042 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +03001043 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +02001044 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001045 image: { get_param: image }
1046 flavor: { get_param: vbmcs_flavor }
1047 docker_ee_url: { get_param: docker_ee_url }
1048 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001049 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +03001050 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +03001051 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +03001052 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001053 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001054 accessible_network: { get_attr: [accessible_network, public_network] }
1055 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1056 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1057 private_floating_interface: { get_param: private_floating_interface }
1058 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1059 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1060 public_net_id: { get_param: public_net_id }
1061 control_network_cidr: { get_param: control_network_cidr }
1062 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1063 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +04001064 storage_frontend_interface: { get_param: storage_frontend_interface }
1065 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1066 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1067 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +04001068 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1069 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001070 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001071 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1072 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001073 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001074 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001075 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001076 devops_utils_refspec: { get_param: devops_utils_refspec }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001077
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001078 tsrvs:
1079 type: OS::Heat::ResourceGroup
1080 depends_on:
1081 - ucp
1082 properties:
1083 count: { get_param: tsrv_size }
1084 resource_def:
1085 type: MCP2::SrvInstancesCeph
1086 properties:
1087 metadata: { get_param: tsrv_metadata}
1088 node_type: "worker"
1089 kubernetes_installer: { get_param: kubernetes_installer }
1090 key_name: { get_attr: [keypair_name, value] }
1091 image: { get_param: image }
1092 flavor: { get_param: tsrvs_flavor }
1093 docker_ee_url: { get_param: docker_ee_url }
1094 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001095 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +03001096 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001097 docker_ucp_image: { get_param: docker_ucp_image}
1098 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001099 binary_base_url: { get_param: binary_base_url }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001100 accessible_network: { get_attr: [accessible_network, public_network] }
1101 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1102 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1103 private_floating_interface: { get_param: private_floating_interface }
1104 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1105 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1106 public_net_id: { get_param: public_net_id }
1107 control_network_cidr: { get_param: control_network_cidr }
1108 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1109 functions_override: { get_param: functions_override }
1110 storage_frontend_interface: { get_param: storage_frontend_interface }
1111 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1112 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1113 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
1114 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1115 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
1116 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
1117 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1118 ironic_mt_enabled: { get_param: ironic_mt_enabled }
1119 hardware_metadata: { get_param: hardware_metadata}
1120 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001121 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001122 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001123
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001124outputs:
1125 ucp_ips:
1126 description: Private IP addresses of the deployed ucp instances
1127 value: { get_attr: [ucp, server_public_ip] }
1128 masters_ips:
1129 description: Private IP addresses of the deployed masters instances
1130 value: { get_attr: [masters, server_public_ip] }
1131 workers_ips:
1132 description: Private IP addresses of the deployed worker instances
1133 value: { get_attr: [workers, server_public_ip] }
1134 cmps_ips:
1135 description: Private IP addresses of the deployed cmp instances
1136 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001137 acmps_ips:
1138 description: Private IP addresses of the deployed cmp instances with high computing features
1139 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001140 gtws_ips:
1141 description: Private IP addresses of the deployed gtw instances
1142 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +02001143 lmas_ips:
1144 description: Private IP addresses of the deployed lma instances
1145 value: { get_attr: [lmas, server_public_ip] }
1146 osds_ips:
1147 description: Private IP addresses of the deployed osd instances
1148 value: { get_attr: [osds, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +02001149 ntws_ips:
1150 description: Private IP addresses of the deployed contrail instances
1151 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001152 vbmcs_ips:
1153 description: Private IP addresses of the deployed virtualbmcs instances
1154 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +03001155 vbmc_ironic_baremetal_ips:
1156 description: The IPs of ironic baremetal network assigned to vbmc hosts.
1157 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +02001158 frrs_ips:
1159 description: Private IP addresses of the deployed FRR instances
1160 value: { get_attr: [frrs, server_public_ip] }
1161 frrs_tunnel_ips:
1162 description: The tunnel IPs of FRR nodes
Michael Polenchuk2a770942021-03-04 18:01:17 +04001163 value: { get_attr: [frrs, server_tun_ip] }
Vasyl Saienkoc60d9592023-12-01 12:35:42 +00001164 ucp_private_floating_ip:
1165 description: Private IP addresses of the deployed ucp instances
1166 value: { get_attr: [ucp, server_private_floating_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +02001167 worker_private_floating_ips:
1168 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +02001169 value: {if: [aio_deploy, {get_attr: [ucp, server_private_floating_ip]}, {get_attr: [workers, server_private_floating_ip]}]}
dbiletskiy4c7177c2023-10-12 11:04:53 +02001170 tsrvs_ips:
Vasyl Saienkoe0b84ab2023-12-01 18:05:41 +02001171 description: Public IP addresses of the deployed tsrv instances
dbiletskiy4c7177c2023-10-12 11:04:53 +02001172 value: { get_attr: [tsrvs, server_public_ip] }
Vasyl Saienkoe0b84ab2023-12-01 18:05:41 +02001173 tsrvs_private_floating_ips:
1174 description: Private IP addresses of the deployed tsrv instances
1175 value: { get_attr: [tsrvs, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +02001176 private_floating_cidr:
1177 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02001178 private_floating_network_pool_start:
1179 value: { get_param: private_floating_network_pool_start }
1180 private_floating_network_pool_end:
1181 value: { get_param: private_floating_network_pool_end }
1182 private_floating_network_gateway:
1183 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +03001184 private_floating_network_interface:
1185 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001186 ironic_baremetal_network_pool_start:
1187 value: { get_param: ironic_baremetal_network_pool_start }
1188 ironic_baremetal_network_pool_end:
1189 value: { get_param: ironic_baremetal_network_pool_end }
Mykyta Karpin832e9f82021-02-18 14:55:27 +02001190 ironic_baremetal_network_gateway:
1191 value: { get_param: ironic_baremetal_network_gateway }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001192 ironic_baremetal_network_interface:
1193 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +03001194 ironic_baremetal_network_vbmc_interface:
1195 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +03001196 ironic_baremetal_provisioning_interface:
1197 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001198 ironic_baremetal_pxe_interface:
1199 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +02001200 tunnel_interface:
1201 value: { get_param: tunnel_interface }
1202 live_migration_interface:
1203 value: { get_param: live_migration_interface }
1204 metallb_address_pools:
1205 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001206 ucp_wc_data:
1207 description: Metadata from ucp
1208 value: { get_attr: [ucp, wc_data] }
1209 masters_wc_data:
1210 description: Metadata from masters
1211 value: { get_attr: [masters, wc_data] }
1212 workers_wc_data:
1213 description: Metadata from workers
1214 value: { get_attr: [workers, wc_data] }
1215 cmps_wc_data:
1216 description: Metadata from cmps
1217 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001218 acmps_wc_data:
1219 description: Metadata from cmps with high computing features
1220 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001221 gtws_wc_data:
1222 description: Metadata from gtws
1223 value: { get_attr: [gtws, wc_data] }
1224 lmas_wc_data:
1225 description: Metadata from lmas
1226 value: { get_attr: [lmas, wc_data] }
1227 osds_wc_data:
1228 description: Metadata from osds
1229 value: { get_attr: [osds, wc_data] }
1230 ntws_wc_data:
1231 description: Metadata from ntws
1232 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +02001233 storage_frontend_network_cidr:
1234 description: Storage network which is used as clientNet in Ceph CR
1235 value: { get_param: storage_frontend_network_cidr }
1236 storage_backend_network_cidr:
1237 description: Storage network which is used as clusterNet in Ceph CR
1238 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +04001239 tungstenfabric_enabled:
1240 value: { get_param: tungstenfabric_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001241 tun_network_ext_router_ip:
1242 condition: ext_router_deploy
1243 description: IP address of vsrx/vmx in data network
1244 value: { get_param: tun_network_ext_router_ip }
1245 control_network_ext_router_ip:
1246 condition: ext_router_deploy
1247 description: IP address of vsrx/vmx in control/accessible network
1248 value: { get_param: control_network_ext_router_ip }
1249 public_network_ext_router_ip:
1250 condition: ext_router_deploy
1251 description: Public IP of vsrx/vmx instance
1252 value: { if: [ vmx_deploy, get_attr: [ vmx, re_floating_ip ], get_attr: [ vsrx, server_public_ip ] ] }
Anton Samoyloveb199272021-09-28 17:36:01 +04001253 accessible_router:
1254 description: Router from accessible network to public
1255 value: { get_attr: [accessible_network, accessible_router] }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001256 evpn_network_cidr:
1257 description: Network CIDR for evpn tests
1258 value: { get_param: evpn_network_cidr }
1259 evpn_network_pool_start:
1260 description: IPAM pool start for evpn tests
1261 value: { get_param: evpn_network_pool_start }
1262 evpn_network_pool_end:
1263 description: IPAM pool end for evpn tests
1264 value: { get_param: evpn_network_pool_end }