blob: e4dccf7ca2b28f8fd6cae474942877c933512fa8 [file] [log] [blame]
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001heat_template_version: queens
2
3parameters:
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01004 image:
5 type: string
6 description: Name of image to use for servers
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01007 public_net_id:
8 type: string
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02009 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010010 description: >
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020011 ID of public network for which floating IP addresses will be allocated/
12 for baremetal case flat provision network for nodes
Vasyl Saienkob9e69d02021-03-19 10:09:52 +020013 dns_nameservers:
14 type: json
15 default: []
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020016 control_network_cidr:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020017 type: string
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020018 description: The CIDR of control network, used to detect control interface.
19 default: '10.10.0.0/24'
Anton Samoylov1af95862021-05-24 22:25:42 +040020 control_network_host_routes:
21 type: json
22 description: >
23 List of dicts with host routes in control subnet, e.g:
24 - "destination": "10.100.100.1/32"
25 "nexthop": "172.16.1.1"
26 default: []
Ilya Bumarskov128d4d22021-12-27 10:43:09 +040027 control_network_ext_router_ip:
Sergey Matov0709c762020-04-02 14:30:50 +040028 type: string
Ilya Bumarskov128d4d22021-12-27 10:43:09 +040029 description: IP address of vsrx/vmx in control network
Anton Samoylovea0b23e2020-06-26 14:17:51 +040030 default: ''
Stepan Rogov60bc3522020-12-16 17:43:25 +030031 docker_default_address_pool:
32 type: string
33 description: Default address pool for Docker ucp specific local networks
34 default: '10.10.1.0/16'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010035 masters_size:
36 type: number
37 description: Number of masters instances to deploy
38 default: 2
39 worker_size:
40 type: number
41 description: Number of workers to deploy
42 default: 5
43 cmp_size:
44 type: number
45 description: Number of cmp workers to deploy
46 default: 0
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +020047 acmp_size:
48 type: number
49 description: Number of advanced cmp workers to deploy
50 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010051 gtw_size:
52 type: number
53 description: Number of gtw workers to deploy
54 default: 0
sgudzb94b4c62020-02-05 13:21:25 +020055 lma_size:
56 type: number
57 description: Number of gtw workers to deploy
58 default: 0
59 osd_size:
60 type: number
61 description: Number of gtw workers to deploy
62 default: 0
Vasyl Saienko25bb75b2021-02-15 12:22:33 +020063 frr_size:
64 type: number
65 description: Number of frr nodes to deploy
66 default: 0
sgudz43eb82b2020-02-11 16:36:48 +020067 ntw_size:
68 type: number
69 description: Number of contrail nodes to deploy
70 default: 0
Vasyl Saienko36f2edf2020-05-14 10:44:52 +030071 vbmc_size:
72 type: number
73 description: Number of nodes for virtualbmc BM node simulator
74 default: 0
Mykyta Karpinf24e01a2022-02-04 17:22:38 +020075 tsrv_size:
76 type: number
77 description: Number of nodes for test servers
78 default: 1
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010079 ucp_boot_timeout:
80 type: number
81 description: Boot timeout for UCP instance
Vasyl Saienkof36f39c2020-03-10 00:21:42 +020082 default: 3600
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010083 cluster_public_key:
84 type: string
Oleh Hryhorov0019f592020-01-23 11:50:12 +020085 private_floating_network_cidr:
86 type: string
87 default: '10.11.12.0/24'
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +020088 private_floating_network_ipam_pool_start:
89 type: string
90 description: pool start which is used as pool for IPAM and assigned to instances port
91 default: '10.11.12.2'
92 private_floating_network_ipam_pool_end:
93 type: string
94 description: pool end which is used as pool for IPAM and assigned to instances port
Vasyl Saienko5b6d70a2023-04-10 13:55:31 +000095 default: '10.11.12.70'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020096 private_floating_network_pool_start:
97 type: string
98 default: '10.11.12.100'
99 private_floating_network_pool_end:
100 type: string
101 default: '10.11.12.200'
102 private_floating_network_gateway:
103 type: string
Oleh Hryhorovd3a30242020-02-11 15:24:01 +0200104 default: ''
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300105 private_floating_network_interface:
106 type: string
107 default: 'veth-phy'
108 description: 'The name of interface that should be added to external neutron bridge for floating network.'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200109 private_floating_interface:
110 description: Interface which carries floating network for child OpenStack.
111 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100112 storage_frontend_network_cidr:
113 type: string
114 default: '10.12.0.0/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200115 storage_frontend_interface:
116 type: string
117 default: 'ens5'
118 storage_backend_network_cidr:
119 type: string
120 default: '10.11.0.0/24'
121 storage_backend_interface:
122 type: string
123 default: 'ens6'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300124 ironic_baremetal_network_cidr:
125 type: string
126 default: '10.13.0.0/24'
127 ironic_baremetal_network_ipam_pool_start:
128 type: string
129 default: '10.13.0.2'
130 ironic_baremetal_network_ipam_pool_end:
131 type: string
132 default: '10.13.0.99'
133 ironic_baremetal_network_pool_start:
134 type: string
135 default: '10.13.0.100'
136 ironic_baremetal_network_pool_end:
137 type: string
138 default: '10.13.0.200'
139 ironic_baremetal_network_gateway:
140 type: string
141 default: ''
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400142 ironic_baremetal_tunnel_cidr:
143 type: string
144 default: '10.16.0.0/24'
Vasyl Saienko4c468192020-05-19 11:51:13 +0300145 ironic_baremetal_network_interface:
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300146 type: string
Vasyl Saienko4c468192020-05-19 11:51:13 +0300147 default: 'veth-bm'
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300148 description: 'The name of interface that should be added to ovs bridge in Neutron'
149 ironic_baremetal_network_vbmc_interface:
150 type: string
151 default: 'veth-vbmc'
152 description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.'
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300153 ironic_baremetal_provisioning_interface:
154 type: string
155 default: 'br-baremetal'
156 description: 'The name of interface on node to which IP ironic services will bind.'
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400157 ironic_baremetal_pxe_interface:
158 type: string
159 default: 'pxe.1000'
160 description: 'Will be used as provisioning_interface for multi-tenancy mode'
161 ironic_mt_enabled:
162 type: boolean
163 default: false
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400164 tungstenfabric_enabled:
165 type: boolean
166 default: false
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400167 vmx_linux_img:
168 type: string
169 description: Name of image to use for servers
170 default: "vPFC-20170216"
171 vmx_linux_flav:
172 type: string
173 description: Name of image to use for servers
174 default: "vfp.lite"
175 vmx_junos_img:
176 type: string
177 description: Name of image to use for servers
178 default: "vmx-x86-64-17.1R1.8"
179 vmx_junos_flav:
180 type: string
181 description: Name of image to use for servers
182 default: "vcp.lite"
183 vmx_gateway_ip:
184 type: string
185 description: Default GW for vmx
186 default: '10.10.0.1'
187 vmx_lo_ip:
188 type: string
189 description: Ip of lo interface for vmx
190 default: '10.199.199.199'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200191 tun_network_cidr:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400192 type: string
193 default: '10.15.0.0/24'
Mykyta Karpin2aba4122020-12-02 15:03:09 +0200194 # When tun interface is added to ovs bridge inside vm,
195 # and arp responder is enabled on undercloud,
196 # ip adresses from tun network pool can't be used for
197 # configuring vxlan tunnels through ovs bridge (https://mirantis.jira.com/browse/PRODX-9337).
198 # Ip addresses unknown for arp responder should be used.
199 # In deployment pipeline addresses assigned by openstack to advanced compute nodes
200 # are changed inside instance to 10.15.0.1XX for this case.
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200201 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400202 type: string
203 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200204 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400205 type: string
206 default: '10.15.0.99'
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400207 tun_network_ext_router_ip:
208 type: string
209 description: IP address of vsrx/vmx in data network
210 default: ''
Anton Samoylov1af95862021-05-24 22:25:42 +0400211 tun_network_host_routes:
212 type: json
213 description: >
214 List of dicts with host routes in tunnel subnet, e.g:
215 - "destination": "10.100.100.1/32"
216 "nexthop": "172.16.1.1"
217 default: []
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400218 evpn_network_cidr:
219 type: string
220 default: '10.20.100.0/24'
221 evpn_network_ipam_pool_start:
222 type: string
223 description: pool start which is used as pool for IPAM and assigned to instances port
224 default: '10.20.100.2'
225 evpn_network_ipam_pool_end:
226 type: string
227 description: pool end which is used as pool for IPAM and assigned to instances port
228 default: '10.20.100.99'
229 evpn_network_pool_start:
230 type: string
231 default: '10.20.100.105'
232 evpn_network_pool_end:
233 type: string
234 default: '10.20.100.200'
235 evpn_network_vmx_ip:
236 type: string
237 description: IP address of vmx in a network for evpn test
238 default: ''
Dennis Dmitrievea894212020-03-12 21:36:43 +0200239 ucp_metadata:
240 type: json
241 default: {"role":"ucp"}
242 master_metadata:
243 type: json
244 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100245 worker_metadata:
246 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200247 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100248 cmp_metadata:
249 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200250 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200251 acmp_metadata:
252 type: json
253 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100254 gtw_metadata:
255 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200256 default: {}
257 lma_metadata:
258 type: json
259 default: {}
260 osd_metadata:
261 type: json
262 default: {}
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200263 frr_metadata:
264 type: json
265 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200266 ntw_metadata:
267 type: json
268 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300269 vbmc_metadata:
270 type: json
271 default: {}
Mykyta Karpinf24e01a2022-02-04 17:22:38 +0200272 tsrv_metadata:
273 type: json
Oleksandr Kononenko85907a32023-04-03 10:18:17 +0300274 default: {"labels": {"tempest": "enabled", "stepler": "enabled", "local-volume-provisioner": "enabled"}}
sgudzfe58e8a2020-02-11 13:31:40 +0200275 ucp_flavor:
276 type: string
Mykyta Karpin21eea7e2022-02-17 09:10:08 +0000277 default: 'mosk.s.ucp'
sgudzfe58e8a2020-02-11 13:31:40 +0200278 masters_flavor:
279 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300280 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200281 workers_flavor:
282 type: string
283 default: 'system.compact.openstack.control'
284 cmps_flavor:
285 type: string
286 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200287 acmps_flavor:
288 type: string
289 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200290 gtws_flavor:
291 type: string
292 default: 'system.compact.openstack.control'
293 lmas_flavor:
294 type: string
295 default: 'system.compact.openstack.control'
296 osds_flavor:
297 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100298 default: 'system.virtual.ceph.osd'
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200299 frrs_flavor:
300 type: string
301 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200302 ntws_flavor:
303 type: string
Alexander Ignatov8328a3c2021-10-15 18:45:02 +0400304 default: 'mos.tf.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300305 vbmcs_flavor:
306 type: string
307 default: 'system.compact.openstack.control'
Mykyta Karpinf24e01a2022-02-04 17:22:38 +0200308 tsrvs_flavor:
309 type: string
310 default: 'mosk.s.testserver'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200311 functions_override:
312 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200313 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200314 docker_ee_url:
315 type: string
Oleksandr Kononenkobf4ecf82024-02-01 11:02:53 +0200316 default: 'https://repos.mirantis.com/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200317 docker_ee_release:
318 type: string
319 default: 'stable-19.03'
Vasyl Saienkofa714102024-03-22 09:30:25 +0200320 docker_ee_packages:
321 type: string
322 default: "docker-ee"
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300323 docker_ucp_image:
324 type: string
325 default: 'docker/ucp:3.2.4'
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200326 docker_ucp_swarm_data_port:
327 type: string
328 default: 4789
Vasyl Saienkoa94bf182023-04-01 10:42:17 +0000329 binary_base_url:
330 type: string
331 default: 'http://binary.mirantis.com'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200332 tunnel_interface:
333 type: string
334 default: ''
335 live_migration_interface:
336 type: string
337 default: ''
338 metallb_address_pools:
339 type: comma_delimited_list
340 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200341 hardware_metadata:
342 description: The content of lab metadata.
343 default: ''
344 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200345 huge_pages:
346 description: >
347 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
348 If number is equal to 0 alloacation of huge pages won't be configured.
349 default: '0,0'
350 type: string
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200351 single_node:
352 description: If set true then AIO is going to be deployed.
353 type: string
354 default: 'false'
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200355 vsrx_image:
356 type: string
Anton Samoylov4a85a962021-09-29 10:30:08 +0400357 default: mos-vsrx-acc-fl-tun
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200358 vsrx_flavor:
359 type: string
360 default: oc_vsrx
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200361 cmp_lvm_loop_device_size:
362 description: >
363 The size of loop device for computes to configure LVM on, in gigabytes
364 type: number
Vasyl Saienkob78b8902021-03-09 17:39:42 +0200365 default: 50
Vasyl Saienkocd302062021-04-21 22:25:18 +0300366 cmp_cinder_lvm_loop_device_size:
367 description: >
368 The size of loop device for computes to configure LVM on, in gigabytes
369 type: number
370 default: 0
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200371 acmp_lvm_loop_device_size:
372 description: >
373 The size of loop device for advanced computes to configure LVM on, in gigabytes
374 type: number
375 default: 0
Vasyl Saienkocd302062021-04-21 22:25:18 +0300376 acmp_cinder_lvm_loop_device_size:
377 description: >
378 The size of loop device for advanced computes to configure LVM on, in gigabytes
379 type: number
380 default: 0
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300381 kubernetes_installer:
382 type: string
383 default: "ucp"
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400384 kubectl_version:
385 type: string
386 default: 1.18.8
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400387 volumes_per_osd_instance:
388 description: >
389 Number of extra volumes for OSD instance
390 type: number
391 default: 0
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200392 availability_zone:
393 type: string
394 default: nova
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400395 secure_overlay_enabled:
396 type: boolean
397 default: false
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400398 vsrx_enabled:
399 type: boolean
400 default: false
401 vmx_enabled:
402 type: boolean
403 default: false
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300404 devops_utils_refspec:
405 type: string
406 default: 'master'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100407
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200408conditions:
409 aio_deploy:
410 equals:
411 - get_param: single_node
412 - 'true'
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400413 tf:
414 equals:
415 - get_param: tungstenfabric_enabled
416 - true
417 vsrx_deploy:
418 equals:
419 - get_param: vsrx_enabled
420 - true
421 vmx_deploy:
422 and:
423 - tf
424 - equals:
425 - get_param: vmx_enabled
426 - true
427 - not:
428 vsrx_deploy
429 ext_router_deploy:
430 or:
431 - vsrx_deploy
432 - vmx_deploy
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200433
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100434resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200435 keypair_name:
436 type: OS::Heat::RandomString
437 properties:
438 character_classes: [{"class": "hexdigits", "min": 1}]
439 length: 128
440 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100441 key_pair:
442 type: OS::Nova::KeyPair
443 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200444 name: { get_attr: [keypair_name, value] }
445 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100446 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200447 accessible_network:
448 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100449 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200450 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300451 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienkob9e69d02021-03-19 10:09:52 +0200452 dns_nameservers: { get_param: dns_nameservers }
Anton Samoylov1af95862021-05-24 22:25:42 +0400453 control_network_host_routes: { get_param: control_network_host_routes }
Anton Samoylov7080ae02021-09-23 17:41:06 +0400454 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
dbiletskiyfa8ab872023-11-22 13:07:29 +0100455 vsrx_enabled: { get_param: vsrx_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400456 control_network_ext_router_ip: { get_param: control_network_ext_router_ip }
Anton Samoylov7080ae02021-09-23 17:41:06 +0400457 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100458
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200459 tun_network:
460 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400461 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200462 tun_network_cidr: { get_param: tun_network_cidr }
463 tun_network_pool_start: { get_param: tun_network_pool_start }
464 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylov1af95862021-05-24 22:25:42 +0400465 tun_network_host_routes: { get_param: tun_network_host_routes }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400466
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100467 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200468 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100469 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200470 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200471 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200472 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400473
474 vmx:
475 depends_on:
476 - private_floating_network
477 - accessible_network
478 - tun_network
479 condition: vmx_deploy
480 type: MCP2::VMX
481 properties:
482 linux_img: { get_param: vmx_linux_img }
483 linux_flav: { get_param: vmx_linux_flav }
484 junos_img: { get_param: vmx_junos_img }
485 junos_flav: { get_param: vmx_junos_flav }
486 vmx_gateway_ip: { get_param: vmx_gateway_ip }
487 vmx_lo_ip: { get_param: vmx_lo_ip }
488 accessible_network_id: { get_attr: [ accessible_network, public_network ] }
489 control_network_cidr: { get_param: control_network_cidr }
490 control_network_vmx_ip: { get_param: control_network_ext_router_ip }
491 tun_network_id: { get_attr: [ tun_network, tun_network_id ] }
492 tun_network_vmx_ip: { get_param: tun_network_ext_router_ip }
493 tun_network_cidr: { get_param: tun_network_cidr }
494 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
495 private_floating_network_cidr: { get_param: private_floating_network_cidr }
496 private_floating_network_gateway: { get_param: private_floating_network_gateway }
497 evpn_network_cidr: { get_param: evpn_network_cidr }
498 evpn_network_ipam_pool_start: { get_param: evpn_network_ipam_pool_start }
499 evpn_network_ipam_pool_end: { get_param: evpn_network_ipam_pool_end }
500 evpn_network_vmx_ip: { get_param: evpn_network_vmx_ip }
501 public_net_id: { get_param: public_net_id }
502
503 vsrx:
504 depends_on:
505 - private_floating_network
506 - accessible_network
507 - tun_network
508 condition: vsrx_deploy
509 type: MCP2::VSRX
510 properties:
511 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
512 private_floating_network_gateway: { get_param: private_floating_network_gateway }
513 control_network_vsrx_ip: { get_param: control_network_ext_router_ip }
514 accessible_network: { get_attr: [ accessible_network, public_network ] }
515 data_network_vsrx_ip: { get_param: tun_network_ext_router_ip }
516 tun_network: { get_attr: [ tun_network, tun_network_id ] }
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200517 vsrx_image: { get_param: vsrx_image }
518 vsrx_flavor: { get_param: vsrx_flavor }
Mikhail Polenchuk3cf123d2021-03-12 14:23:24 +0000519 public_net_id: { get_param: public_net_id }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100520
Mateusz Lose2ad0772020-02-27 21:41:54 +0100521 storage_network:
522 type: MCP2::NetworkAccStorage
523 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100524 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200525 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100526
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300527 ironic_baremetal_network:
528 type: MCP2::NetworkIronicFlat
529 properties:
530 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
531 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
532 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
533 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
534
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100535 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100536 depends_on:
537 - accessible_network
538 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200539 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100540 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200541 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200542 docker_ee_url: { get_param: docker_ee_url }
543 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200544 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300545 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200546 docker_ucp_swarm_data_port: { get_param: docker_ucp_swarm_data_port }
Stepan Rogov60bc3522020-12-16 17:43:25 +0300547 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000548 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200549 node_type: "ucp"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300550 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200551 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200552 image: { get_param: image }
553 flavor: { get_param: ucp_flavor }
554 accessible_network: { get_attr: [accessible_network, public_network] }
555 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
556 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
557 private_floating_interface: { get_param: private_floating_interface }
558 private_floating_network_cidr: { get_param: private_floating_network_cidr }
559 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
560 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200561 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200562 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200563 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200564 single_node: { get_param: single_node}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200565 availability_zone: { get_param: availability_zone }
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400566 secure_overlay_enabled: { get_param: secure_overlay_enabled }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400567 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300568 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200569
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100570 masters:
571 type: OS::Heat::ResourceGroup
572 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200573 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100574 properties:
575 count: { get_param: masters_size }
576 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200577 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100578 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200579 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200580 node_type: "master"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300581 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200582 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200583 image: { get_param: image }
584 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200585 docker_ee_url: { get_param: docker_ee_url }
586 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200587 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300588 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300589 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000590 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200591 accessible_network: { get_attr: [accessible_network, public_network] }
592 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
593 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
594 private_floating_interface: { get_param: private_floating_interface }
595 private_floating_network_cidr: { get_param: private_floating_network_cidr }
596 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
597 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200598 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200599 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200600 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200601 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200602 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400603 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300604 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200605
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100606 workers:
607 type: OS::Heat::ResourceGroup
608 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200609 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100610 properties:
611 count: { get_param: worker_size }
612 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200613 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100614 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200615 metadata: { get_param: worker_metadata}
616 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300617 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200618 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100619 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200620 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200621 docker_ee_url: { get_param: docker_ee_url }
622 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200623 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300624 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300625 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000626 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200627 accessible_network: { get_attr: [accessible_network, public_network] }
628 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
629 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
630 private_floating_interface: { get_param: private_floating_interface }
631 private_floating_network_cidr: { get_param: private_floating_network_cidr }
632 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100633 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200634 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200635 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200636 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200637 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200638 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
639 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
640 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200641 storage_backend_interface: { get_param: storage_backend_interface }
642 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
643 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
644 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300645 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
646 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300647 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400648 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
649 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400650 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200651 tun_network: { get_attr: [tun_network, tun_network_id] }
652 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200653 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200654 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300655 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200656 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400657 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300658 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200659
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100660 cmps:
661 type: OS::Heat::ResourceGroup
662 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200663 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100664 properties:
665 count: { get_param: cmp_size }
666 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200667 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100668 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200669 metadata: { get_param: cmp_metadata }
670 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300671 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200672 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100673 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200674 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200675 docker_ee_url: { get_param: docker_ee_url }
676 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200677 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300678 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300679 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000680 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200681 accessible_network: { get_attr: [accessible_network, public_network] }
682 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
683 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
684 private_floating_interface: { get_param: private_floating_interface }
685 private_floating_network_cidr: { get_param: private_floating_network_cidr }
686 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100687 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200688 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200689 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200690 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200691 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200692 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
693 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
694 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200695 storage_backend_interface: { get_param: storage_backend_interface }
696 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
697 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
698 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300699 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
700 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300701 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400702 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
703 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400704 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200705 tun_network: { get_attr: [tun_network, tun_network_id] }
706 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200707 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200708 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300709 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200710 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400711 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300712 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200713
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200714 acmps:
715 type: OS::Heat::ResourceGroup
716 depends_on:
717 - ucp
718 properties:
719 count: { get_param: acmp_size }
720 resource_def:
721 type: MCP2::SrvInstancesCephOSD
722 properties:
723 metadata: { get_param: acmp_metadata }
724 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300725 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200726 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200727 image: { get_param: image }
728 flavor: { get_param: acmps_flavor }
729 docker_ee_url: { get_param: docker_ee_url }
730 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200731 docker_ee_packages: { get_param: docker_ee_packages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200732 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300733 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000734 binary_base_url: { get_param: binary_base_url }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200735 accessible_network: { get_attr: [accessible_network, public_network] }
736 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
737 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
738 private_floating_interface: { get_param: private_floating_interface }
739 private_floating_network_cidr: { get_param: private_floating_network_cidr }
740 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
741 public_net_id: { get_param: public_net_id }
742 control_network_cidr: { get_param: control_network_cidr }
743 ucp_master_host: { get_attr: [ucp, server_private_ip] }
744 functions_override: { get_param: functions_override }
745 storage_frontend_interface: { get_param: storage_frontend_interface }
746 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
747 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
748 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
749 storage_backend_interface: { get_param: storage_backend_interface }
750 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
751 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
752 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
753 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
754 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
755 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
756 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
757 ironic_mt_enabled: { get_param: ironic_mt_enabled }
758 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200759 tun_network: { get_attr: [tun_network, tun_network_id] }
760 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200761 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200762 huge_pages: { get_param: huge_pages }
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200763 lvm_loop_device_size: { get_param: acmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300764 cinder_lvm_loop_device_size: { get_param: acmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200765 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400766 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300767 devops_utils_refspec: { get_param: devops_utils_refspec }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200768
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100769 gtws:
770 type: OS::Heat::ResourceGroup
771 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200772 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100773 properties:
774 count: { get_param: gtw_size }
775 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200776 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100777 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200778 metadata: { get_param: gtw_metadata }
779 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300780 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200781 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100782 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200783 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200784 docker_ee_url: { get_param: docker_ee_url }
785 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200786 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300787 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300788 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000789 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200790 accessible_network: { get_attr: [accessible_network, public_network] }
791 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
792 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
793 private_floating_interface: { get_param: private_floating_interface }
794 private_floating_network_cidr: { get_param: private_floating_network_cidr }
795 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100796 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200797 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200798 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200799 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200800 storage_frontend_interface: { get_param: storage_frontend_interface }
801 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
802 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
803 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300804 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
805 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300806 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400807 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
808 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200809 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200810 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400811 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300812 devops_utils_refspec: { get_param: devops_utils_refspec }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100813
sgudzb94b4c62020-02-05 13:21:25 +0200814 lmas:
815 type: OS::Heat::ResourceGroup
816 depends_on:
817 - ucp
818 properties:
819 count: { get_param: lma_size }
820 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100821 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200822 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200823 metadata: { get_param: lma_metadata }
824 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300825 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200826 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200827 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200828 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200829 docker_ee_url: { get_param: docker_ee_url }
830 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200831 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300832 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300833 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000834 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200835 accessible_network: { get_attr: [accessible_network, public_network] }
836 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
837 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
838 private_floating_interface: { get_param: private_floating_interface }
839 private_floating_network_cidr: { get_param: private_floating_network_cidr }
840 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200841 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200842 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200843 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200844 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200845 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200846 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
847 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
848 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300849 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
850 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300851 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400852 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
853 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200854 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200855 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400856 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300857 devops_utils_refspec: { get_param: devops_utils_refspec }
sgudzb94b4c62020-02-05 13:21:25 +0200858
859 osds:
860 type: OS::Heat::ResourceGroup
861 depends_on:
862 - ucp
863 properties:
864 count: { get_param: osd_size }
865 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100866 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200867 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200868 metadata: { get_param: osd_metadata }
869 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300870 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200871 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200872 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200873 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200874 docker_ee_url: { get_param: docker_ee_url }
875 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200876 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300877 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300878 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000879 binary_base_url: { get_param: binary_base_url }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200880 accessible_network: { get_attr: [accessible_network, public_network] }
881 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
882 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
883 private_floating_interface: { get_param: private_floating_interface }
884 private_floating_network_cidr: { get_param: private_floating_network_cidr }
885 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200886 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200887 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200888 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200889 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200890 storage_frontend_interface: { get_param: storage_frontend_interface }
891 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
892 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
893 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
894 storage_backend_interface: { get_param: storage_backend_interface }
895 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
896 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
897 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300898 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
899 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300900 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400901 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
902 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400903 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200904 tun_network: { get_attr: [tun_network, tun_network_id] }
905 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200906 hardware_metadata: { get_param: hardware_metadata}
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400907 num_volumes: { get_param: volumes_per_osd_instance }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200908 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +0400909 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +0300910 devops_utils_refspec: { get_param: devops_utils_refspec }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100911
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200912 frrs: # spares for osds/cmps
913 type: OS::Heat::ResourceGroup
914 depends_on:
915 - ucp
916 properties:
917 count: { get_param: frr_size }
918 resource_def:
919 type: MCP2::SrvInstancesCephOSD
920 properties:
921 metadata: { get_param: frr_metadata }
922 node_type: "frr"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300923 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200924 key_name: { get_attr: [keypair_name, value] }
925 image: { get_param: image }
926 flavor: { get_param: frrs_flavor }
927 docker_ee_url: { get_param: docker_ee_url }
928 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200929 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200930 docker_ucp_image: { get_param: docker_ucp_image}
931 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000932 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200933 accessible_network: { get_attr: [accessible_network, public_network] }
934 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
935 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
936 private_floating_interface: { get_param: private_floating_interface }
937 private_floating_network_cidr: { get_param: private_floating_network_cidr }
938 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
939 public_net_id: { get_param: public_net_id }
940 control_network_cidr: { get_param: control_network_cidr }
941 ucp_master_host: { get_attr: [ucp, server_private_ip] }
942 functions_override: { get_param: functions_override }
943 storage_frontend_interface: { get_param: storage_frontend_interface }
944 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
945 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
946 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
947 storage_backend_interface: { get_param: storage_backend_interface }
948 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
949 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
950 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
951 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
952 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
953 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
954 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
955 ironic_mt_enabled: { get_param: ironic_mt_enabled }
956 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
957 tun_network: { get_attr: [tun_network, tun_network_id] }
958 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
959 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko846c6342021-02-24 17:01:36 +0200960 frr_bgp_neighbors: { list_join: [',', {get_attr: [workers, server_tun_ip]}] }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200961 availability_zone: { get_param: availability_zone }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200962
sgudz43eb82b2020-02-11 16:36:48 +0200963 ntws:
964 type: OS::Heat::ResourceGroup
965 depends_on:
966 - ucp
967 properties:
968 count: { get_param: ntw_size }
969 resource_def:
Anton Samoylov23f52c92021-05-12 22:22:30 +0400970 type: MCP2::SrvInstancesCephOSD
sgudz43eb82b2020-02-11 16:36:48 +0200971 properties:
972 metadata: { get_param: ntw_metadata }
973 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300974 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200975 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200976 image: { get_param: image }
977 flavor: { get_param: ntws_flavor }
978 docker_ee_url: { get_param: docker_ee_url }
979 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +0200980 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300981 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300982 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +0000983 binary_base_url: { get_param: binary_base_url }
sgudz43eb82b2020-02-11 16:36:48 +0200984 accessible_network: { get_attr: [accessible_network, public_network] }
985 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
986 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
987 private_floating_interface: { get_param: private_floating_interface }
988 private_floating_network_cidr: { get_param: private_floating_network_cidr }
989 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
990 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200991 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200992 ucp_master_host: { get_attr: [ucp, server_private_ip] }
993 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200994 storage_frontend_interface: { get_param: storage_frontend_interface }
995 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
996 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
997 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Anton Samoylov23f52c92021-05-12 22:22:30 +0400998 storage_backend_interface: { get_param: storage_backend_interface }
999 storage_backend_network: { get_attr: [ storage_network, storage_backend_network_id ] }
1000 storage_backend_subnet_id: { get_attr: [ storage_network, storage_backend_subnet_id ] }
1001 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +03001002 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1003 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001004 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001005 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1006 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylov23f52c92021-05-12 22:22:30 +04001007 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
1008 tun_network: { get_attr: [tun_network, tun_network_id] }
1009 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001010 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001011 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001012 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001013 devops_utils_refspec: { get_param: devops_utils_refspec }
sgudz43eb82b2020-02-11 16:36:48 +02001014
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001015 vbmcs:
1016 type: OS::Heat::ResourceGroup
1017 depends_on:
1018 - ucp
1019 properties:
1020 count: { get_param: vbmc_size }
1021 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +04001022 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001023 properties:
1024 metadata: { get_param: vbmc_metadata}
1025 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +03001026 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +02001027 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001028 image: { get_param: image }
1029 flavor: { get_param: vbmcs_flavor }
1030 docker_ee_url: { get_param: docker_ee_url }
1031 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001032 docker_ee_packages: { get_param: docker_ee_packages }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +03001033 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +03001034 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001035 binary_base_url: { get_param: binary_base_url }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001036 accessible_network: { get_attr: [accessible_network, public_network] }
1037 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1038 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1039 private_floating_interface: { get_param: private_floating_interface }
1040 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1041 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1042 public_net_id: { get_param: public_net_id }
1043 control_network_cidr: { get_param: control_network_cidr }
1044 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1045 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +04001046 storage_frontend_interface: { get_param: storage_frontend_interface }
1047 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1048 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1049 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +04001050 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1051 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001052 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001053 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1054 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001055 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001056 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001057 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001058 devops_utils_refspec: { get_param: devops_utils_refspec }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001059
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001060 tsrvs:
1061 type: OS::Heat::ResourceGroup
1062 depends_on:
1063 - ucp
1064 properties:
1065 count: { get_param: tsrv_size }
1066 resource_def:
1067 type: MCP2::SrvInstancesCeph
1068 properties:
1069 metadata: { get_param: tsrv_metadata}
1070 node_type: "worker"
1071 kubernetes_installer: { get_param: kubernetes_installer }
1072 key_name: { get_attr: [keypair_name, value] }
1073 image: { get_param: image }
1074 flavor: { get_param: tsrvs_flavor }
1075 docker_ee_url: { get_param: docker_ee_url }
1076 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkofa714102024-03-22 09:30:25 +02001077 docker_ee_packages: { get_param: docker_ee_packages }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001078 docker_ucp_image: { get_param: docker_ucp_image}
1079 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienkof8ab92a2023-04-01 10:50:18 +00001080 binary_base_url: { get_param: binary_base_url }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001081 accessible_network: { get_attr: [accessible_network, public_network] }
1082 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1083 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1084 private_floating_interface: { get_param: private_floating_interface }
1085 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1086 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1087 public_net_id: { get_param: public_net_id }
1088 control_network_cidr: { get_param: control_network_cidr }
1089 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1090 functions_override: { get_param: functions_override }
1091 storage_frontend_interface: { get_param: storage_frontend_interface }
1092 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1093 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1094 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
1095 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1096 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
1097 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
1098 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1099 ironic_mt_enabled: { get_param: ironic_mt_enabled }
1100 hardware_metadata: { get_param: hardware_metadata}
1101 availability_zone: { get_param: availability_zone }
Michael Polenchuk4f2e7762022-09-16 17:36:28 +04001102 kubectl_version: { get_param: kubectl_version }
Vasyl Saienko4a2832d2024-05-16 09:00:03 +03001103 devops_utils_refspec: { get_param: devops_utils_refspec }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001104
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001105outputs:
1106 ucp_ips:
1107 description: Private IP addresses of the deployed ucp instances
1108 value: { get_attr: [ucp, server_public_ip] }
1109 masters_ips:
1110 description: Private IP addresses of the deployed masters instances
1111 value: { get_attr: [masters, server_public_ip] }
1112 workers_ips:
1113 description: Private IP addresses of the deployed worker instances
1114 value: { get_attr: [workers, server_public_ip] }
1115 cmps_ips:
1116 description: Private IP addresses of the deployed cmp instances
1117 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001118 acmps_ips:
1119 description: Private IP addresses of the deployed cmp instances with high computing features
1120 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001121 gtws_ips:
1122 description: Private IP addresses of the deployed gtw instances
1123 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +02001124 lmas_ips:
1125 description: Private IP addresses of the deployed lma instances
1126 value: { get_attr: [lmas, server_public_ip] }
1127 osds_ips:
1128 description: Private IP addresses of the deployed osd instances
1129 value: { get_attr: [osds, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +02001130 ntws_ips:
1131 description: Private IP addresses of the deployed contrail instances
1132 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001133 vbmcs_ips:
1134 description: Private IP addresses of the deployed virtualbmcs instances
1135 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +03001136 vbmc_ironic_baremetal_ips:
1137 description: The IPs of ironic baremetal network assigned to vbmc hosts.
1138 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +02001139 frrs_ips:
1140 description: Private IP addresses of the deployed FRR instances
1141 value: { get_attr: [frrs, server_public_ip] }
1142 frrs_tunnel_ips:
1143 description: The tunnel IPs of FRR nodes
Michael Polenchuk2a770942021-03-04 18:01:17 +04001144 value: { get_attr: [frrs, server_tun_ip] }
Vasyl Saienkoc60d9592023-12-01 12:35:42 +00001145 ucp_private_floating_ip:
1146 description: Private IP addresses of the deployed ucp instances
1147 value: { get_attr: [ucp, server_private_floating_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +02001148 worker_private_floating_ips:
1149 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +02001150 value: {if: [aio_deploy, {get_attr: [ucp, server_private_floating_ip]}, {get_attr: [workers, server_private_floating_ip]}]}
dbiletskiy4c7177c2023-10-12 11:04:53 +02001151 tsrvs_ips:
Vasyl Saienkoe0b84ab2023-12-01 18:05:41 +02001152 description: Public IP addresses of the deployed tsrv instances
dbiletskiy4c7177c2023-10-12 11:04:53 +02001153 value: { get_attr: [tsrvs, server_public_ip] }
Vasyl Saienkoe0b84ab2023-12-01 18:05:41 +02001154 tsrvs_private_floating_ips:
1155 description: Private IP addresses of the deployed tsrv instances
1156 value: { get_attr: [tsrvs, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +02001157 private_floating_cidr:
1158 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02001159 private_floating_network_pool_start:
1160 value: { get_param: private_floating_network_pool_start }
1161 private_floating_network_pool_end:
1162 value: { get_param: private_floating_network_pool_end }
1163 private_floating_network_gateway:
1164 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +03001165 private_floating_network_interface:
1166 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001167 ironic_baremetal_network_pool_start:
1168 value: { get_param: ironic_baremetal_network_pool_start }
1169 ironic_baremetal_network_pool_end:
1170 value: { get_param: ironic_baremetal_network_pool_end }
Mykyta Karpin832e9f82021-02-18 14:55:27 +02001171 ironic_baremetal_network_gateway:
1172 value: { get_param: ironic_baremetal_network_gateway }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001173 ironic_baremetal_network_interface:
1174 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +03001175 ironic_baremetal_network_vbmc_interface:
1176 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +03001177 ironic_baremetal_provisioning_interface:
1178 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001179 ironic_baremetal_pxe_interface:
1180 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +02001181 tunnel_interface:
1182 value: { get_param: tunnel_interface }
1183 live_migration_interface:
1184 value: { get_param: live_migration_interface }
1185 metallb_address_pools:
1186 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001187 ucp_wc_data:
1188 description: Metadata from ucp
1189 value: { get_attr: [ucp, wc_data] }
1190 masters_wc_data:
1191 description: Metadata from masters
1192 value: { get_attr: [masters, wc_data] }
1193 workers_wc_data:
1194 description: Metadata from workers
1195 value: { get_attr: [workers, wc_data] }
1196 cmps_wc_data:
1197 description: Metadata from cmps
1198 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001199 acmps_wc_data:
1200 description: Metadata from cmps with high computing features
1201 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001202 gtws_wc_data:
1203 description: Metadata from gtws
1204 value: { get_attr: [gtws, wc_data] }
1205 lmas_wc_data:
1206 description: Metadata from lmas
1207 value: { get_attr: [lmas, wc_data] }
1208 osds_wc_data:
1209 description: Metadata from osds
1210 value: { get_attr: [osds, wc_data] }
1211 ntws_wc_data:
1212 description: Metadata from ntws
1213 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +02001214 storage_frontend_network_cidr:
1215 description: Storage network which is used as clientNet in Ceph CR
1216 value: { get_param: storage_frontend_network_cidr }
1217 storage_backend_network_cidr:
1218 description: Storage network which is used as clusterNet in Ceph CR
1219 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +04001220 tungstenfabric_enabled:
1221 value: { get_param: tungstenfabric_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001222 tun_network_ext_router_ip:
1223 condition: ext_router_deploy
1224 description: IP address of vsrx/vmx in data network
1225 value: { get_param: tun_network_ext_router_ip }
1226 control_network_ext_router_ip:
1227 condition: ext_router_deploy
1228 description: IP address of vsrx/vmx in control/accessible network
1229 value: { get_param: control_network_ext_router_ip }
1230 public_network_ext_router_ip:
1231 condition: ext_router_deploy
1232 description: Public IP of vsrx/vmx instance
1233 value: { if: [ vmx_deploy, get_attr: [ vmx, re_floating_ip ], get_attr: [ vsrx, server_public_ip ] ] }
Anton Samoyloveb199272021-09-28 17:36:01 +04001234 accessible_router:
1235 description: Router from accessible network to public
1236 value: { get_attr: [accessible_network, accessible_router] }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001237 evpn_network_cidr:
1238 description: Network CIDR for evpn tests
1239 value: { get_param: evpn_network_cidr }
1240 evpn_network_pool_start:
1241 description: IPAM pool start for evpn tests
1242 value: { get_param: evpn_network_pool_start }
1243 evpn_network_pool_end:
1244 description: IPAM pool end for evpn tests
1245 value: { get_param: evpn_network_pool_end }