blob: 7864c0680bf6b1c98c81800885deb711890fd8bb [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 Saienko0fa6f192020-03-06 16:08:51 +020013 control_network_cidr:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020014 type: string
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020015 description: The CIDR of control network, used to detect control interface.
16 default: '10.10.0.0/24'
Sergey Matov0709c762020-04-02 14:30:50 +040017 control_network_vsrx_peering_ip:
18 type: string
19 description: IP address of vsrx for tungsten fabric peering
20 default: ''
Anton Samoylovea0b23e2020-06-26 14:17:51 +040021 data_network_vsrx_ip:
22 type: string
23 description: IP address of vsrx in tungsten fabric data network
24 default: ''
Stepan Rogov60bc3522020-12-16 17:43:25 +030025 docker_default_address_pool:
26 type: string
27 description: Default address pool for Docker ucp specific local networks
28 default: '10.10.1.0/16'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010029 masters_size:
30 type: number
31 description: Number of masters instances to deploy
32 default: 2
33 worker_size:
34 type: number
35 description: Number of workers to deploy
36 default: 5
37 cmp_size:
38 type: number
39 description: Number of cmp workers to deploy
40 default: 0
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +020041 acmp_size:
42 type: number
43 description: Number of advanced cmp workers to deploy
44 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010045 gtw_size:
46 type: number
47 description: Number of gtw workers to deploy
48 default: 0
sgudzb94b4c62020-02-05 13:21:25 +020049 lma_size:
50 type: number
51 description: Number of gtw workers to deploy
52 default: 0
53 osd_size:
54 type: number
55 description: Number of gtw workers to deploy
56 default: 0
Dennis Dmitriev81da4222020-02-25 17:53:04 +020057 spare_size:
58 type: number
59 description: Number of gtw workers to deploy
60 default: 0
sgudz43eb82b2020-02-11 16:36:48 +020061 ntw_size:
62 type: number
63 description: Number of contrail nodes to deploy
64 default: 0
Vasyl Saienko36f2edf2020-05-14 10:44:52 +030065 vbmc_size:
66 type: number
67 description: Number of nodes for virtualbmc BM node simulator
68 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010069 ucp_boot_timeout:
70 type: number
71 description: Boot timeout for UCP instance
Vasyl Saienkof36f39c2020-03-10 00:21:42 +020072 default: 3600
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010073 cluster_public_key:
74 type: string
Oleh Hryhorov0019f592020-01-23 11:50:12 +020075 private_floating_network_cidr:
76 type: string
77 default: '10.11.12.0/24'
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +020078 private_floating_network_ipam_pool_start:
79 type: string
80 description: pool start which is used as pool for IPAM and assigned to instances port
81 default: '10.11.12.2'
82 private_floating_network_ipam_pool_end:
83 type: string
84 description: pool end which is used as pool for IPAM and assigned to instances port
85 default: '10.11.12.99'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020086 private_floating_network_pool_start:
87 type: string
88 default: '10.11.12.100'
89 private_floating_network_pool_end:
90 type: string
91 default: '10.11.12.200'
92 private_floating_network_gateway:
93 type: string
Oleh Hryhorovd3a30242020-02-11 15:24:01 +020094 default: ''
Vasyl Saienkoc943f432020-04-21 12:15:57 +030095 private_floating_network_interface:
96 type: string
97 default: 'veth-phy'
98 description: 'The name of interface that should be added to external neutron bridge for floating network.'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020099 private_floating_interface:
100 description: Interface which carries floating network for child OpenStack.
101 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100102 storage_frontend_network_cidr:
103 type: string
104 default: '10.12.0.0/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200105 storage_frontend_interface:
106 type: string
107 default: 'ens5'
108 storage_backend_network_cidr:
109 type: string
110 default: '10.11.0.0/24'
111 storage_backend_interface:
112 type: string
113 default: 'ens6'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300114 ironic_baremetal_network_cidr:
115 type: string
116 default: '10.13.0.0/24'
117 ironic_baremetal_network_ipam_pool_start:
118 type: string
119 default: '10.13.0.2'
120 ironic_baremetal_network_ipam_pool_end:
121 type: string
122 default: '10.13.0.99'
123 ironic_baremetal_network_pool_start:
124 type: string
125 default: '10.13.0.100'
126 ironic_baremetal_network_pool_end:
127 type: string
128 default: '10.13.0.200'
129 ironic_baremetal_network_gateway:
130 type: string
131 default: ''
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400132 ironic_baremetal_tunnel_cidr:
133 type: string
134 default: '10.16.0.0/24'
Vasyl Saienko4c468192020-05-19 11:51:13 +0300135 ironic_baremetal_network_interface:
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300136 type: string
Vasyl Saienko4c468192020-05-19 11:51:13 +0300137 default: 'veth-bm'
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300138 description: 'The name of interface that should be added to ovs bridge in Neutron'
139 ironic_baremetal_network_vbmc_interface:
140 type: string
141 default: 'veth-vbmc'
142 description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.'
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300143 ironic_baremetal_provisioning_interface:
144 type: string
145 default: 'br-baremetal'
146 description: 'The name of interface on node to which IP ironic services will bind.'
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400147 ironic_baremetal_pxe_interface:
148 type: string
149 default: 'pxe.1000'
150 description: 'Will be used as provisioning_interface for multi-tenancy mode'
151 ironic_mt_enabled:
152 type: boolean
153 default: false
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400154 tungstenfabric_enabled:
155 type: boolean
156 default: false
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200157 tun_network_cidr:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400158 type: string
159 default: '10.15.0.0/24'
Mykyta Karpin2aba4122020-12-02 15:03:09 +0200160 # When tun interface is added to ovs bridge inside vm,
161 # and arp responder is enabled on undercloud,
162 # ip adresses from tun network pool can't be used for
163 # configuring vxlan tunnels through ovs bridge (https://mirantis.jira.com/browse/PRODX-9337).
164 # Ip addresses unknown for arp responder should be used.
165 # In deployment pipeline addresses assigned by openstack to advanced compute nodes
166 # are changed inside instance to 10.15.0.1XX for this case.
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200167 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400168 type: string
169 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200170 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400171 type: string
172 default: '10.15.0.99'
Dennis Dmitrievea894212020-03-12 21:36:43 +0200173 ucp_metadata:
174 type: json
175 default: {"role":"ucp"}
176 master_metadata:
177 type: json
178 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100179 worker_metadata:
180 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200181 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100182 cmp_metadata:
183 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200184 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200185 acmp_metadata:
186 type: json
187 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100188 gtw_metadata:
189 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200190 default: {}
191 lma_metadata:
192 type: json
193 default: {}
194 osd_metadata:
195 type: json
196 default: {}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200197 spare_metadata:
198 type: json
199 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200200 ntw_metadata:
201 type: json
202 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300203 vbmc_metadata:
204 type: json
205 default: {}
sgudzfe58e8a2020-02-11 13:31:40 +0200206 ucp_flavor:
207 type: string
Vasyl Saienko4f740902020-08-18 11:09:06 +0300208 default: 'kaas-bm.worker'
sgudzfe58e8a2020-02-11 13:31:40 +0200209 masters_flavor:
210 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300211 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200212 workers_flavor:
213 type: string
214 default: 'system.compact.openstack.control'
215 cmps_flavor:
216 type: string
217 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200218 acmps_flavor:
219 type: string
220 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200221 gtws_flavor:
222 type: string
223 default: 'system.compact.openstack.control'
224 lmas_flavor:
225 type: string
226 default: 'system.compact.openstack.control'
227 osds_flavor:
228 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100229 default: 'system.virtual.ceph.osd'
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200230 spares_flavor:
231 type: string
232 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200233 ntws_flavor:
234 type: string
235 default: 'system.compact.openstack.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300236 vbmcs_flavor:
237 type: string
238 default: 'system.compact.openstack.control'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200239 functions_override:
240 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200241 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200242 docker_ee_url:
243 type: string
Vasyl Saienko1785c352020-03-11 11:39:40 +0200244 default: 'http://mirror-us.mcp.mirantis.net/.snapshots/docker-ee-bionic-latest'
245# default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200246 docker_ee_release:
247 type: string
248 default: 'stable-19.03'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300249 docker_ucp_image:
250 type: string
251 default: 'docker/ucp:3.2.4'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200252 tunnel_interface:
253 type: string
254 default: ''
255 live_migration_interface:
256 type: string
257 default: ''
258 metallb_address_pools:
259 type: comma_delimited_list
260 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200261 hardware_metadata:
262 description: The content of lab metadata.
263 default: ''
264 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200265 huge_pages:
266 description: >
267 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
268 If number is equal to 0 alloacation of huge pages won't be configured.
269 default: '0,0'
270 type: string
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200271 single_node:
272 description: If set true then AIO is going to be deployed.
273 type: string
274 default: 'false'
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200275 vsrx_image:
276 type: string
277 default: vsrx-mcp2-tf-3-nets
278 vsrx_flavor:
279 type: string
280 default: oc_vsrx
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100281
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200282conditions:
283 aio_deploy:
284 equals:
285 - get_param: single_node
286 - 'true'
287
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100288resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200289 keypair_name:
290 type: OS::Heat::RandomString
291 properties:
292 character_classes: [{"class": "hexdigits", "min": 1}]
293 length: 128
294 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100295 key_pair:
296 type: OS::Nova::KeyPair
297 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200298 name: { get_attr: [keypair_name, value] }
299 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100300 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200301 accessible_network:
302 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100303 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200304 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300305 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100306
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200307 tun_network:
308 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400309 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200310 tun_network_cidr: { get_param: tun_network_cidr }
311 tun_network_pool_start: { get_param: tun_network_pool_start }
312 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400313
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100314 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200315 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100316 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200317 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200318 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200319 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400320 private_floating_network_gateway: {get_param: private_floating_network_gateway}
321 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
322 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400323 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200324 tun_network: { get_attr: [tun_network, tun_network_id] }
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200325 vsrx_image: { get_param: vsrx_image }
326 vsrx_flavor: { get_param: vsrx_flavor }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100327
Mateusz Lose2ad0772020-02-27 21:41:54 +0100328 storage_network:
329 type: MCP2::NetworkAccStorage
330 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100331 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200332 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100333
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300334 ironic_baremetal_network:
335 type: MCP2::NetworkIronicFlat
336 properties:
337 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
338 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
339 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
340 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
341
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100342 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100343 depends_on:
344 - accessible_network
345 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200346 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100347 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200348 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200349 docker_ee_url: { get_param: docker_ee_url }
350 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300351 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300352 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200353 node_type: "ucp"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200354 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200355 image: { get_param: image }
356 flavor: { get_param: ucp_flavor }
357 accessible_network: { get_attr: [accessible_network, public_network] }
358 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
359 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
360 private_floating_interface: { get_param: private_floating_interface }
361 private_floating_network_cidr: { get_param: private_floating_network_cidr }
362 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
363 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200364 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200365 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200366 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200367 single_node: { get_param: single_node}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200368
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100369 masters:
370 type: OS::Heat::ResourceGroup
371 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200372 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100373 properties:
374 count: { get_param: masters_size }
375 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200376 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100377 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200378 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200379 node_type: "master"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200380 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200381 image: { get_param: image }
382 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200383 docker_ee_url: { get_param: docker_ee_url }
384 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300385 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300386 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200387 accessible_network: { get_attr: [accessible_network, public_network] }
388 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
389 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
390 private_floating_interface: { get_param: private_floating_interface }
391 private_floating_network_cidr: { get_param: private_floating_network_cidr }
392 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
393 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200394 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200395 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200396 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200397 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200398
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100399 workers:
400 type: OS::Heat::ResourceGroup
401 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200402 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100403 properties:
404 count: { get_param: worker_size }
405 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200406 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100407 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200408 metadata: { get_param: worker_metadata}
409 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200410 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100411 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200412 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200413 docker_ee_url: { get_param: docker_ee_url }
414 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300415 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300416 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200417 accessible_network: { get_attr: [accessible_network, public_network] }
418 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
419 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
420 private_floating_interface: { get_param: private_floating_interface }
421 private_floating_network_cidr: { get_param: private_floating_network_cidr }
422 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100423 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200424 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200425 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200426 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200427 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200428 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
429 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
430 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200431 storage_backend_interface: { get_param: storage_backend_interface }
432 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
433 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
434 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300435 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
436 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300437 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400438 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
439 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400440 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200441 tun_network: { get_attr: [tun_network, tun_network_id] }
442 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200443 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200444
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100445 cmps:
446 type: OS::Heat::ResourceGroup
447 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200448 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100449 properties:
450 count: { get_param: cmp_size }
451 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200452 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100453 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200454 metadata: { get_param: cmp_metadata }
455 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200456 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100457 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200458 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200459 docker_ee_url: { get_param: docker_ee_url }
460 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300461 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300462 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200463 accessible_network: { get_attr: [accessible_network, public_network] }
464 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
465 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
466 private_floating_interface: { get_param: private_floating_interface }
467 private_floating_network_cidr: { get_param: private_floating_network_cidr }
468 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100469 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200470 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200471 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200472 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200473 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200474 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
475 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
476 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200477 storage_backend_interface: { get_param: storage_backend_interface }
478 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
479 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
480 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300481 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
482 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300483 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400484 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
485 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400486 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200487 tun_network: { get_attr: [tun_network, tun_network_id] }
488 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200489 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200490
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200491 acmps:
492 type: OS::Heat::ResourceGroup
493 depends_on:
494 - ucp
495 properties:
496 count: { get_param: acmp_size }
497 resource_def:
498 type: MCP2::SrvInstancesCephOSD
499 properties:
500 metadata: { get_param: acmp_metadata }
501 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200502 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200503 image: { get_param: image }
504 flavor: { get_param: acmps_flavor }
505 docker_ee_url: { get_param: docker_ee_url }
506 docker_ee_release: { get_param: docker_ee_release }
507 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300508 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200509 accessible_network: { get_attr: [accessible_network, public_network] }
510 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
511 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
512 private_floating_interface: { get_param: private_floating_interface }
513 private_floating_network_cidr: { get_param: private_floating_network_cidr }
514 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
515 public_net_id: { get_param: public_net_id }
516 control_network_cidr: { get_param: control_network_cidr }
517 ucp_master_host: { get_attr: [ucp, server_private_ip] }
518 functions_override: { get_param: functions_override }
519 storage_frontend_interface: { get_param: storage_frontend_interface }
520 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
521 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
522 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
523 storage_backend_interface: { get_param: storage_backend_interface }
524 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
525 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
526 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
527 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
528 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
529 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
530 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
531 ironic_mt_enabled: { get_param: ironic_mt_enabled }
532 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200533 tun_network: { get_attr: [tun_network, tun_network_id] }
534 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200535 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200536 huge_pages: { get_param: huge_pages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200537
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100538 gtws:
539 type: OS::Heat::ResourceGroup
540 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200541 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100542 properties:
543 count: { get_param: gtw_size }
544 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200545 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100546 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200547 metadata: { get_param: gtw_metadata }
548 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200549 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100550 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200551 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200552 docker_ee_url: { get_param: docker_ee_url }
553 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300554 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300555 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200556 accessible_network: { get_attr: [accessible_network, public_network] }
557 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
558 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
559 private_floating_interface: { get_param: private_floating_interface }
560 private_floating_network_cidr: { get_param: private_floating_network_cidr }
561 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100562 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200563 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200564 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200565 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200566 storage_frontend_interface: { get_param: storage_frontend_interface }
567 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
568 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
569 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300570 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
571 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300572 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400573 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
574 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200575 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100576
sgudzb94b4c62020-02-05 13:21:25 +0200577 lmas:
578 type: OS::Heat::ResourceGroup
579 depends_on:
580 - ucp
581 properties:
582 count: { get_param: lma_size }
583 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100584 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200585 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200586 metadata: { get_param: lma_metadata }
587 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200588 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200589 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200590 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200591 docker_ee_url: { get_param: docker_ee_url }
592 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300593 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300594 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200595 accessible_network: { get_attr: [accessible_network, public_network] }
596 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
597 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
598 private_floating_interface: { get_param: private_floating_interface }
599 private_floating_network_cidr: { get_param: private_floating_network_cidr }
600 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200601 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200602 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200603 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200604 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200605 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200606 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
607 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
608 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300609 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
610 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300611 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400612 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
613 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200614 hardware_metadata: { get_param: hardware_metadata}
sgudzb94b4c62020-02-05 13:21:25 +0200615
616 osds:
617 type: OS::Heat::ResourceGroup
618 depends_on:
619 - ucp
620 properties:
621 count: { get_param: osd_size }
622 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100623 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200624 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200625 metadata: { get_param: osd_metadata }
626 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200627 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200628 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200629 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200630 docker_ee_url: { get_param: docker_ee_url }
631 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300632 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300633 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200634 accessible_network: { get_attr: [accessible_network, public_network] }
635 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
636 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
637 private_floating_interface: { get_param: private_floating_interface }
638 private_floating_network_cidr: { get_param: private_floating_network_cidr }
639 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200640 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200641 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200642 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200643 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200644 storage_frontend_interface: { get_param: storage_frontend_interface }
645 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
646 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
647 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
648 storage_backend_interface: { get_param: storage_backend_interface }
649 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
650 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
651 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300652 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
653 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300654 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400655 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
656 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400657 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200658 tun_network: { get_attr: [tun_network, tun_network_id] }
659 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200660 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100661
Dennis Dmitrievea894212020-03-12 21:36:43 +0200662 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200663 type: OS::Heat::ResourceGroup
664 depends_on:
665 - ucp
666 properties:
667 count: { get_param: spare_size }
668 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200669 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200670 properties:
671 metadata: { get_param: spare_metadata }
672 node_type: "spare"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200673 key_name: { get_attr: [keypair_name, value] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200674 image: { get_param: image }
675 flavor: { get_param: spares_flavor }
676 docker_ee_url: { get_param: docker_ee_url }
677 docker_ee_release: { get_param: docker_ee_release }
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 }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200680 accessible_network: { get_attr: [accessible_network, public_network] }
681 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
682 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
683 private_floating_interface: { get_param: private_floating_interface }
684 private_floating_network_cidr: { get_param: private_floating_network_cidr }
685 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
686 public_net_id: { get_param: public_net_id }
687 control_network_cidr: { get_param: control_network_cidr }
688 ucp_master_host: { get_attr: [ucp, server_private_ip] }
689 functions_override: { get_param: functions_override }
690 storage_frontend_interface: { get_param: storage_frontend_interface }
691 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
692 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
693 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200694 storage_backend_interface: { get_param: storage_backend_interface }
695 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
696 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
697 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300698 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
699 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300700 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400701 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
702 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400703 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200704 tun_network: { get_attr: [tun_network, tun_network_id] }
705 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200706 hardware_metadata: { get_param: hardware_metadata}
707
sgudz43eb82b2020-02-11 16:36:48 +0200708 ntws:
709 type: OS::Heat::ResourceGroup
710 depends_on:
711 - ucp
712 properties:
713 count: { get_param: ntw_size }
714 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200715 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200716 properties:
717 metadata: { get_param: ntw_metadata }
718 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200719 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200720 image: { get_param: image }
721 flavor: { get_param: ntws_flavor }
722 docker_ee_url: { get_param: docker_ee_url }
723 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300724 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300725 docker_default_address_pool: { get_param: docker_default_address_pool }
sgudz43eb82b2020-02-11 16:36:48 +0200726 accessible_network: { get_attr: [accessible_network, public_network] }
727 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
728 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
729 private_floating_interface: { get_param: private_floating_interface }
730 private_floating_network_cidr: { get_param: private_floating_network_cidr }
731 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
732 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200733 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200734 ucp_master_host: { get_attr: [ucp, server_private_ip] }
735 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200736 storage_frontend_interface: { get_param: storage_frontend_interface }
737 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
738 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
739 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300740 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
741 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300742 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400743 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
744 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200745 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200746
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300747 vbmcs:
748 type: OS::Heat::ResourceGroup
749 depends_on:
750 - ucp
751 properties:
752 count: { get_param: vbmc_size }
753 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400754 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300755 properties:
756 metadata: { get_param: vbmc_metadata}
757 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200758 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300759 image: { get_param: image }
760 flavor: { get_param: vbmcs_flavor }
761 docker_ee_url: { get_param: docker_ee_url }
762 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300763 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300764 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300765 accessible_network: { get_attr: [accessible_network, public_network] }
766 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
767 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
768 private_floating_interface: { get_param: private_floating_interface }
769 private_floating_network_cidr: { get_param: private_floating_network_cidr }
770 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
771 public_net_id: { get_param: public_net_id }
772 control_network_cidr: { get_param: control_network_cidr }
773 ucp_master_host: { get_attr: [ucp, server_private_ip] }
774 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400775 storage_frontend_interface: { get_param: storage_frontend_interface }
776 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
777 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
778 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400779 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
780 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300781 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400782 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
783 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300784 hardware_metadata: { get_param: hardware_metadata}
785
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100786outputs:
787 ucp_ips:
788 description: Private IP addresses of the deployed ucp instances
789 value: { get_attr: [ucp, server_public_ip] }
790 masters_ips:
791 description: Private IP addresses of the deployed masters instances
792 value: { get_attr: [masters, server_public_ip] }
793 workers_ips:
794 description: Private IP addresses of the deployed worker instances
795 value: { get_attr: [workers, server_public_ip] }
796 cmps_ips:
797 description: Private IP addresses of the deployed cmp instances
798 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200799 acmps_ips:
800 description: Private IP addresses of the deployed cmp instances with high computing features
801 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100802 gtws_ips:
803 description: Private IP addresses of the deployed gtw instances
804 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200805 lmas_ips:
806 description: Private IP addresses of the deployed lma instances
807 value: { get_attr: [lmas, server_public_ip] }
808 osds_ips:
809 description: Private IP addresses of the deployed osd instances
810 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200811 spares_ips:
812 description: Private IP addresses of the deployed spare instances
813 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200814 ntws_ips:
815 description: Private IP addresses of the deployed contrail instances
816 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300817 vbmcs_ips:
818 description: Private IP addresses of the deployed virtualbmcs instances
819 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300820 vbmc_ironic_baremetal_ips:
821 description: The IPs of ironic baremetal network assigned to vbmc hosts.
822 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200823 worker_private_floating_ips:
824 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200825 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 +0200826 private_floating_cidr:
827 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200828 private_floating_network_pool_start:
829 value: { get_param: private_floating_network_pool_start }
830 private_floating_network_pool_end:
831 value: { get_param: private_floating_network_pool_end }
832 private_floating_network_gateway:
833 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300834 private_floating_network_interface:
835 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300836 ironic_baremetal_network_pool_start:
837 value: { get_param: ironic_baremetal_network_pool_start }
838 ironic_baremetal_network_pool_end:
839 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300840 ironic_baremetal_network_interface:
841 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300842 ironic_baremetal_network_vbmc_interface:
843 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300844 ironic_baremetal_provisioning_interface:
845 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400846 ironic_baremetal_pxe_interface:
847 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200848 tunnel_interface:
849 value: { get_param: tunnel_interface }
850 live_migration_interface:
851 value: { get_param: live_migration_interface }
852 metallb_address_pools:
853 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200854 ucp_wc_data:
855 description: Metadata from ucp
856 value: { get_attr: [ucp, wc_data] }
857 masters_wc_data:
858 description: Metadata from masters
859 value: { get_attr: [masters, wc_data] }
860 workers_wc_data:
861 description: Metadata from workers
862 value: { get_attr: [workers, wc_data] }
863 cmps_wc_data:
864 description: Metadata from cmps
865 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200866 acmps_wc_data:
867 description: Metadata from cmps with high computing features
868 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200869 gtws_wc_data:
870 description: Metadata from gtws
871 value: { get_attr: [gtws, wc_data] }
872 lmas_wc_data:
873 description: Metadata from lmas
874 value: { get_attr: [lmas, wc_data] }
875 osds_wc_data:
876 description: Metadata from osds
877 value: { get_attr: [osds, wc_data] }
878 ntws_wc_data:
879 description: Metadata from ntws
880 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200881 storage_frontend_network_cidr:
882 description: Storage network which is used as clientNet in Ceph CR
883 value: { get_param: storage_frontend_network_cidr }
884 storage_backend_network_cidr:
885 description: Storage network which is used as clusterNet in Ceph CR
886 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400887 tungstenfabric_enabled:
888 value: { get_param: tungstenfabric_enabled }
889 data_network_vsrx_ip:
890 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200891 value: { get_param: data_network_vsrx_ip }