blob: ee7c964b434bab96ef61888e2692df00bc6137f8 [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"}
Mykyta Karpin9df830a2024-09-12 14:25:01 +0200242 ucp_audit_log_level:
243 type: string
244 default: ""
Dennis Dmitrievea894212020-03-12 21:36:43 +0200245 master_metadata:
246 type: json
247 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100248 worker_metadata:
249 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200250 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100251 cmp_metadata:
252 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200253 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200254 acmp_metadata:
255 type: json
256 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100257 gtw_metadata:
258 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200259 default: {}
260 lma_metadata:
261 type: json
262 default: {}
263 osd_metadata:
264 type: json
265 default: {}
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200266 frr_metadata:
267 type: json
268 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200269 ntw_metadata:
270 type: json
271 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300272 vbmc_metadata:
273 type: json
274 default: {}
Mykyta Karpinf24e01a2022-02-04 17:22:38 +0200275 tsrv_metadata:
276 type: json
Oleksandr Kononenko85907a32023-04-03 10:18:17 +0300277 default: {"labels": {"tempest": "enabled", "stepler": "enabled", "local-volume-provisioner": "enabled"}}
sgudzfe58e8a2020-02-11 13:31:40 +0200278 ucp_flavor:
279 type: string
Mykyta Karpin21eea7e2022-02-17 09:10:08 +0000280 default: 'mosk.s.ucp'
sgudzfe58e8a2020-02-11 13:31:40 +0200281 masters_flavor:
282 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300283 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200284 workers_flavor:
285 type: string
286 default: 'system.compact.openstack.control'
287 cmps_flavor:
288 type: string
289 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200290 acmps_flavor:
291 type: string
292 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200293 gtws_flavor:
294 type: string
295 default: 'system.compact.openstack.control'
296 lmas_flavor:
297 type: string
298 default: 'system.compact.openstack.control'
299 osds_flavor:
300 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100301 default: 'system.virtual.ceph.osd'
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200302 frrs_flavor:
303 type: string
304 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200305 ntws_flavor:
306 type: string
Alexander Ignatov8328a3c2021-10-15 18:45:02 +0400307 default: 'mos.tf.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300308 vbmcs_flavor:
309 type: string
310 default: 'system.compact.openstack.control'
Mykyta Karpinf24e01a2022-02-04 17:22:38 +0200311 tsrvs_flavor:
312 type: string
313 default: 'mosk.s.testserver'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200314 functions_override:
315 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200316 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200317 docker_ee_url:
318 type: string
Oleksandr Kononenkobf4ecf82024-02-01 11:02:53 +0200319 default: 'https://repos.mirantis.com/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200320 docker_ee_release:
321 type: string
322 default: 'stable-19.03'
Vasyl Saienkofa714102024-03-22 09:30:25 +0200323 docker_ee_packages:
324 type: string
325 default: "docker-ee"
Vasyl Saienko92133c02024-05-16 10:18:51 +0300326 kubernetes_container_runtime:
327 type: string
328 default: 'docker'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300329 docker_ucp_image:
330 type: string
331 default: 'docker/ucp:3.2.4'
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200332 docker_ucp_swarm_data_port:
333 type: string
334 default: 4789
Vasyl Saienkoa94bf182023-04-01 10:42:17 +0000335 binary_base_url:
336 type: string
337 default: 'http://binary.mirantis.com'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200338 tunnel_interface:
339 type: string
340 default: ''
341 live_migration_interface:
342 type: string
343 default: ''
344 metallb_address_pools:
345 type: comma_delimited_list
346 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200347 hardware_metadata:
348 description: The content of lab metadata.
349 default: ''
350 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200351 huge_pages:
352 description: >
353 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
354 If number is equal to 0 alloacation of huge pages won't be configured.
355 default: '0,0'
356 type: string
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200357 single_node:
358 description: If set true then AIO is going to be deployed.
359 type: string
360 default: 'false'
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200361 vsrx_image:
362 type: string
Anton Samoylov4a85a962021-09-29 10:30:08 +0400363 default: mos-vsrx-acc-fl-tun
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200364 vsrx_flavor:
365 type: string
366 default: oc_vsrx
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200367 cmp_lvm_loop_device_size:
368 description: >
369 The size of loop device for computes to configure LVM on, in gigabytes
370 type: number
Vasyl Saienkob78b8902021-03-09 17:39:42 +0200371 default: 50
Vasyl Saienkocd302062021-04-21 22:25:18 +0300372 cmp_cinder_lvm_loop_device_size:
373 description: >
374 The size of loop device for computes to configure LVM on, in gigabytes
375 type: number
376 default: 0
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200377 acmp_lvm_loop_device_size:
378 description: >
379 The size of loop device for advanced computes to configure LVM on, in gigabytes
380 type: number
381 default: 0
Vasyl Saienkocd302062021-04-21 22:25:18 +0300382 acmp_cinder_lvm_loop_device_size:
383 description: >
384 The size of loop device for advanced computes to configure LVM on, in gigabytes
385 type: number
386 default: 0
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300387 kubernetes_installer:
388 type: string
389 default: "ucp"
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400390 kubectl_version:
391 type: string
392 default: 1.18.8
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400393 volumes_per_osd_instance:
394 description: >
395 Number of extra volumes for OSD instance
396 type: number
397 default: 0
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200398 availability_zone:
399 type: string
400 default: nova
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400401 secure_overlay_enabled:
402 type: boolean
403 default: false
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400404 vsrx_enabled:
405 type: boolean
406 default: false
407 vmx_enabled:
408 type: boolean
409 default: false
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300410 devops_utils_refspec:
411 type: string
412 default: 'master'
Vasyl Saienko3e8ba732024-09-09 14:07:49 +0300413 k0s_version:
414 type: string
415 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100416
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200417conditions:
418 aio_deploy:
419 equals:
420 - get_param: single_node
421 - 'true'
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400422 tf:
423 equals:
424 - get_param: tungstenfabric_enabled
425 - true
426 vsrx_deploy:
427 equals:
428 - get_param: vsrx_enabled
429 - true
430 vmx_deploy:
431 and:
432 - tf
433 - equals:
434 - get_param: vmx_enabled
435 - true
436 - not:
437 vsrx_deploy
438 ext_router_deploy:
439 or:
440 - vsrx_deploy
441 - vmx_deploy
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200442
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100443resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200444 keypair_name:
445 type: OS::Heat::RandomString
446 properties:
447 character_classes: [{"class": "hexdigits", "min": 1}]
448 length: 128
449 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100450 key_pair:
451 type: OS::Nova::KeyPair
452 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200453 name: { get_attr: [keypair_name, value] }
454 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100455 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200456 accessible_network:
457 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100458 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200459 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300460 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienkob9e69d02021-03-19 10:09:52 +0200461 dns_nameservers: { get_param: dns_nameservers }
Anton Samoylov1af95862021-05-24 22:25:42 +0400462 control_network_host_routes: { get_param: control_network_host_routes }
Anton Samoylov7080ae02021-09-23 17:41:06 +0400463 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
dbiletskiyfa8ab872023-11-22 13:07:29 +0100464 vsrx_enabled: { get_param: vsrx_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400465 control_network_ext_router_ip: { get_param: control_network_ext_router_ip }
Anton Samoylov7080ae02021-09-23 17:41:06 +0400466 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100467
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200468 tun_network:
469 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400470 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200471 tun_network_cidr: { get_param: tun_network_cidr }
472 tun_network_pool_start: { get_param: tun_network_pool_start }
473 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylov1af95862021-05-24 22:25:42 +0400474 tun_network_host_routes: { get_param: tun_network_host_routes }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400475
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100476 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200477 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100478 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200479 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200480 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200481 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400482
483 vmx:
484 depends_on:
485 - private_floating_network
486 - accessible_network
487 - tun_network
488 condition: vmx_deploy
489 type: MCP2::VMX
490 properties:
491 linux_img: { get_param: vmx_linux_img }
492 linux_flav: { get_param: vmx_linux_flav }
493 junos_img: { get_param: vmx_junos_img }
494 junos_flav: { get_param: vmx_junos_flav }
495 vmx_gateway_ip: { get_param: vmx_gateway_ip }
496 vmx_lo_ip: { get_param: vmx_lo_ip }
497 accessible_network_id: { get_attr: [ accessible_network, public_network ] }
498 control_network_cidr: { get_param: control_network_cidr }
499 control_network_vmx_ip: { get_param: control_network_ext_router_ip }
500 tun_network_id: { get_attr: [ tun_network, tun_network_id ] }
501 tun_network_vmx_ip: { get_param: tun_network_ext_router_ip }
502 tun_network_cidr: { get_param: tun_network_cidr }
503 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
504 private_floating_network_cidr: { get_param: private_floating_network_cidr }
505 private_floating_network_gateway: { get_param: private_floating_network_gateway }
506 evpn_network_cidr: { get_param: evpn_network_cidr }
507 evpn_network_ipam_pool_start: { get_param: evpn_network_ipam_pool_start }
508 evpn_network_ipam_pool_end: { get_param: evpn_network_ipam_pool_end }
509 evpn_network_vmx_ip: { get_param: evpn_network_vmx_ip }
510 public_net_id: { get_param: public_net_id }
511
512 vsrx:
513 depends_on:
514 - private_floating_network
515 - accessible_network
516 - tun_network
517 condition: vsrx_deploy
518 type: MCP2::VSRX
519 properties:
520 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
521 private_floating_network_gateway: { get_param: private_floating_network_gateway }
522 control_network_vsrx_ip: { get_param: control_network_ext_router_ip }
523 accessible_network: { get_attr: [ accessible_network, public_network ] }
524 data_network_vsrx_ip: { get_param: tun_network_ext_router_ip }
525 tun_network: { get_attr: [ tun_network, tun_network_id ] }
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200526 vsrx_image: { get_param: vsrx_image }
527 vsrx_flavor: { get_param: vsrx_flavor }
Mikhail Polenchuk3cf123d2021-03-12 14:23:24 +0000528 public_net_id: { get_param: public_net_id }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100529
Mateusz Lose2ad0772020-02-27 21:41:54 +0100530 storage_network:
531 type: MCP2::NetworkAccStorage
532 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100533 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200534 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100535
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300536 ironic_baremetal_network:
537 type: MCP2::NetworkIronicFlat
538 properties:
539 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
540 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
541 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
542 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
543
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100544 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100545 depends_on:
546 - accessible_network
547 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200548 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100549 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200550 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200551 docker_ee_url: { get_param: docker_ee_url }
552 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200553 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300554 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300555 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200556 docker_ucp_swarm_data_port: { get_param: docker_ucp_swarm_data_port }
Stepan Rogov60bc3522020-12-16 17:43:25 +0300557 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000558 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200559 node_type: "ucp"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300560 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200561 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200562 image: { get_param: image }
563 flavor: { get_param: ucp_flavor }
564 accessible_network: { get_attr: [accessible_network, public_network] }
565 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
566 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
567 private_floating_interface: { get_param: private_floating_interface }
568 private_floating_network_cidr: { get_param: private_floating_network_cidr }
569 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
570 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200571 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200572 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200573 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200574 single_node: { get_param: single_node}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200575 availability_zone: { get_param: availability_zone }
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400576 secure_overlay_enabled: { get_param: secure_overlay_enabled }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400577 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300578 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3e8ba732024-09-09 14:07:49 +0300579 k0s_version: { get_param: k0s_version }
Mykyta Karpin9df830a2024-09-12 14:25:01 +0200580 ucp_audit_log_level: { get_param: ucp_audit_log_level }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200581
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100582 masters:
583 type: OS::Heat::ResourceGroup
584 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200585 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100586 properties:
587 count: { get_param: masters_size }
588 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200589 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100590 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200591 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200592 node_type: "master"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300593 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200594 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200595 image: { get_param: image }
596 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200597 docker_ee_url: { get_param: docker_ee_url }
598 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200599 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300600 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300601 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300602 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000603 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200604 accessible_network: { get_attr: [accessible_network, public_network] }
605 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
606 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
607 private_floating_interface: { get_param: private_floating_interface }
608 private_floating_network_cidr: { get_param: private_floating_network_cidr }
609 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
610 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200611 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200612 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200613 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200614 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200615 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400616 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300617 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200618
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100619 workers:
620 type: OS::Heat::ResourceGroup
621 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200622 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100623 properties:
624 count: { get_param: worker_size }
625 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200626 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100627 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200628 metadata: { get_param: worker_metadata}
629 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300630 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200631 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100632 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200633 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200634 docker_ee_url: { get_param: docker_ee_url }
635 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200636 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300637 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300638 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300639 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000640 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200641 accessible_network: { get_attr: [accessible_network, public_network] }
642 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
643 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
644 private_floating_interface: { get_param: private_floating_interface }
645 private_floating_network_cidr: { get_param: private_floating_network_cidr }
646 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100647 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200648 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200649 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200650 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200651 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200652 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
653 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
654 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200655 storage_backend_interface: { get_param: storage_backend_interface }
656 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
657 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
658 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300659 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
660 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300661 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400662 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
663 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400664 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200665 tun_network: { get_attr: [tun_network, tun_network_id] }
666 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200667 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200668 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300669 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200670 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400671 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300672 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200673
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100674 cmps:
675 type: OS::Heat::ResourceGroup
676 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200677 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100678 properties:
679 count: { get_param: cmp_size }
680 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200681 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100682 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200683 metadata: { get_param: cmp_metadata }
684 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300685 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200686 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100687 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200688 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200689 docker_ee_url: { get_param: docker_ee_url }
690 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200691 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300692 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300693 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300694 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000695 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200696 accessible_network: { get_attr: [accessible_network, public_network] }
697 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
698 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
699 private_floating_interface: { get_param: private_floating_interface }
700 private_floating_network_cidr: { get_param: private_floating_network_cidr }
701 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100702 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200703 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200704 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200705 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200706 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200707 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
708 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
709 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200710 storage_backend_interface: { get_param: storage_backend_interface }
711 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
712 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
713 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300714 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
715 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300716 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400717 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
718 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400719 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200720 tun_network: { get_attr: [tun_network, tun_network_id] }
721 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200722 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200723 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300724 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200725 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400726 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300727 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200728
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200729 acmps:
730 type: OS::Heat::ResourceGroup
731 depends_on:
732 - ucp
733 properties:
734 count: { get_param: acmp_size }
735 resource_def:
736 type: MCP2::SrvInstancesCephOSD
737 properties:
738 metadata: { get_param: acmp_metadata }
739 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300740 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200741 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200742 image: { get_param: image }
743 flavor: { get_param: acmps_flavor }
744 docker_ee_url: { get_param: docker_ee_url }
745 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200746 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300747 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200748 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300749 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000750 binary_base_url: { get_param: binary_base_url }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200751 accessible_network: { get_attr: [accessible_network, public_network] }
752 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
753 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
754 private_floating_interface: { get_param: private_floating_interface }
755 private_floating_network_cidr: { get_param: private_floating_network_cidr }
756 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
757 public_net_id: { get_param: public_net_id }
758 control_network_cidr: { get_param: control_network_cidr }
759 ucp_master_host: { get_attr: [ucp, server_private_ip] }
760 functions_override: { get_param: functions_override }
761 storage_frontend_interface: { get_param: storage_frontend_interface }
762 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
763 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
764 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
765 storage_backend_interface: { get_param: storage_backend_interface }
766 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
767 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
768 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
769 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
770 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
771 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
772 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
773 ironic_mt_enabled: { get_param: ironic_mt_enabled }
774 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200775 tun_network: { get_attr: [tun_network, tun_network_id] }
776 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200777 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200778 huge_pages: { get_param: huge_pages }
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200779 lvm_loop_device_size: { get_param: acmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300780 cinder_lvm_loop_device_size: { get_param: acmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200781 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400782 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300783 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200784
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100785 gtws:
786 type: OS::Heat::ResourceGroup
787 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200788 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100789 properties:
790 count: { get_param: gtw_size }
791 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200792 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100793 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200794 metadata: { get_param: gtw_metadata }
795 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300796 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200797 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100798 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200799 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200800 docker_ee_url: { get_param: docker_ee_url }
801 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200802 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300803 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300804 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300805 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000806 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200807 accessible_network: { get_attr: [accessible_network, public_network] }
808 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
809 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
810 private_floating_interface: { get_param: private_floating_interface }
811 private_floating_network_cidr: { get_param: private_floating_network_cidr }
812 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100813 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200814 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200815 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200816 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200817 storage_frontend_interface: { get_param: storage_frontend_interface }
818 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
819 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
820 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300821 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
822 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300823 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400824 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
825 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200826 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200827 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400828 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300829 devops_utils_refspec: { get_param: devops_utils_refspec }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100830
sgudzb94b4c62020-02-05 13:21:25 +0200831 lmas:
832 type: OS::Heat::ResourceGroup
833 depends_on:
834 - ucp
835 properties:
836 count: { get_param: lma_size }
837 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100838 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200839 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200840 metadata: { get_param: lma_metadata }
841 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300842 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200843 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200844 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200845 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200846 docker_ee_url: { get_param: docker_ee_url }
847 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200848 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300849 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300850 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300851 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000852 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200853 accessible_network: { get_attr: [accessible_network, public_network] }
854 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
855 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
856 private_floating_interface: { get_param: private_floating_interface }
857 private_floating_network_cidr: { get_param: private_floating_network_cidr }
858 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200859 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200860 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200861 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200862 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200863 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200864 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
865 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
866 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300867 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
868 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300869 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400870 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
871 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200872 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200873 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400874 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300875 devops_utils_refspec: { get_param: devops_utils_refspec }
sgudzb94b4c62020-02-05 13:21:25 +0200876
877 osds:
878 type: OS::Heat::ResourceGroup
879 depends_on:
880 - ucp
881 properties:
882 count: { get_param: osd_size }
883 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100884 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200885 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200886 metadata: { get_param: osd_metadata }
887 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300888 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200889 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200890 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200891 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200892 docker_ee_url: { get_param: docker_ee_url }
893 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200894 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300895 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300896 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300897 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000898 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200899 accessible_network: { get_attr: [accessible_network, public_network] }
900 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
901 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
902 private_floating_interface: { get_param: private_floating_interface }
903 private_floating_network_cidr: { get_param: private_floating_network_cidr }
904 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200905 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200906 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200907 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200908 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200909 storage_frontend_interface: { get_param: storage_frontend_interface }
910 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
911 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
912 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
913 storage_backend_interface: { get_param: storage_backend_interface }
914 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
915 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
916 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300917 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
918 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300919 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400920 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
921 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400922 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200923 tun_network: { get_attr: [tun_network, tun_network_id] }
924 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200925 hardware_metadata: { get_param: hardware_metadata}
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400926 num_volumes: { get_param: volumes_per_osd_instance }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200927 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400928 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300929 devops_utils_refspec: { get_param: devops_utils_refspec }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100930
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200931 frrs: # spares for osds/cmps
932 type: OS::Heat::ResourceGroup
933 depends_on:
934 - ucp
935 properties:
936 count: { get_param: frr_size }
937 resource_def:
938 type: MCP2::SrvInstancesCephOSD
939 properties:
940 metadata: { get_param: frr_metadata }
941 node_type: "frr"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300942 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200943 key_name: { get_attr: [keypair_name, value] }
944 image: { get_param: image }
945 flavor: { get_param: frrs_flavor }
946 docker_ee_url: { get_param: docker_ee_url }
947 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200948 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +0300949 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200950 docker_ucp_image: { get_param: docker_ucp_image}
951 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000952 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200953 accessible_network: { get_attr: [accessible_network, public_network] }
954 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
955 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
956 private_floating_interface: { get_param: private_floating_interface }
957 private_floating_network_cidr: { get_param: private_floating_network_cidr }
958 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
959 public_net_id: { get_param: public_net_id }
960 control_network_cidr: { get_param: control_network_cidr }
961 ucp_master_host: { get_attr: [ucp, server_private_ip] }
962 functions_override: { get_param: functions_override }
963 storage_frontend_interface: { get_param: storage_frontend_interface }
964 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
965 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
966 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
967 storage_backend_interface: { get_param: storage_backend_interface }
968 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
969 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
970 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
971 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
972 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
973 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
974 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
975 ironic_mt_enabled: { get_param: ironic_mt_enabled }
976 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
977 tun_network: { get_attr: [tun_network, tun_network_id] }
978 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
979 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko846c6342021-02-24 17:01:36 +0200980 frr_bgp_neighbors: { list_join: [',', {get_attr: [workers, server_tun_ip]}] }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200981 availability_zone: { get_param: availability_zone }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200982
sgudz43eb82b2020-02-11 16:36:48 +0200983 ntws:
984 type: OS::Heat::ResourceGroup
985 depends_on:
986 - ucp
987 properties:
988 count: { get_param: ntw_size }
989 resource_def:
Anton Samoylov23f52c92021-05-12 22:22:30 +0400990 type: MCP2::SrvInstancesCephOSD
sgudz43eb82b2020-02-11 16:36:48 +0200991 properties:
992 metadata: { get_param: ntw_metadata }
993 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300994 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200995 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200996 image: { get_param: image }
997 flavor: { get_param: ntws_flavor }
998 docker_ee_url: { get_param: docker_ee_url }
999 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001000 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +03001001 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +03001002 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +03001003 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001004 binary_base_url: { get_param: binary_base_url }
sgudz43eb82b2020-02-11 16:36:48 +02001005 accessible_network: { get_attr: [accessible_network, public_network] }
1006 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1007 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1008 private_floating_interface: { get_param: private_floating_interface }
1009 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1010 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1011 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +02001012 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +02001013 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1014 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +02001015 storage_frontend_interface: { get_param: storage_frontend_interface }
1016 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1017 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1018 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Anton Samoylov23f52c92021-05-12 22:22:30 +04001019 storage_backend_interface: { get_param: storage_backend_interface }
1020 storage_backend_network: { get_attr: [ storage_network, storage_backend_network_id ] }
1021 storage_backend_subnet_id: { get_attr: [ storage_network, storage_backend_subnet_id ] }
1022 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +03001023 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1024 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001025 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001026 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1027 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylov23f52c92021-05-12 22:22:30 +04001028 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
1029 tun_network: { get_attr: [tun_network, tun_network_id] }
1030 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001031 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001032 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001033 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001034 devops_utils_refspec: { get_param: devops_utils_refspec }
sgudz43eb82b2020-02-11 16:36:48 +02001035
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001036 vbmcs:
1037 type: OS::Heat::ResourceGroup
1038 depends_on:
1039 - ucp
1040 properties:
1041 count: { get_param: vbmc_size }
1042 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +04001043 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001044 properties:
1045 metadata: { get_param: vbmc_metadata}
1046 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +03001047 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +02001048 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001049 image: { get_param: image }
1050 flavor: { get_param: vbmcs_flavor }
1051 docker_ee_url: { get_param: docker_ee_url }
1052 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001053 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +03001054 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +03001055 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +03001056 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001057 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001058 accessible_network: { get_attr: [accessible_network, public_network] }
1059 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1060 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1061 private_floating_interface: { get_param: private_floating_interface }
1062 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1063 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1064 public_net_id: { get_param: public_net_id }
1065 control_network_cidr: { get_param: control_network_cidr }
1066 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1067 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +04001068 storage_frontend_interface: { get_param: storage_frontend_interface }
1069 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1070 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1071 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +04001072 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1073 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001074 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001075 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1076 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001077 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001078 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001079 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001080 devops_utils_refspec: { get_param: devops_utils_refspec }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001081
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001082 tsrvs:
1083 type: OS::Heat::ResourceGroup
1084 depends_on:
1085 - ucp
1086 properties:
1087 count: { get_param: tsrv_size }
1088 resource_def:
1089 type: MCP2::SrvInstancesCeph
1090 properties:
1091 metadata: { get_param: tsrv_metadata}
1092 node_type: "worker"
1093 kubernetes_installer: { get_param: kubernetes_installer }
1094 key_name: { get_attr: [keypair_name, value] }
1095 image: { get_param: image }
1096 flavor: { get_param: tsrvs_flavor }
1097 docker_ee_url: { get_param: docker_ee_url }
1098 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001099 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko92133c02024-05-16 10:18:51 +03001100 kubernetes_container_runtime: { get_param: kubernetes_container_runtime }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001101 docker_ucp_image: { get_param: docker_ucp_image}
1102 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001103 binary_base_url: { get_param: binary_base_url }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001104 accessible_network: { get_attr: [accessible_network, public_network] }
1105 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1106 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1107 private_floating_interface: { get_param: private_floating_interface }
1108 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1109 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1110 public_net_id: { get_param: public_net_id }
1111 control_network_cidr: { get_param: control_network_cidr }
1112 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1113 functions_override: { get_param: functions_override }
1114 storage_frontend_interface: { get_param: storage_frontend_interface }
1115 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1116 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1117 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
1118 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1119 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
1120 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
1121 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1122 ironic_mt_enabled: { get_param: ironic_mt_enabled }
1123 hardware_metadata: { get_param: hardware_metadata}
1124 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001125 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001126 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001127
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001128outputs:
1129 ucp_ips:
1130 description: Private IP addresses of the deployed ucp instances
1131 value: { get_attr: [ucp, server_public_ip] }
1132 masters_ips:
1133 description: Private IP addresses of the deployed masters instances
1134 value: { get_attr: [masters, server_public_ip] }
1135 workers_ips:
1136 description: Private IP addresses of the deployed worker instances
1137 value: { get_attr: [workers, server_public_ip] }
1138 cmps_ips:
1139 description: Private IP addresses of the deployed cmp instances
1140 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001141 acmps_ips:
1142 description: Private IP addresses of the deployed cmp instances with high computing features
1143 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001144 gtws_ips:
1145 description: Private IP addresses of the deployed gtw instances
1146 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +02001147 lmas_ips:
1148 description: Private IP addresses of the deployed lma instances
1149 value: { get_attr: [lmas, server_public_ip] }
1150 osds_ips:
1151 description: Private IP addresses of the deployed osd instances
1152 value: { get_attr: [osds, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +02001153 ntws_ips:
1154 description: Private IP addresses of the deployed contrail instances
1155 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001156 vbmcs_ips:
1157 description: Private IP addresses of the deployed virtualbmcs instances
1158 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +03001159 vbmc_ironic_baremetal_ips:
1160 description: The IPs of ironic baremetal network assigned to vbmc hosts.
1161 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +02001162 frrs_ips:
1163 description: Private IP addresses of the deployed FRR instances
1164 value: { get_attr: [frrs, server_public_ip] }
1165 frrs_tunnel_ips:
1166 description: The tunnel IPs of FRR nodes
Michael Polenchuk2a770942021-03-04 18:01:17 +04001167 value: { get_attr: [frrs, server_tun_ip] }
Vasyl Saienkoc60d9592023-12-01 12:35:42 +00001168 ucp_private_floating_ip:
1169 description: Private IP addresses of the deployed ucp instances
1170 value: { get_attr: [ucp, server_private_floating_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +02001171 worker_private_floating_ips:
1172 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +02001173 value: {if: [aio_deploy, {get_attr: [ucp, server_private_floating_ip]}, {get_attr: [workers, server_private_floating_ip]}]}
dbiletskiy4c7177c2023-10-12 11:04:53 +02001174 tsrvs_ips:
Vasyl Saienkoe0b84ab2023-12-01 18:05:41 +02001175 description: Public IP addresses of the deployed tsrv instances
dbiletskiy4c7177c2023-10-12 11:04:53 +02001176 value: { get_attr: [tsrvs, server_public_ip] }
Vasyl Saienkoe0b84ab2023-12-01 18:05:41 +02001177 tsrvs_private_floating_ips:
1178 description: Private IP addresses of the deployed tsrv instances
1179 value: { get_attr: [tsrvs, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +02001180 private_floating_cidr:
1181 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02001182 private_floating_network_pool_start:
1183 value: { get_param: private_floating_network_pool_start }
1184 private_floating_network_pool_end:
1185 value: { get_param: private_floating_network_pool_end }
1186 private_floating_network_gateway:
1187 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +03001188 private_floating_network_interface:
1189 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001190 ironic_baremetal_network_pool_start:
1191 value: { get_param: ironic_baremetal_network_pool_start }
1192 ironic_baremetal_network_pool_end:
1193 value: { get_param: ironic_baremetal_network_pool_end }
Mykyta Karpin832e9f82021-02-18 14:55:27 +02001194 ironic_baremetal_network_gateway:
1195 value: { get_param: ironic_baremetal_network_gateway }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001196 ironic_baremetal_network_interface:
1197 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +03001198 ironic_baremetal_network_vbmc_interface:
1199 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +03001200 ironic_baremetal_provisioning_interface:
1201 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001202 ironic_baremetal_pxe_interface:
1203 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +02001204 tunnel_interface:
1205 value: { get_param: tunnel_interface }
1206 live_migration_interface:
1207 value: { get_param: live_migration_interface }
1208 metallb_address_pools:
1209 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001210 ucp_wc_data:
1211 description: Metadata from ucp
1212 value: { get_attr: [ucp, wc_data] }
1213 masters_wc_data:
1214 description: Metadata from masters
1215 value: { get_attr: [masters, wc_data] }
1216 workers_wc_data:
1217 description: Metadata from workers
1218 value: { get_attr: [workers, wc_data] }
1219 cmps_wc_data:
1220 description: Metadata from cmps
1221 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001222 acmps_wc_data:
1223 description: Metadata from cmps with high computing features
1224 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001225 gtws_wc_data:
1226 description: Metadata from gtws
1227 value: { get_attr: [gtws, wc_data] }
1228 lmas_wc_data:
1229 description: Metadata from lmas
1230 value: { get_attr: [lmas, wc_data] }
1231 osds_wc_data:
1232 description: Metadata from osds
1233 value: { get_attr: [osds, wc_data] }
1234 ntws_wc_data:
1235 description: Metadata from ntws
1236 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +02001237 storage_frontend_network_cidr:
1238 description: Storage network which is used as clientNet in Ceph CR
1239 value: { get_param: storage_frontend_network_cidr }
1240 storage_backend_network_cidr:
1241 description: Storage network which is used as clusterNet in Ceph CR
1242 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +04001243 tungstenfabric_enabled:
1244 value: { get_param: tungstenfabric_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001245 tun_network_ext_router_ip:
1246 condition: ext_router_deploy
1247 description: IP address of vsrx/vmx in data network
1248 value: { get_param: tun_network_ext_router_ip }
1249 control_network_ext_router_ip:
1250 condition: ext_router_deploy
1251 description: IP address of vsrx/vmx in control/accessible network
1252 value: { get_param: control_network_ext_router_ip }
1253 public_network_ext_router_ip:
1254 condition: ext_router_deploy
1255 description: Public IP of vsrx/vmx instance
1256 value: { if: [ vmx_deploy, get_attr: [ vmx, re_floating_ip ], get_attr: [ vsrx, server_public_ip ] ] }
Anton Samoyloveb199272021-09-28 17:36:01 +04001257 accessible_router:
1258 description: Router from accessible network to public
1259 value: { get_attr: [accessible_network, accessible_router] }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001260 evpn_network_cidr:
1261 description: Network CIDR for evpn tests
1262 value: { get_param: evpn_network_cidr }
1263 evpn_network_pool_start:
1264 description: IPAM pool start for evpn tests
1265 value: { get_param: evpn_network_pool_start }
1266 evpn_network_pool_end:
1267 description: IPAM pool end for evpn tests
1268 value: { get_param: evpn_network_pool_end }