blob: d1679801b697b993a44bddc8782542c8d528d8ee [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
95 default: '10.11.12.99'
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
Mykyta Karpinf456b332022-02-21 17:07:48 +0200274 default: {"labels": {"tempest": "enabled", "stepler": "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
Vasyl Saienko552250d2021-03-19 12:07:23 +0200316 default: 'https://storebits.docker.com/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200317 docker_ee_release:
318 type: string
319 default: 'stable-19.03'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300320 docker_ucp_image:
321 type: string
322 default: 'docker/ucp:3.2.4'
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200323 docker_ucp_swarm_data_port:
324 type: string
325 default: 4789
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200326 tunnel_interface:
327 type: string
328 default: ''
329 live_migration_interface:
330 type: string
331 default: ''
332 metallb_address_pools:
333 type: comma_delimited_list
334 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200335 hardware_metadata:
336 description: The content of lab metadata.
337 default: ''
338 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200339 huge_pages:
340 description: >
341 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
342 If number is equal to 0 alloacation of huge pages won't be configured.
343 default: '0,0'
344 type: string
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200345 single_node:
346 description: If set true then AIO is going to be deployed.
347 type: string
348 default: 'false'
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200349 vsrx_image:
350 type: string
Anton Samoylov4a85a962021-09-29 10:30:08 +0400351 default: mos-vsrx-acc-fl-tun
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200352 vsrx_flavor:
353 type: string
354 default: oc_vsrx
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200355 cmp_lvm_loop_device_size:
356 description: >
357 The size of loop device for computes to configure LVM on, in gigabytes
358 type: number
Vasyl Saienkob78b8902021-03-09 17:39:42 +0200359 default: 50
Vasyl Saienkocd302062021-04-21 22:25:18 +0300360 cmp_cinder_lvm_loop_device_size:
361 description: >
362 The size of loop device for computes to configure LVM on, in gigabytes
363 type: number
364 default: 0
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200365 acmp_lvm_loop_device_size:
366 description: >
367 The size of loop device for advanced computes to configure LVM on, in gigabytes
368 type: number
369 default: 0
Vasyl Saienkocd302062021-04-21 22:25:18 +0300370 acmp_cinder_lvm_loop_device_size:
371 description: >
372 The size of loop device for advanced computes to configure LVM on, in gigabytes
373 type: number
374 default: 0
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300375 kubernetes_installer:
376 type: string
377 default: "ucp"
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400378 volumes_per_osd_instance:
379 description: >
380 Number of extra volumes for OSD instance
381 type: number
382 default: 0
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200383 availability_zone:
384 type: string
385 default: nova
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400386 secure_overlay_enabled:
387 type: boolean
388 default: false
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400389 vsrx_enabled:
390 type: boolean
391 default: false
392 vmx_enabled:
393 type: boolean
394 default: false
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100395
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200396conditions:
397 aio_deploy:
398 equals:
399 - get_param: single_node
400 - 'true'
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400401 tf:
402 equals:
403 - get_param: tungstenfabric_enabled
404 - true
405 vsrx_deploy:
406 equals:
407 - get_param: vsrx_enabled
408 - true
409 vmx_deploy:
410 and:
411 - tf
412 - equals:
413 - get_param: vmx_enabled
414 - true
415 - not:
416 vsrx_deploy
417 ext_router_deploy:
418 or:
419 - vsrx_deploy
420 - vmx_deploy
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200421
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100422resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200423 keypair_name:
424 type: OS::Heat::RandomString
425 properties:
426 character_classes: [{"class": "hexdigits", "min": 1}]
427 length: 128
428 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100429 key_pair:
430 type: OS::Nova::KeyPair
431 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200432 name: { get_attr: [keypair_name, value] }
433 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100434 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200435 accessible_network:
436 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100437 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200438 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300439 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienkob9e69d02021-03-19 10:09:52 +0200440 dns_nameservers: { get_param: dns_nameservers }
Anton Samoylov1af95862021-05-24 22:25:42 +0400441 control_network_host_routes: { get_param: control_network_host_routes }
Anton Samoylov7080ae02021-09-23 17:41:06 +0400442 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400443 control_network_ext_router_ip: { get_param: control_network_ext_router_ip }
Anton Samoylov7080ae02021-09-23 17:41:06 +0400444 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100445
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200446 tun_network:
447 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400448 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200449 tun_network_cidr: { get_param: tun_network_cidr }
450 tun_network_pool_start: { get_param: tun_network_pool_start }
451 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylov1af95862021-05-24 22:25:42 +0400452 tun_network_host_routes: { get_param: tun_network_host_routes }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400453
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100454 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200455 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100456 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200457 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200458 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200459 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +0400460
461 vmx:
462 depends_on:
463 - private_floating_network
464 - accessible_network
465 - tun_network
466 condition: vmx_deploy
467 type: MCP2::VMX
468 properties:
469 linux_img: { get_param: vmx_linux_img }
470 linux_flav: { get_param: vmx_linux_flav }
471 junos_img: { get_param: vmx_junos_img }
472 junos_flav: { get_param: vmx_junos_flav }
473 vmx_gateway_ip: { get_param: vmx_gateway_ip }
474 vmx_lo_ip: { get_param: vmx_lo_ip }
475 accessible_network_id: { get_attr: [ accessible_network, public_network ] }
476 control_network_cidr: { get_param: control_network_cidr }
477 control_network_vmx_ip: { get_param: control_network_ext_router_ip }
478 tun_network_id: { get_attr: [ tun_network, tun_network_id ] }
479 tun_network_vmx_ip: { get_param: tun_network_ext_router_ip }
480 tun_network_cidr: { get_param: tun_network_cidr }
481 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
482 private_floating_network_cidr: { get_param: private_floating_network_cidr }
483 private_floating_network_gateway: { get_param: private_floating_network_gateway }
484 evpn_network_cidr: { get_param: evpn_network_cidr }
485 evpn_network_ipam_pool_start: { get_param: evpn_network_ipam_pool_start }
486 evpn_network_ipam_pool_end: { get_param: evpn_network_ipam_pool_end }
487 evpn_network_vmx_ip: { get_param: evpn_network_vmx_ip }
488 public_net_id: { get_param: public_net_id }
489
490 vsrx:
491 depends_on:
492 - private_floating_network
493 - accessible_network
494 - tun_network
495 condition: vsrx_deploy
496 type: MCP2::VSRX
497 properties:
498 private_floating_network_id: { get_attr: [private_floating_network, private_floating_network_id] }
499 private_floating_network_gateway: { get_param: private_floating_network_gateway }
500 control_network_vsrx_ip: { get_param: control_network_ext_router_ip }
501 accessible_network: { get_attr: [ accessible_network, public_network ] }
502 data_network_vsrx_ip: { get_param: tun_network_ext_router_ip }
503 tun_network: { get_attr: [ tun_network, tun_network_id ] }
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200504 vsrx_image: { get_param: vsrx_image }
505 vsrx_flavor: { get_param: vsrx_flavor }
Mikhail Polenchuk3cf123d2021-03-12 14:23:24 +0000506 public_net_id: { get_param: public_net_id }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100507
Mateusz Lose2ad0772020-02-27 21:41:54 +0100508 storage_network:
509 type: MCP2::NetworkAccStorage
510 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100511 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200512 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100513
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300514 ironic_baremetal_network:
515 type: MCP2::NetworkIronicFlat
516 properties:
517 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
518 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
519 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
520 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
521
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100522 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100523 depends_on:
524 - accessible_network
525 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200526 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100527 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200528 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200529 docker_ee_url: { get_param: docker_ee_url }
530 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300531 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienkocfbedc72021-02-15 18:02:56 +0200532 docker_ucp_swarm_data_port: { get_param: docker_ucp_swarm_data_port }
Stepan Rogov60bc3522020-12-16 17:43:25 +0300533 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200534 node_type: "ucp"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300535 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200536 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200537 image: { get_param: image }
538 flavor: { get_param: ucp_flavor }
539 accessible_network: { get_attr: [accessible_network, public_network] }
540 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
541 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
542 private_floating_interface: { get_param: private_floating_interface }
543 private_floating_network_cidr: { get_param: private_floating_network_cidr }
544 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
545 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200546 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200547 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200548 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200549 single_node: { get_param: single_node}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200550 availability_zone: { get_param: availability_zone }
Michael Polenchuk06bfa152022-02-15 17:50:04 +0400551 secure_overlay_enabled: { get_param: secure_overlay_enabled }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200552
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100553 masters:
554 type: OS::Heat::ResourceGroup
555 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200556 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100557 properties:
558 count: { get_param: masters_size }
559 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200560 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100561 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200562 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200563 node_type: "master"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300564 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200565 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200566 image: { get_param: image }
567 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200568 docker_ee_url: { get_param: docker_ee_url }
569 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300570 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300571 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200572 accessible_network: { get_attr: [accessible_network, public_network] }
573 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
574 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
575 private_floating_interface: { get_param: private_floating_interface }
576 private_floating_network_cidr: { get_param: private_floating_network_cidr }
577 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
578 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200579 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200580 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200581 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200582 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200583 availability_zone: { get_param: availability_zone }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200584
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100585 workers:
586 type: OS::Heat::ResourceGroup
587 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200588 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100589 properties:
590 count: { get_param: worker_size }
591 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200592 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100593 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200594 metadata: { get_param: worker_metadata}
595 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300596 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200597 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100598 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200599 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200600 docker_ee_url: { get_param: docker_ee_url }
601 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300602 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300603 docker_default_address_pool: { get_param: docker_default_address_pool }
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]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100610 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 }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200614 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200615 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
616 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
617 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200618 storage_backend_interface: { get_param: storage_backend_interface }
619 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
620 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
621 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300622 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
623 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300624 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400625 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
626 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400627 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200628 tun_network: { get_attr: [tun_network, tun_network_id] }
629 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200630 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200631 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300632 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200633 availability_zone: { get_param: availability_zone }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200634
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100635 cmps:
636 type: OS::Heat::ResourceGroup
637 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200638 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100639 properties:
640 count: { get_param: cmp_size }
641 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200642 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100643 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200644 metadata: { get_param: cmp_metadata }
645 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300646 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200647 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100648 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200649 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200650 docker_ee_url: { get_param: docker_ee_url }
651 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300652 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300653 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200654 accessible_network: { get_attr: [accessible_network, public_network] }
655 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
656 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
657 private_floating_interface: { get_param: private_floating_interface }
658 private_floating_network_cidr: { get_param: private_floating_network_cidr }
659 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100660 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200661 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200662 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200663 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200664 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200665 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
666 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
667 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200668 storage_backend_interface: { get_param: storage_backend_interface }
669 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
670 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
671 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300672 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
673 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300674 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400675 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
676 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400677 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200678 tun_network: { get_attr: [tun_network, tun_network_id] }
679 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200680 hardware_metadata: { get_param: hardware_metadata}
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200681 lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300682 cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200683 availability_zone: { get_param: availability_zone }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200684
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200685 acmps:
686 type: OS::Heat::ResourceGroup
687 depends_on:
688 - ucp
689 properties:
690 count: { get_param: acmp_size }
691 resource_def:
692 type: MCP2::SrvInstancesCephOSD
693 properties:
694 metadata: { get_param: acmp_metadata }
695 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300696 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200697 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200698 image: { get_param: image }
699 flavor: { get_param: acmps_flavor }
700 docker_ee_url: { get_param: docker_ee_url }
701 docker_ee_release: { get_param: docker_ee_release }
702 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300703 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200704 accessible_network: { get_attr: [accessible_network, public_network] }
705 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
706 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
707 private_floating_interface: { get_param: private_floating_interface }
708 private_floating_network_cidr: { get_param: private_floating_network_cidr }
709 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
710 public_net_id: { get_param: public_net_id }
711 control_network_cidr: { get_param: control_network_cidr }
712 ucp_master_host: { get_attr: [ucp, server_private_ip] }
713 functions_override: { get_param: functions_override }
714 storage_frontend_interface: { get_param: storage_frontend_interface }
715 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
716 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
717 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
718 storage_backend_interface: { get_param: storage_backend_interface }
719 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
720 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
721 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
722 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
723 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
724 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
725 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
726 ironic_mt_enabled: { get_param: ironic_mt_enabled }
727 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200728 tun_network: { get_attr: [tun_network, tun_network_id] }
729 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200730 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200731 huge_pages: { get_param: huge_pages }
Oleksii Grudev4e3c8b42021-03-02 19:02:45 +0200732 lvm_loop_device_size: { get_param: acmp_lvm_loop_device_size }
Vasyl Saienkocd302062021-04-21 22:25:18 +0300733 cinder_lvm_loop_device_size: { get_param: acmp_cinder_lvm_loop_device_size }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200734 availability_zone: { get_param: availability_zone }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200735
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100736 gtws:
737 type: OS::Heat::ResourceGroup
738 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200739 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100740 properties:
741 count: { get_param: gtw_size }
742 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200743 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100744 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200745 metadata: { get_param: gtw_metadata }
746 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300747 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200748 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100749 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200750 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200751 docker_ee_url: { get_param: docker_ee_url }
752 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300753 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300754 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200755 accessible_network: { get_attr: [accessible_network, public_network] }
756 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
757 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
758 private_floating_interface: { get_param: private_floating_interface }
759 private_floating_network_cidr: { get_param: private_floating_network_cidr }
760 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100761 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200762 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200763 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200764 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200765 storage_frontend_interface: { get_param: storage_frontend_interface }
766 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
767 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
768 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300769 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] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300771 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400772 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
773 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200774 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200775 availability_zone: { get_param: availability_zone }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100776
sgudzb94b4c62020-02-05 13:21:25 +0200777 lmas:
778 type: OS::Heat::ResourceGroup
779 depends_on:
780 - ucp
781 properties:
782 count: { get_param: lma_size }
783 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100784 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200785 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200786 metadata: { get_param: lma_metadata }
787 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300788 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200789 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200790 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200791 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200792 docker_ee_url: { get_param: docker_ee_url }
793 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300794 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300795 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200796 accessible_network: { get_attr: [accessible_network, public_network] }
797 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
798 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
799 private_floating_interface: { get_param: private_floating_interface }
800 private_floating_network_cidr: { get_param: private_floating_network_cidr }
801 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200802 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200803 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200804 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200805 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200806 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200807 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
808 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
809 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300810 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
811 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300812 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400813 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
814 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200815 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200816 availability_zone: { get_param: availability_zone }
sgudzb94b4c62020-02-05 13:21:25 +0200817
818 osds:
819 type: OS::Heat::ResourceGroup
820 depends_on:
821 - ucp
822 properties:
823 count: { get_param: osd_size }
824 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100825 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200826 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200827 metadata: { get_param: osd_metadata }
828 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300829 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200830 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200831 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200832 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200833 docker_ee_url: { get_param: docker_ee_url }
834 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300835 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300836 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200837 accessible_network: { get_attr: [accessible_network, public_network] }
838 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
839 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
840 private_floating_interface: { get_param: private_floating_interface }
841 private_floating_network_cidr: { get_param: private_floating_network_cidr }
842 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200843 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200844 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200845 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200846 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200847 storage_frontend_interface: { get_param: storage_frontend_interface }
848 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
849 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
850 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
851 storage_backend_interface: { get_param: storage_backend_interface }
852 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
853 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
854 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300855 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
856 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300857 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400858 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
859 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400860 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200861 tun_network: { get_attr: [tun_network, tun_network_id] }
862 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200863 hardware_metadata: { get_param: hardware_metadata}
Denis Egorenkoe09856a2021-11-01 13:52:46 +0400864 num_volumes: { get_param: volumes_per_osd_instance }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200865 availability_zone: { get_param: availability_zone }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100866
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200867 frrs: # spares for osds/cmps
868 type: OS::Heat::ResourceGroup
869 depends_on:
870 - ucp
871 properties:
872 count: { get_param: frr_size }
873 resource_def:
874 type: MCP2::SrvInstancesCephOSD
875 properties:
876 metadata: { get_param: frr_metadata }
877 node_type: "frr"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300878 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200879 key_name: { get_attr: [keypair_name, value] }
880 image: { get_param: image }
881 flavor: { get_param: frrs_flavor }
882 docker_ee_url: { get_param: docker_ee_url }
883 docker_ee_release: { get_param: docker_ee_release }
884 docker_ucp_image: { get_param: docker_ucp_image}
885 docker_default_address_pool: { get_param: docker_default_address_pool }
886 accessible_network: { get_attr: [accessible_network, public_network] }
887 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
888 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
889 private_floating_interface: { get_param: private_floating_interface }
890 private_floating_network_cidr: { get_param: private_floating_network_cidr }
891 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
892 public_net_id: { get_param: public_net_id }
893 control_network_cidr: { get_param: control_network_cidr }
894 ucp_master_host: { get_attr: [ucp, server_private_ip] }
895 functions_override: { get_param: functions_override }
896 storage_frontend_interface: { get_param: storage_frontend_interface }
897 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
898 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
899 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
900 storage_backend_interface: { get_param: storage_backend_interface }
901 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
902 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
903 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
904 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
905 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
906 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
907 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
908 ironic_mt_enabled: { get_param: ironic_mt_enabled }
909 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
910 tun_network: { get_attr: [tun_network, tun_network_id] }
911 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
912 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko846c6342021-02-24 17:01:36 +0200913 frr_bgp_neighbors: { list_join: [',', {get_attr: [workers, server_tun_ip]}] }
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200914 availability_zone: { get_param: availability_zone }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200915
sgudz43eb82b2020-02-11 16:36:48 +0200916 ntws:
917 type: OS::Heat::ResourceGroup
918 depends_on:
919 - ucp
920 properties:
921 count: { get_param: ntw_size }
922 resource_def:
Anton Samoylov23f52c92021-05-12 22:22:30 +0400923 type: MCP2::SrvInstancesCephOSD
sgudz43eb82b2020-02-11 16:36:48 +0200924 properties:
925 metadata: { get_param: ntw_metadata }
926 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300927 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200928 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200929 image: { get_param: image }
930 flavor: { get_param: ntws_flavor }
931 docker_ee_url: { get_param: docker_ee_url }
932 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300933 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300934 docker_default_address_pool: { get_param: docker_default_address_pool }
sgudz43eb82b2020-02-11 16:36:48 +0200935 accessible_network: { get_attr: [accessible_network, public_network] }
936 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
937 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
938 private_floating_interface: { get_param: private_floating_interface }
939 private_floating_network_cidr: { get_param: private_floating_network_cidr }
940 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
941 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200942 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200943 ucp_master_host: { get_attr: [ucp, server_private_ip] }
944 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200945 storage_frontend_interface: { get_param: storage_frontend_interface }
946 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
947 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
948 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Anton Samoylov23f52c92021-05-12 22:22:30 +0400949 storage_backend_interface: { get_param: storage_backend_interface }
950 storage_backend_network: { get_attr: [ storage_network, storage_backend_network_id ] }
951 storage_backend_subnet_id: { get_attr: [ storage_network, storage_backend_subnet_id ] }
952 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300953 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
954 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300955 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400956 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
957 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylov23f52c92021-05-12 22:22:30 +0400958 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
959 tun_network: { get_attr: [tun_network, tun_network_id] }
960 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200961 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +0200962 availability_zone: { get_param: availability_zone }
sgudz43eb82b2020-02-11 16:36:48 +0200963
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300964 vbmcs:
965 type: OS::Heat::ResourceGroup
966 depends_on:
967 - ucp
968 properties:
969 count: { get_param: vbmc_size }
970 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400971 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300972 properties:
973 metadata: { get_param: vbmc_metadata}
974 node_type: "worker"
Vasyl Saienko8d34ad02021-07-26 11:55:23 +0300975 kubernetes_installer: { get_param: kubernetes_installer }
Vasyl Saienkodef50442020-11-20 20:06:15 +0200976 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300977 image: { get_param: image }
978 flavor: { get_param: vbmcs_flavor }
979 docker_ee_url: { get_param: docker_ee_url }
980 docker_ee_release: { get_param: docker_ee_release }
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 Saienko36f2edf2020-05-14 10:44:52 +0300983 accessible_network: { get_attr: [accessible_network, public_network] }
984 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
985 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
986 private_floating_interface: { get_param: private_floating_interface }
987 private_floating_network_cidr: { get_param: private_floating_network_cidr }
988 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
989 public_net_id: { get_param: public_net_id }
990 control_network_cidr: { get_param: control_network_cidr }
991 ucp_master_host: { get_attr: [ucp, server_private_ip] }
992 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400993 storage_frontend_interface: { get_param: storage_frontend_interface }
994 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
995 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
996 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400997 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
998 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300999 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001000 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1001 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001002 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienkofa9bed02021-11-04 18:52:45 +02001003 availability_zone: { get_param: availability_zone }
Mykyta Karpinf24e01a2022-02-04 17:22:38 +02001004 tsrvs:
1005 type: OS::Heat::ResourceGroup
1006 depends_on:
1007 - ucp
1008 properties:
1009 count: { get_param: tsrv_size }
1010 resource_def:
1011 type: MCP2::SrvInstancesCeph
1012 properties:
1013 metadata: { get_param: tsrv_metadata}
1014 node_type: "worker"
1015 kubernetes_installer: { get_param: kubernetes_installer }
1016 key_name: { get_attr: [keypair_name, value] }
1017 image: { get_param: image }
1018 flavor: { get_param: tsrvs_flavor }
1019 docker_ee_url: { get_param: docker_ee_url }
1020 docker_ee_release: { get_param: docker_ee_release }
1021 docker_ucp_image: { get_param: docker_ucp_image}
1022 docker_default_address_pool: { get_param: docker_default_address_pool }
1023 accessible_network: { get_attr: [accessible_network, public_network] }
1024 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
1025 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
1026 private_floating_interface: { get_param: private_floating_interface }
1027 private_floating_network_cidr: { get_param: private_floating_network_cidr }
1028 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
1029 public_net_id: { get_param: public_net_id }
1030 control_network_cidr: { get_param: control_network_cidr }
1031 ucp_master_host: { get_attr: [ucp, server_private_ip] }
1032 functions_override: { get_param: functions_override }
1033 storage_frontend_interface: { get_param: storage_frontend_interface }
1034 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
1035 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
1036 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
1037 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
1038 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
1039 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
1040 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
1041 ironic_mt_enabled: { get_param: ironic_mt_enabled }
1042 hardware_metadata: { get_param: hardware_metadata}
1043 availability_zone: { get_param: availability_zone }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001044
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001045outputs:
1046 ucp_ips:
1047 description: Private IP addresses of the deployed ucp instances
1048 value: { get_attr: [ucp, server_public_ip] }
1049 masters_ips:
1050 description: Private IP addresses of the deployed masters instances
1051 value: { get_attr: [masters, server_public_ip] }
1052 workers_ips:
1053 description: Private IP addresses of the deployed worker instances
1054 value: { get_attr: [workers, server_public_ip] }
1055 cmps_ips:
1056 description: Private IP addresses of the deployed cmp instances
1057 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001058 acmps_ips:
1059 description: Private IP addresses of the deployed cmp instances with high computing features
1060 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001061 gtws_ips:
1062 description: Private IP addresses of the deployed gtw instances
1063 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +02001064 lmas_ips:
1065 description: Private IP addresses of the deployed lma instances
1066 value: { get_attr: [lmas, server_public_ip] }
1067 osds_ips:
1068 description: Private IP addresses of the deployed osd instances
1069 value: { get_attr: [osds, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +02001070 ntws_ips:
1071 description: Private IP addresses of the deployed contrail instances
1072 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001073 vbmcs_ips:
1074 description: Private IP addresses of the deployed virtualbmcs instances
1075 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +03001076 vbmc_ironic_baremetal_ips:
1077 description: The IPs of ironic baremetal network assigned to vbmc hosts.
1078 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +02001079 frrs_ips:
1080 description: Private IP addresses of the deployed FRR instances
1081 value: { get_attr: [frrs, server_public_ip] }
1082 frrs_tunnel_ips:
1083 description: The tunnel IPs of FRR nodes
Michael Polenchuk2a770942021-03-04 18:01:17 +04001084 value: { get_attr: [frrs, server_tun_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +02001085 worker_private_floating_ips:
1086 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +02001087 value: {if: [aio_deploy, {get_attr: [ucp, server_private_floating_ip]}, {get_attr: [workers, server_private_floating_ip]}]}
Oleh Hryhorov0019f592020-01-23 11:50:12 +02001088 private_floating_cidr:
1089 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02001090 private_floating_network_pool_start:
1091 value: { get_param: private_floating_network_pool_start }
1092 private_floating_network_pool_end:
1093 value: { get_param: private_floating_network_pool_end }
1094 private_floating_network_gateway:
1095 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +03001096 private_floating_network_interface:
1097 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +03001098 ironic_baremetal_network_pool_start:
1099 value: { get_param: ironic_baremetal_network_pool_start }
1100 ironic_baremetal_network_pool_end:
1101 value: { get_param: ironic_baremetal_network_pool_end }
Mykyta Karpin832e9f82021-02-18 14:55:27 +02001102 ironic_baremetal_network_gateway:
1103 value: { get_param: ironic_baremetal_network_gateway }
Vasyl Saienko4c468192020-05-19 11:51:13 +03001104 ironic_baremetal_network_interface:
1105 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +03001106 ironic_baremetal_network_vbmc_interface:
1107 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +03001108 ironic_baremetal_provisioning_interface:
1109 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +04001110 ironic_baremetal_pxe_interface:
1111 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +02001112 tunnel_interface:
1113 value: { get_param: tunnel_interface }
1114 live_migration_interface:
1115 value: { get_param: live_migration_interface }
1116 metallb_address_pools:
1117 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001118 ucp_wc_data:
1119 description: Metadata from ucp
1120 value: { get_attr: [ucp, wc_data] }
1121 masters_wc_data:
1122 description: Metadata from masters
1123 value: { get_attr: [masters, wc_data] }
1124 workers_wc_data:
1125 description: Metadata from workers
1126 value: { get_attr: [workers, wc_data] }
1127 cmps_wc_data:
1128 description: Metadata from cmps
1129 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +02001130 acmps_wc_data:
1131 description: Metadata from cmps with high computing features
1132 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +02001133 gtws_wc_data:
1134 description: Metadata from gtws
1135 value: { get_attr: [gtws, wc_data] }
1136 lmas_wc_data:
1137 description: Metadata from lmas
1138 value: { get_attr: [lmas, wc_data] }
1139 osds_wc_data:
1140 description: Metadata from osds
1141 value: { get_attr: [osds, wc_data] }
1142 ntws_wc_data:
1143 description: Metadata from ntws
1144 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +02001145 storage_frontend_network_cidr:
1146 description: Storage network which is used as clientNet in Ceph CR
1147 value: { get_param: storage_frontend_network_cidr }
1148 storage_backend_network_cidr:
1149 description: Storage network which is used as clusterNet in Ceph CR
1150 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +04001151 tungstenfabric_enabled:
1152 value: { get_param: tungstenfabric_enabled }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001153 tun_network_ext_router_ip:
1154 condition: ext_router_deploy
1155 description: IP address of vsrx/vmx in data network
1156 value: { get_param: tun_network_ext_router_ip }
1157 control_network_ext_router_ip:
1158 condition: ext_router_deploy
1159 description: IP address of vsrx/vmx in control/accessible network
1160 value: { get_param: control_network_ext_router_ip }
1161 public_network_ext_router_ip:
1162 condition: ext_router_deploy
1163 description: Public IP of vsrx/vmx instance
1164 value: { if: [ vmx_deploy, get_attr: [ vmx, re_floating_ip ], get_attr: [ vsrx, server_public_ip ] ] }
Anton Samoyloveb199272021-09-28 17:36:01 +04001165 accessible_router:
1166 description: Router from accessible network to public
1167 value: { get_attr: [accessible_network, accessible_router] }
Ilya Bumarskov128d4d22021-12-27 10:43:09 +04001168 evpn_network_cidr:
1169 description: Network CIDR for evpn tests
1170 value: { get_param: evpn_network_cidr }
1171 evpn_network_pool_start:
1172 description: IPAM pool start for evpn tests
1173 value: { get_param: evpn_network_pool_start }
1174 evpn_network_pool_end:
1175 description: IPAM pool end for evpn tests
1176 value: { get_param: evpn_network_pool_end }