blob: bd628e2213b815a7a55992b26a776a9a31ab115b [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'
Mykyta Karpinb3a7f292024-10-18 15:44:36 +0200115 storage_frontend_network_gateway:
116 type: string
117 default: '10.12.0.1/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200118 storage_frontend_interface:
119 type: string
120 default: 'ens5'
121 storage_backend_network_cidr:
122 type: string
123 default: '10.11.0.0/24'
124 storage_backend_interface:
125 type: string
126 default: 'ens6'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300127 ironic_baremetal_network_cidr:
128 type: string
129 default: '10.13.0.0/24'
130 ironic_baremetal_network_ipam_pool_start:
131 type: string
132 default: '10.13.0.2'
133 ironic_baremetal_network_ipam_pool_end:
134 type: string
135 default: '10.13.0.99'
136 ironic_baremetal_network_pool_start:
137 type: string
138 default: '10.13.0.100'
139 ironic_baremetal_network_pool_end:
140 type: string
141 default: '10.13.0.200'
142 ironic_baremetal_network_gateway:
143 type: string
144 default: ''
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400145 ironic_baremetal_tunnel_cidr:
146 type: string
147 default: '10.16.0.0/24'
Vasyl Saienko4c468192020-05-19 11:51:13 +0300148 ironic_baremetal_network_interface:
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300149 type: string
Vasyl Saienko4c468192020-05-19 11:51:13 +0300150 default: 'veth-bm'
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300151 description: 'The name of interface that should be added to ovs bridge in Neutron'
152 ironic_baremetal_network_vbmc_interface:
153 type: string
154 default: 'veth-vbmc'
155 description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.'
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300156 ironic_baremetal_provisioning_interface:
157 type: string
158 default: 'br-baremetal'
159 description: 'The name of interface on node to which IP ironic services will bind.'
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400160 ironic_baremetal_pxe_interface:
161 type: string
162 default: 'pxe.1000'
163 description: 'Will be used as provisioning_interface for multi-tenancy mode'
164 ironic_mt_enabled:
165 type: boolean
166 default: false
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400167 tungstenfabric_enabled:
168 type: boolean
169 default: false
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400170 vmx_linux_img:
171 type: string
172 description: Name of image to use for servers
173 default: "vPFC-20170216"
174 vmx_linux_flav:
175 type: string
176 description: Name of image to use for servers
177 default: "vfp.lite"
178 vmx_junos_img:
179 type: string
180 description: Name of image to use for servers
181 default: "vmx-x86-64-17.1R1.8"
182 vmx_junos_flav:
183 type: string
184 description: Name of image to use for servers
185 default: "vcp.lite"
186 vmx_gateway_ip:
187 type: string
188 description: Default GW for vmx
189 default: '10.10.0.1'
190 vmx_lo_ip:
191 type: string
192 description: Ip of lo interface for vmx
193 default: '10.199.199.199'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200194 tun_network_cidr:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400195 type: string
196 default: '10.15.0.0/24'
Mykyta Karpin2aba4122020-12-02 15:03:09 +0200197 # When tun interface is added to ovs bridge inside vm,
198 # and arp responder is enabled on undercloud,
199 # ip adresses from tun network pool can't be used for
200 # configuring vxlan tunnels through ovs bridge (https://mirantis.jira.com/browse/PRODX-9337).
201 # Ip addresses unknown for arp responder should be used.
202 # In deployment pipeline addresses assigned by openstack to advanced compute nodes
203 # are changed inside instance to 10.15.0.1XX for this case.
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200204 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400205 type: string
206 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200207 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400208 type: string
209 default: '10.15.0.99'
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400210 tun_network_ext_router_ip:
211 type: string
212 description: IP address of vsrx/vmx in data network
213 default: ''
Anton Samoylov1af95862021-05-24 22:25:42 +0400214 tun_network_host_routes:
215 type: json
216 description: >
217 List of dicts with host routes in tunnel subnet, e.g:
218 - "destination": "10.100.100.1/32"
219 "nexthop": "172.16.1.1"
220 default: []
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400221 evpn_network_cidr:
222 type: string
223 default: '10.20.100.0/24'
224 evpn_network_ipam_pool_start:
225 type: string
226 description: pool start which is used as pool for IPAM and assigned to instances port
227 default: '10.20.100.2'
228 evpn_network_ipam_pool_end:
229 type: string
230 description: pool end which is used as pool for IPAM and assigned to instances port
231 default: '10.20.100.99'
232 evpn_network_pool_start:
233 type: string
234 default: '10.20.100.105'
235 evpn_network_pool_end:
236 type: string
237 default: '10.20.100.200'
238 evpn_network_vmx_ip:
239 type: string
240 description: IP address of vmx in a network for evpn test
241 default: ''
Dennis Dmitrievea894212020-03-12 21:36:43 +0200242 ucp_metadata:
243 type: json
244 default: {"role":"ucp"}
Mykyta Karpin9df830a2024-09-12 14:25:01 +0200245 ucp_audit_log_level:
246 type: string
247 default: ""
Dennis Dmitrievea894212020-03-12 21:36:43 +0200248 master_metadata:
249 type: json
250 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100251 worker_metadata:
252 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200253 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100254 cmp_metadata:
255 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200256 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200257 acmp_metadata:
258 type: json
259 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100260 gtw_metadata:
261 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200262 default: {}
263 lma_metadata:
264 type: json
265 default: {}
266 osd_metadata:
267 type: json
268 default: {}
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200269 frr_metadata:
270 type: json
271 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200272 ntw_metadata:
273 type: json
274 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300275 vbmc_metadata:
276 type: json
277 default: {}
Mykyta Karpinf24e01a2022-02-04 17:22:38 +0200278 tsrv_metadata:
279 type: json
Oleksandr Kononenko85907a32023-04-03 10:18:17 +0300280 default: {"labels": {"tempest": "enabled", "stepler": "enabled", "local-volume-provisioner": "enabled"}}
sgudzfe58e8a2020-02-11 13:31:40 +0200281 ucp_flavor:
282 type: string
Mykyta Karpin21eea7e2022-02-17 09:10:08 +0000283 default: 'mosk.s.ucp'
sgudzfe58e8a2020-02-11 13:31:40 +0200284 masters_flavor:
285 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300286 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200287 workers_flavor:
288 type: string
289 default: 'system.compact.openstack.control'
290 cmps_flavor:
291 type: string
292 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200293 acmps_flavor:
294 type: string
295 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200296 gtws_flavor:
297 type: string
298 default: 'system.compact.openstack.control'
299 lmas_flavor:
300 type: string
301 default: 'system.compact.openstack.control'
302 osds_flavor:
303 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100304 default: 'system.virtual.ceph.osd'
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200305 frrs_flavor:
306 type: string
307 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200308 ntws_flavor:
309 type: string
Alexander Ignatov8328a3c2021-10-15 18:45:02 +0400310 default: 'mos.tf.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300311 vbmcs_flavor:
312 type: string
313 default: 'system.compact.openstack.control'
Mykyta Karpinf24e01a2022-02-04 17:22:38 +0200314 tsrvs_flavor:
315 type: string
316 default: 'mosk.s.testserver'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200317 functions_override:
318 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200319 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200320 docker_ee_url:
321 type: string
Oleksandr Kononenkobf4ecf82024-02-01 11:02:53 +0200322 default: 'https://repos.mirantis.com/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200323 docker_ee_release:
324 type: string
325 default: 'stable-19.03'
Vasyl Saienkofa714102024-03-22 09:30:25 +0200326 docker_ee_packages:
327 type: string
328 default: "docker-ee"
Vasyl Saienko92133c02024-05-16 10:18:51 +0300329 kubernetes_container_runtime:
330 type: string
331 default: 'docker'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300332 docker_ucp_image:
333 type: string
334 default: 'docker/ucp:3.2.4'
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200335 docker_ucp_swarm_data_port:
336 type: string
337 default: 4789
Vasyl Saienkoa94bf182023-04-01 10:42:17 +0000338 binary_base_url:
339 type: string
340 default: 'http://binary.mirantis.com'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200341 tunnel_interface:
342 type: string
343 default: ''
344 live_migration_interface:
345 type: string
346 default: ''
347 metallb_address_pools:
348 type: comma_delimited_list
349 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200350 hardware_metadata:
351 description: The content of lab metadata.
352 default: ''
353 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200354 huge_pages:
355 description: >
356 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
357 If number is equal to 0 alloacation of huge pages won't be configured.
358 default: '0,0'
359 type: string
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200360 single_node:
361 description: If set true then AIO is going to be deployed.
362 type: string
363 default: 'false'
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200364 vsrx_image:
365 type: string
Anton Samoylov4a85a962021-09-29 10:30:08 +0400366 default: mos-vsrx-acc-fl-tun
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200367 vsrx_flavor:
368 type: string
369 default: oc_vsrx
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200370 cmp_lvm_loop_device_size:
371 description: >
372 The size of loop device for computes to configure LVM on, in gigabytes
373 type: number
Vasyl Saienkob78b8902021-03-09 17:39:42 +0200374 default: 50
Vasyl Saienkocd302062021-04-21 22:25:18 +0300375 cmp_cinder_lvm_loop_device_size:
376 description: >
377 The size of loop device for computes to configure LVM on, in gigabytes
378 type: number
379 default: 0
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200380 acmp_lvm_loop_device_size:
381 description: >
382 The size of loop device for advanced computes to configure LVM on, in gigabytes
383 type: number
384 default: 0
Vasyl Saienkocd302062021-04-21 22:25:18 +0300385 acmp_cinder_lvm_loop_device_size:
386 description: >
387 The size of loop device for advanced computes to configure LVM on, in gigabytes
388 type: number
389 default: 0
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300390 kubernetes_installer:
391 type: string
392 default: "ucp"
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400393 kubectl_version:
394 type: string
395 default: 1.18.8
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400396 volumes_per_osd_instance:
397 description: >
398 Number of extra volumes for OSD instance
399 type: number
400 default: 0
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200401 availability_zone:
402 type: string
403 default: nova
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400404 secure_overlay_enabled:
405 type: boolean
406 default: false
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400407 vsrx_enabled:
408 type: boolean
409 default: false
410 vmx_enabled:
411 type: boolean
412 default: false
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300413 devops_utils_refspec:
414 type: string
415 default: 'master'
Vasyl Saienko3e8ba732024-09-09 14:07:49 +0300416 k0s_version:
417 type: string
418 default: ''
Mykyta Karpinb3a7f292024-10-18 15:44:36 +0200419 external_k8s_service_network_cidr:
420 type: string
421 default: '10.172.1.0/24'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100422
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200423conditions:
424 aio_deploy:
425 equals:
426 - get_param: single_node
427 - 'true'
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400428 tf:
429 equals:
430 - get_param: tungstenfabric_enabled
431 - true
432 vsrx_deploy:
433 equals:
434 - get_param: vsrx_enabled
435 - true
436 vmx_deploy:
437 and:
438 - tf
439 - equals:
440 - get_param: vmx_enabled
441 - true
442 - not:
443 vsrx_deploy
444 ext_router_deploy:
445 or:
446 - vsrx_deploy
447 - vmx_deploy
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200448
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100449resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200450 keypair_name:
451 type: OS::Heat::RandomString
452 properties:
453 character_classes: [{"class": "hexdigits", "min": 1}]
454 length: 128
455 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100456 key_pair:
457 type: OS::Nova::KeyPair
458 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200459 name: { get_attr: [keypair_name, value] }
460 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100461 save_private_key: false
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100462
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200463 tun_network:
464 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400465 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200466 tun_network_cidr: { get_param: tun_network_cidr }
467 tun_network_pool_start: { get_param: tun_network_pool_start }
468 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylov1af95862021-05-24 22:25:42 +0400469 tun_network_host_routes: { get_param: tun_network_host_routes }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400470
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100471 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200472 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100473 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200474 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200475 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200476 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400477
Mykyta Karpinb3a7f292024-10-18 15:44:36 +0200478 storage_network:
479 type: MCP2::NetworkAccStorage
480 properties:
481 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
482 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
483
484 accessible_network:
485 depends_on:
486 - private_floating_network
487 - storage_network
488 type: MCP2::NetworkAcc
489 properties:
490 public_net_id: { get_param: public_net_id }
491 control_network_cidr: { get_param: control_network_cidr }
492 dns_nameservers: { get_param: dns_nameservers }
493 control_network_host_routes: { get_param: control_network_host_routes }
494 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
495 vsrx_enabled: { get_param: vsrx_enabled }
496 control_network_ext_router_ip: { get_param: control_network_ext_router_ip }
497 private_floating_network: {get_attr: [private_floating_network, private_floating_network_id]}
498 private_floating_network_cidr: { get_param: private_floating_network_cidr }
499 private_floating_network_gateway: { get_param: private_floating_network_gateway }
500 private_floating_subnet: {get_attr: [private_floating_network, private_floating_subnet_id]}
501 storage_frontend_network: {get_attr: [storage_network, storage_frontend_network_id]}
502 storage_frontend_network_gateway: { get_param: storage_frontend_network_gateway }
503 storage_frontend_subnet: {get_attr: [storage_network, storage_frontend_subnet_id]}
504
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400505 vmx:
506 depends_on:
507 - private_floating_network
508 - accessible_network
509 - tun_network
510 condition: vmx_deploy
511 type: MCP2::VMX
512 properties:
513 linux_img: { get_param: vmx_linux_img }
514 linux_flav: { get_param: vmx_linux_flav }
515 junos_img: { get_param: vmx_junos_img }
516 junos_flav: { get_param: vmx_junos_flav }
517 vmx_gateway_ip: { get_param: vmx_gateway_ip }
518 vmx_lo_ip: { get_param: vmx_lo_ip }
519 accessible_network_id: { get_attr: [ accessible_network, public_network ] }
520 control_network_cidr: { get_param: control_network_cidr }
521 control_network_vmx_ip: { get_param: control_network_ext_router_ip }
522 tun_network_id: { get_attr: [ tun_network, tun_network_id ] }
523 tun_network_vmx_ip: { get_param: tun_network_ext_router_ip }
524 tun_network_cidr: { get_param: tun_network_cidr }
525 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
526 private_floating_network_cidr: { get_param: private_floating_network_cidr }
527 private_floating_network_gateway: { get_param: private_floating_network_gateway }
528 evpn_network_cidr: { get_param: evpn_network_cidr }
529 evpn_network_ipam_pool_start: { get_param: evpn_network_ipam_pool_start }
530 evpn_network_ipam_pool_end: { get_param: evpn_network_ipam_pool_end }
531 evpn_network_vmx_ip: { get_param: evpn_network_vmx_ip }
532 public_net_id: { get_param: public_net_id }
533
534 vsrx:
535 depends_on:
536 - private_floating_network
537 - accessible_network
538 - tun_network
539 condition: vsrx_deploy
540 type: MCP2::VSRX
541 properties:
542 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
543 private_floating_network_gateway: { get_param: private_floating_network_gateway }
544 control_network_vsrx_ip: { get_param: control_network_ext_router_ip }
545 accessible_network: { get_attr: [ accessible_network, public_network ] }
546 data_network_vsrx_ip: { get_param: tun_network_ext_router_ip }
547 tun_network: { get_attr: [ tun_network, tun_network_id ] }
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200548 vsrx_image: { get_param: vsrx_image }
549 vsrx_flavor: { get_param: vsrx_flavor }
Mikhail Polenchuk3cf123d2021-03-12 14:23:24 +0000550 public_net_id: { get_param: public_net_id }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100551
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300552 ironic_baremetal_network:
553 type: MCP2::NetworkIronicFlat
554 properties:
555 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
556 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
557 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
558 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
559
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100560 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100561 depends_on:
562 - accessible_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200563 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100564 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200565 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200566 docker_ee_url: { get_param: docker_ee_url }
567 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200568 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300569 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300570 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200571 docker_ucp_swarm_data_port: { get_param: docker_ucp_swarm_data_port }
Stepan Rogov60bc3522020-12-16 17:43:25 +0300572 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000573 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200574 node_type: "ucp"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300575 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200576 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200577 image: { get_param: image }
578 flavor: { get_param: ucp_flavor }
579 accessible_network: { get_attr: [accessible_network, public_network] }
580 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
581 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
582 private_floating_interface: { get_param: private_floating_interface }
583 private_floating_network_cidr: { get_param: private_floating_network_cidr }
584 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
585 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200586 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200587 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200588 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200589 single_node: { get_param: single_node}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200590 availability_zone: { get_param: availability_zone }
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400591 secure_overlay_enabled: { get_param: secure_overlay_enabled }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400592 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300593 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3e8ba732024-09-09 14:07:49 +0300594 k0s_version: { get_param: k0s_version }
Mykyta Karpin9df830a2024-09-12 14:25:01 +0200595 ucp_audit_log_level: { get_param: ucp_audit_log_level }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200596
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100597 masters:
598 type: OS::Heat::ResourceGroup
599 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200600 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100601 properties:
602 count: { get_param: masters_size }
603 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200604 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100605 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200606 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200607 node_type: "master"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300608 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200609 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200610 image: { get_param: image }
611 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200612 docker_ee_url: { get_param: docker_ee_url }
613 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200614 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300615 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300616 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300617 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000618 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200619 accessible_network: { get_attr: [accessible_network, public_network] }
620 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
621 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
622 private_floating_interface: { get_param: private_floating_interface }
623 private_floating_network_cidr: { get_param: private_floating_network_cidr }
624 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
625 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200626 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200627 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200628 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200629 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200630 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400631 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300632 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200633
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100634 workers:
635 type: OS::Heat::ResourceGroup
636 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200637 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100638 properties:
639 count: { get_param: worker_size }
640 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200641 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100642 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200643 metadata: { get_param: worker_metadata}
644 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300645 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200646 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100647 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200648 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200649 docker_ee_url: { get_param: docker_ee_url }
650 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200651 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300652 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300653 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300654 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000655 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200656 accessible_network: { get_attr: [accessible_network, public_network] }
657 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
658 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
659 private_floating_interface: { get_param: private_floating_interface }
660 private_floating_network_cidr: { get_param: private_floating_network_cidr }
661 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100662 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200663 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200664 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200665 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200666 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200667 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
668 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
669 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200670 storage_backend_interface: { get_param: storage_backend_interface }
671 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
672 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
673 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300674 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
675 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300676 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400677 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
678 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400679 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200680 tun_network: { get_attr: [tun_network, tun_network_id] }
681 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200682 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200683 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300684 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200685 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400686 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300687 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200688
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100689 cmps:
690 type: OS::Heat::ResourceGroup
691 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200692 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100693 properties:
694 count: { get_param: cmp_size }
695 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200696 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100697 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200698 metadata: { get_param: cmp_metadata }
699 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300700 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200701 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100702 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200703 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200704 docker_ee_url: { get_param: docker_ee_url }
705 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200706 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300707 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300708 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300709 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000710 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200711 accessible_network: { get_attr: [accessible_network, public_network] }
712 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
713 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
714 private_floating_interface: { get_param: private_floating_interface }
715 private_floating_network_cidr: { get_param: private_floating_network_cidr }
716 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100717 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200718 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200719 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200720 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200721 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200722 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
723 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
724 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200725 storage_backend_interface: { get_param: storage_backend_interface }
726 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
727 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
728 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300729 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
730 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300731 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400732 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
733 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400734 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200735 tun_network: { get_attr: [tun_network, tun_network_id] }
736 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200737 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200738 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300739 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200740 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400741 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300742 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200743
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200744 acmps:
745 type: OS::Heat::ResourceGroup
746 depends_on:
747 - ucp
748 properties:
749 count: { get_param: acmp_size }
750 resource_def:
751 type: MCP2::SrvInstancesCephOSD
752 properties:
753 metadata: { get_param: acmp_metadata }
754 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300755 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200756 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200757 image: { get_param: image }
758 flavor: { get_param: acmps_flavor }
759 docker_ee_url: { get_param: docker_ee_url }
760 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200761 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300762 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200763 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300764 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000765 binary_base_url: { get_param: binary_base_url }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200766 accessible_network: { get_attr: [accessible_network, public_network] }
767 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
768 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
769 private_floating_interface: { get_param: private_floating_interface }
770 private_floating_network_cidr: { get_param: private_floating_network_cidr }
771 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
772 public_net_id: { get_param: public_net_id }
773 control_network_cidr: { get_param: control_network_cidr }
774 ucp_master_host: { get_attr: [ucp, server_private_ip] }
775 functions_override: { get_param: functions_override }
776 storage_frontend_interface: { get_param: storage_frontend_interface }
777 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
778 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
779 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
780 storage_backend_interface: { get_param: storage_backend_interface }
781 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
782 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
783 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
784 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
785 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
786 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
787 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
788 ironic_mt_enabled: { get_param: ironic_mt_enabled }
789 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200790 tun_network: { get_attr: [tun_network, tun_network_id] }
791 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200792 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200793 huge_pages: { get_param: huge_pages }
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200794 lvm_loop_device_size: { get_param: acmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300795 cinder_lvm_loop_device_size: { get_param: acmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200796 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400797 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300798 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200799
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100800 gtws:
801 type: OS::Heat::ResourceGroup
802 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200803 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100804 properties:
805 count: { get_param: gtw_size }
806 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200807 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100808 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200809 metadata: { get_param: gtw_metadata }
810 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300811 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200812 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100813 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200814 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200815 docker_ee_url: { get_param: docker_ee_url }
816 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200817 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300818 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300819 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300820 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000821 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200822 accessible_network: { get_attr: [accessible_network, public_network] }
823 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
824 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
825 private_floating_interface: { get_param: private_floating_interface }
826 private_floating_network_cidr: { get_param: private_floating_network_cidr }
827 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100828 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200829 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200830 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200831 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200832 storage_frontend_interface: { get_param: storage_frontend_interface }
833 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
834 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
835 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300836 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
837 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300838 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400839 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
840 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200841 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200842 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400843 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300844 devops_utils_refspec: { get_param: devops_utils_refspec }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100845
sgudzb94b4c62020-02-05 13:21:25 +0200846 lmas:
847 type: OS::Heat::ResourceGroup
848 depends_on:
849 - ucp
850 properties:
851 count: { get_param: lma_size }
852 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100853 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200854 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200855 metadata: { get_param: lma_metadata }
856 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300857 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200858 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200859 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200860 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200861 docker_ee_url: { get_param: docker_ee_url }
862 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200863 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300864 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300865 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300866 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000867 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200868 accessible_network: { get_attr: [accessible_network, public_network] }
869 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
870 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
871 private_floating_interface: { get_param: private_floating_interface }
872 private_floating_network_cidr: { get_param: private_floating_network_cidr }
873 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200874 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200875 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200876 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200877 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200878 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200879 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
880 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
881 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300882 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
883 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300884 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400885 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
886 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200887 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200888 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400889 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300890 devops_utils_refspec: { get_param: devops_utils_refspec }
sgudzb94b4c62020-02-05 13:21:25 +0200891
892 osds:
893 type: OS::Heat::ResourceGroup
894 depends_on:
895 - ucp
896 properties:
897 count: { get_param: osd_size }
898 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100899 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200900 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200901 metadata: { get_param: osd_metadata }
902 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300903 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200904 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200905 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200906 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200907 docker_ee_url: { get_param: docker_ee_url }
908 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200909 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300910 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300911 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300912 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000913 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200914 accessible_network: { get_attr: [accessible_network, public_network] }
915 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
916 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
917 private_floating_interface: { get_param: private_floating_interface }
918 private_floating_network_cidr: { get_param: private_floating_network_cidr }
919 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200920 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200921 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200922 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200923 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200924 storage_frontend_interface: { get_param: storage_frontend_interface }
925 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
926 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
927 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
928 storage_backend_interface: { get_param: storage_backend_interface }
929 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
930 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
931 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300932 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
933 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300934 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400935 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
936 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400937 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200938 tun_network: { get_attr: [tun_network, tun_network_id] }
939 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200940 hardware_metadata: { get_param: hardware_metadata}
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400941 num_volumes: { get_param: volumes_per_osd_instance }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200942 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400943 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300944 devops_utils_refspec: { get_param: devops_utils_refspec }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100945
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200946 frrs: # spares for osds/cmps
947 type: OS::Heat::ResourceGroup
948 depends_on:
949 - ucp
950 properties:
951 count: { get_param: frr_size }
952 resource_def:
953 type: MCP2::SrvInstancesCephOSD
954 properties:
955 metadata: { get_param: frr_metadata }
956 node_type: "frr"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300957 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200958 key_name: { get_attr: [keypair_name, value] }
959 image: { get_param: image }
960 flavor: { get_param: frrs_flavor }
961 docker_ee_url: { get_param: docker_ee_url }
962 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200963 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300964 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200965 docker_ucp_image: { get_param: docker_ucp_image}
966 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000967 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200968 accessible_network: { get_attr: [accessible_network, public_network] }
969 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
970 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
971 private_floating_interface: { get_param: private_floating_interface }
972 private_floating_network_cidr: { get_param: private_floating_network_cidr }
973 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
974 public_net_id: { get_param: public_net_id }
975 control_network_cidr: { get_param: control_network_cidr }
976 ucp_master_host: { get_attr: [ucp, server_private_ip] }
977 functions_override: { get_param: functions_override }
978 storage_frontend_interface: { get_param: storage_frontend_interface }
979 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
980 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
981 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
982 storage_backend_interface: { get_param: storage_backend_interface }
983 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
984 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
985 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
986 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
987 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
988 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
989 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
990 ironic_mt_enabled: { get_param: ironic_mt_enabled }
991 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
992 tun_network: { get_attr: [tun_network, tun_network_id] }
993 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
994 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko846c6342021-02-24 17:01:36 +0200995 frr_bgp_neighbors: { list_join: [',', {get_attr: [workers, server_tun_ip]}] }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200996 availability_zone: { get_param: availability_zone }
Mykyta Karpin56073192024-10-29 14:32:15 +0100997 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200998
sgudz43eb82b2020-02-11 16:36:48 +0200999 ntws:
1000 type: OS::Heat::ResourceGroup
1001 depends_on:
1002 - ucp
1003 properties:
1004 count: { get_param: ntw_size }
1005 resource_def:
Anton Samoylov23f52c92021-05-12 22:22:30 +04001006 type: MCP2::SrvInstancesCephOSD
sgudz43eb82b2020-02-11 16:36:48 +02001007 properties:
1008 metadata: { get_param: ntw_metadata }
1009 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +03001010 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +02001011 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +02001012 image: { get_param: image }
1013 flavor: { get_param: ntws_flavor }
1014 docker_ee_url: { get_param: docker_ee_url }
1015 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001016 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +03001017 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +03001018 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +03001019 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001020 binary_base_url: { get_param: binary_base_url }
sgudz43eb82b2020-02-11 16:36:48 +02001021 accessible_network: { get_attr: [accessible_network, public_network] }
1022 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1023 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1024 private_floating_interface: { get_param: private_floating_interface }
1025 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1026 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1027 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +02001028 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +02001029 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1030 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +02001031 storage_frontend_interface: { get_param: storage_frontend_interface }
1032 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1033 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1034 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Anton Samoylov23f52c92021-05-12 22:22:30 +04001035 storage_backend_interface: { get_param: storage_backend_interface }
1036 storage_backend_network: { get_attr: [ storage_network, storage_backend_network_id ] }
1037 storage_backend_subnet_id: { get_attr: [ storage_network, storage_backend_subnet_id ] }
1038 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +03001039 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1040 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001041 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001042 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1043 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylov23f52c92021-05-12 22:22:30 +04001044 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
1045 tun_network: { get_attr: [tun_network, tun_network_id] }
1046 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001047 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001048 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001049 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001050 devops_utils_refspec: { get_param: devops_utils_refspec }
sgudz43eb82b2020-02-11 16:36:48 +02001051
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001052 vbmcs:
1053 type: OS::Heat::ResourceGroup
1054 depends_on:
1055 - ucp
1056 properties:
1057 count: { get_param: vbmc_size }
1058 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +04001059 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001060 properties:
1061 metadata: { get_param: vbmc_metadata}
1062 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +03001063 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +02001064 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001065 image: { get_param: image }
1066 flavor: { get_param: vbmcs_flavor }
1067 docker_ee_url: { get_param: docker_ee_url }
1068 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001069 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +03001070 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +03001071 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +03001072 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001073 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001074 accessible_network: { get_attr: [accessible_network, public_network] }
1075 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1076 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1077 private_floating_interface: { get_param: private_floating_interface }
1078 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1079 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1080 public_net_id: { get_param: public_net_id }
1081 control_network_cidr: { get_param: control_network_cidr }
1082 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1083 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +04001084 storage_frontend_interface: { get_param: storage_frontend_interface }
1085 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1086 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1087 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +04001088 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1089 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001090 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001091 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1092 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001093 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001094 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001095 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001096 devops_utils_refspec: { get_param: devops_utils_refspec }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001097
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001098 tsrvs:
1099 type: OS::Heat::ResourceGroup
1100 depends_on:
1101 - ucp
1102 properties:
1103 count: { get_param: tsrv_size }
1104 resource_def:
1105 type: MCP2::SrvInstancesCeph
1106 properties:
1107 metadata: { get_param: tsrv_metadata}
1108 node_type: "worker"
1109 kubernetes_installer: { get_param: kubernetes_installer }
1110 key_name: { get_attr: [keypair_name, value] }
1111 image: { get_param: image }
1112 flavor: { get_param: tsrvs_flavor }
1113 docker_ee_url: { get_param: docker_ee_url }
1114 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001115 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +03001116 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001117 docker_ucp_image: { get_param: docker_ucp_image}
1118 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001119 binary_base_url: { get_param: binary_base_url }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001120 accessible_network: { get_attr: [accessible_network, public_network] }
1121 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1122 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1123 private_floating_interface: { get_param: private_floating_interface }
1124 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1125 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1126 public_net_id: { get_param: public_net_id }
1127 control_network_cidr: { get_param: control_network_cidr }
1128 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1129 functions_override: { get_param: functions_override }
1130 storage_frontend_interface: { get_param: storage_frontend_interface }
1131 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1132 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1133 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
1134 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1135 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
1136 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
1137 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1138 ironic_mt_enabled: { get_param: ironic_mt_enabled }
1139 hardware_metadata: { get_param: hardware_metadata}
1140 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001141 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001142 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001143
Mykyta Karpinb3a7f292024-10-18 15:44:36 +02001144 k8s_external_service_route:
1145 type: OS::Neutron::ExtraRoute
1146 depends_on:
1147 - tsrvs
1148 condition: { not: aio_deploy }
1149 properties:
1150 destination: { get_param: external_k8s_service_network_cidr }
1151 nexthop: { get_attr: [tsrvs, resource.0, server_private_ip ] }
1152 router_id: { get_attr: [accessible_network, accessible_router] }
1153
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001154outputs:
1155 ucp_ips:
1156 description: Private IP addresses of the deployed ucp instances
1157 value: { get_attr: [ucp, server_public_ip] }
1158 masters_ips:
1159 description: Private IP addresses of the deployed masters instances
1160 value: { get_attr: [masters, server_public_ip] }
1161 workers_ips:
1162 description: Private IP addresses of the deployed worker instances
1163 value: { get_attr: [workers, server_public_ip] }
1164 cmps_ips:
1165 description: Private IP addresses of the deployed cmp instances
1166 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001167 acmps_ips:
1168 description: Private IP addresses of the deployed cmp instances with high computing features
1169 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001170 gtws_ips:
1171 description: Private IP addresses of the deployed gtw instances
1172 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +02001173 lmas_ips:
1174 description: Private IP addresses of the deployed lma instances
1175 value: { get_attr: [lmas, server_public_ip] }
1176 osds_ips:
1177 description: Private IP addresses of the deployed osd instances
1178 value: { get_attr: [osds, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +02001179 ntws_ips:
1180 description: Private IP addresses of the deployed contrail instances
1181 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001182 vbmcs_ips:
1183 description: Private IP addresses of the deployed virtualbmcs instances
1184 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +03001185 vbmc_ironic_baremetal_ips:
1186 description: The IPs of ironic baremetal network assigned to vbmc hosts.
1187 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +02001188 frrs_ips:
1189 description: Private IP addresses of the deployed FRR instances
1190 value: { get_attr: [frrs, server_public_ip] }
1191 frrs_tunnel_ips:
1192 description: The tunnel IPs of FRR nodes
Michael Polenchuk2a770942021-03-04 18:01:17 +04001193 value: { get_attr: [frrs, server_tun_ip] }
Vasyl Saienkoc60d9592023-12-01 12:35:42 +00001194 ucp_private_floating_ip:
1195 description: Private IP addresses of the deployed ucp instances
1196 value: { get_attr: [ucp, server_private_floating_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +02001197 worker_private_floating_ips:
1198 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +02001199 value: {if: [aio_deploy, {get_attr: [ucp, server_private_floating_ip]}, {get_attr: [workers, server_private_floating_ip]}]}
dbiletskiy4c7177c2023-10-12 11:04:53 +02001200 tsrvs_ips:
Vasyl Saienkoe0b84ab2023-12-01 18:05:41 +02001201 description: Public IP addresses of the deployed tsrv instances
dbiletskiy4c7177c2023-10-12 11:04:53 +02001202 value: { get_attr: [tsrvs, server_public_ip] }
Vasyl Saienkoe0b84ab2023-12-01 18:05:41 +02001203 tsrvs_private_floating_ips:
1204 description: Private IP addresses of the deployed tsrv instances
1205 value: { get_attr: [tsrvs, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +02001206 private_floating_cidr:
1207 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02001208 private_floating_network_pool_start:
1209 value: { get_param: private_floating_network_pool_start }
1210 private_floating_network_pool_end:
1211 value: { get_param: private_floating_network_pool_end }
1212 private_floating_network_gateway:
1213 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +03001214 private_floating_network_interface:
1215 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001216 ironic_baremetal_network_pool_start:
1217 value: { get_param: ironic_baremetal_network_pool_start }
1218 ironic_baremetal_network_pool_end:
1219 value: { get_param: ironic_baremetal_network_pool_end }
Mykyta Karpin832e9f82021-02-18 14:55:27 +02001220 ironic_baremetal_network_gateway:
1221 value: { get_param: ironic_baremetal_network_gateway }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001222 ironic_baremetal_network_interface:
1223 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +03001224 ironic_baremetal_network_vbmc_interface:
1225 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +03001226 ironic_baremetal_provisioning_interface:
1227 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001228 ironic_baremetal_pxe_interface:
1229 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +02001230 tunnel_interface:
1231 value: { get_param: tunnel_interface }
1232 live_migration_interface:
1233 value: { get_param: live_migration_interface }
1234 metallb_address_pools:
1235 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001236 ucp_wc_data:
1237 description: Metadata from ucp
1238 value: { get_attr: [ucp, wc_data] }
1239 masters_wc_data:
1240 description: Metadata from masters
1241 value: { get_attr: [masters, wc_data] }
1242 workers_wc_data:
1243 description: Metadata from workers
1244 value: { get_attr: [workers, wc_data] }
1245 cmps_wc_data:
1246 description: Metadata from cmps
1247 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001248 acmps_wc_data:
1249 description: Metadata from cmps with high computing features
1250 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001251 gtws_wc_data:
1252 description: Metadata from gtws
1253 value: { get_attr: [gtws, wc_data] }
1254 lmas_wc_data:
1255 description: Metadata from lmas
1256 value: { get_attr: [lmas, wc_data] }
1257 osds_wc_data:
1258 description: Metadata from osds
1259 value: { get_attr: [osds, wc_data] }
1260 ntws_wc_data:
1261 description: Metadata from ntws
1262 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +02001263 storage_frontend_network_cidr:
1264 description: Storage network which is used as clientNet in Ceph CR
1265 value: { get_param: storage_frontend_network_cidr }
1266 storage_backend_network_cidr:
1267 description: Storage network which is used as clusterNet in Ceph CR
1268 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +04001269 tungstenfabric_enabled:
1270 value: { get_param: tungstenfabric_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001271 tun_network_ext_router_ip:
1272 condition: ext_router_deploy
1273 description: IP address of vsrx/vmx in data network
1274 value: { get_param: tun_network_ext_router_ip }
1275 control_network_ext_router_ip:
1276 condition: ext_router_deploy
1277 description: IP address of vsrx/vmx in control/accessible network
1278 value: { get_param: control_network_ext_router_ip }
1279 public_network_ext_router_ip:
1280 condition: ext_router_deploy
1281 description: Public IP of vsrx/vmx instance
1282 value: { if: [ vmx_deploy, get_attr: [ vmx, re_floating_ip ], get_attr: [ vsrx, server_public_ip ] ] }
Anton Samoyloveb199272021-09-28 17:36:01 +04001283 accessible_router:
1284 description: Router from accessible network to public
1285 value: { get_attr: [accessible_network, accessible_router] }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001286 evpn_network_cidr:
1287 description: Network CIDR for evpn tests
1288 value: { get_param: evpn_network_cidr }
1289 evpn_network_pool_start:
1290 description: IPAM pool start for evpn tests
1291 value: { get_param: evpn_network_pool_start }
1292 evpn_network_pool_end:
1293 description: IPAM pool end for evpn tests
1294 value: { get_param: evpn_network_pool_end }