blob: 1dbc91cc91ed1af7af6ebd9ca62e41954deef669 [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: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010025 masters_size:
26 type: number
27 description: Number of masters instances to deploy
28 default: 2
29 worker_size:
30 type: number
31 description: Number of workers to deploy
32 default: 5
33 cmp_size:
34 type: number
35 description: Number of cmp workers to deploy
36 default: 0
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +020037 acmp_size:
38 type: number
39 description: Number of advanced cmp workers to deploy
40 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010041 gtw_size:
42 type: number
43 description: Number of gtw workers to deploy
44 default: 0
sgudzb94b4c62020-02-05 13:21:25 +020045 lma_size:
46 type: number
47 description: Number of gtw workers to deploy
48 default: 0
49 osd_size:
50 type: number
51 description: Number of gtw workers to deploy
52 default: 0
Dennis Dmitriev81da4222020-02-25 17:53:04 +020053 spare_size:
54 type: number
55 description: Number of gtw workers to deploy
56 default: 0
sgudz43eb82b2020-02-11 16:36:48 +020057 ntw_size:
58 type: number
59 description: Number of contrail nodes to deploy
60 default: 0
Vasyl Saienko36f2edf2020-05-14 10:44:52 +030061 vbmc_size:
62 type: number
63 description: Number of nodes for virtualbmc BM node simulator
64 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010065 ucp_boot_timeout:
66 type: number
67 description: Boot timeout for UCP instance
Vasyl Saienkof36f39c2020-03-10 00:21:42 +020068 default: 3600
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010069 cluster_public_key:
70 type: string
Oleh Hryhorov0019f592020-01-23 11:50:12 +020071 private_floating_network_cidr:
72 type: string
73 default: '10.11.12.0/24'
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +020074 private_floating_network_ipam_pool_start:
75 type: string
76 description: pool start which is used as pool for IPAM and assigned to instances port
77 default: '10.11.12.2'
78 private_floating_network_ipam_pool_end:
79 type: string
80 description: pool end which is used as pool for IPAM and assigned to instances port
81 default: '10.11.12.99'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020082 private_floating_network_pool_start:
83 type: string
84 default: '10.11.12.100'
85 private_floating_network_pool_end:
86 type: string
87 default: '10.11.12.200'
88 private_floating_network_gateway:
89 type: string
Oleh Hryhorovd3a30242020-02-11 15:24:01 +020090 default: ''
Vasyl Saienkoc943f432020-04-21 12:15:57 +030091 private_floating_network_interface:
92 type: string
93 default: 'veth-phy'
94 description: 'The name of interface that should be added to external neutron bridge for floating network.'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020095 private_floating_interface:
96 description: Interface which carries floating network for child OpenStack.
97 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +010098 storage_frontend_network_cidr:
99 type: string
100 default: '10.12.0.0/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200101 storage_frontend_interface:
102 type: string
103 default: 'ens5'
104 storage_backend_network_cidr:
105 type: string
106 default: '10.11.0.0/24'
107 storage_backend_interface:
108 type: string
109 default: 'ens6'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300110 ironic_baremetal_network_cidr:
111 type: string
112 default: '10.13.0.0/24'
113 ironic_baremetal_network_ipam_pool_start:
114 type: string
115 default: '10.13.0.2'
116 ironic_baremetal_network_ipam_pool_end:
117 type: string
118 default: '10.13.0.99'
119 ironic_baremetal_network_pool_start:
120 type: string
121 default: '10.13.0.100'
122 ironic_baremetal_network_pool_end:
123 type: string
124 default: '10.13.0.200'
125 ironic_baremetal_network_gateway:
126 type: string
127 default: ''
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400128 ironic_baremetal_tunnel_cidr:
129 type: string
130 default: '10.16.0.0/24'
Vasyl Saienko4c468192020-05-19 11:51:13 +0300131 ironic_baremetal_network_interface:
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300132 type: string
Vasyl Saienko4c468192020-05-19 11:51:13 +0300133 default: 'veth-bm'
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300134 description: 'The name of interface that should be added to ovs bridge in Neutron'
135 ironic_baremetal_network_vbmc_interface:
136 type: string
137 default: 'veth-vbmc'
138 description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.'
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300139 ironic_baremetal_provisioning_interface:
140 type: string
141 default: 'br-baremetal'
142 description: 'The name of interface on node to which IP ironic services will bind.'
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400143 ironic_baremetal_pxe_interface:
144 type: string
145 default: 'pxe.1000'
146 description: 'Will be used as provisioning_interface for multi-tenancy mode'
147 ironic_mt_enabled:
148 type: boolean
149 default: false
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400150 tungstenfabric_enabled:
151 type: boolean
152 default: false
153 tf_data_network_cidr:
154 type: string
155 default: '10.15.0.0/24'
156 tf_data_network_pool_start:
157 type: string
158 default: '10.15.0.2'
159 tf_data_network_pool_end:
160 type: string
161 default: '10.15.0.99'
162 tf_data_network_interface:
163 type: string
164 default: 'ens8'
165 description: 'The name of interface that should be used by vrouter in deployment with TF'
Dennis Dmitrievea894212020-03-12 21:36:43 +0200166 ucp_metadata:
167 type: json
168 default: {"role":"ucp"}
169 master_metadata:
170 type: json
171 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100172 worker_metadata:
173 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200174 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100175 cmp_metadata:
176 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200177 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200178 acmp_metadata:
179 type: json
180 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100181 gtw_metadata:
182 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200183 default: {}
184 lma_metadata:
185 type: json
186 default: {}
187 osd_metadata:
188 type: json
189 default: {}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200190 spare_metadata:
191 type: json
192 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200193 ntw_metadata:
194 type: json
195 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300196 vbmc_metadata:
197 type: json
198 default: {}
sgudzfe58e8a2020-02-11 13:31:40 +0200199 ucp_flavor:
200 type: string
Vasyl Saienko4f740902020-08-18 11:09:06 +0300201 default: 'kaas-bm.worker'
sgudzfe58e8a2020-02-11 13:31:40 +0200202 masters_flavor:
203 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300204 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200205 workers_flavor:
206 type: string
207 default: 'system.compact.openstack.control'
208 cmps_flavor:
209 type: string
210 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200211 acmps_flavor:
212 type: string
213 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200214 gtws_flavor:
215 type: string
216 default: 'system.compact.openstack.control'
217 lmas_flavor:
218 type: string
219 default: 'system.compact.openstack.control'
220 osds_flavor:
221 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100222 default: 'system.virtual.ceph.osd'
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200223 spares_flavor:
224 type: string
225 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200226 ntws_flavor:
227 type: string
228 default: 'system.compact.openstack.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300229 vbmcs_flavor:
230 type: string
231 default: 'system.compact.openstack.control'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200232 functions_override:
233 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200234 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200235 docker_ee_url:
236 type: string
Vasyl Saienko1785c352020-03-11 11:39:40 +0200237 default: 'http://mirror-us.mcp.mirantis.net/.snapshots/docker-ee-bionic-latest'
238# default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200239 docker_ee_release:
240 type: string
241 default: 'stable-19.03'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300242 docker_ucp_image:
243 type: string
244 default: 'docker/ucp:3.2.4'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200245 tunnel_interface:
246 type: string
247 default: ''
248 live_migration_interface:
249 type: string
250 default: ''
251 metallb_address_pools:
252 type: comma_delimited_list
253 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200254 hardware_metadata:
255 description: The content of lab metadata.
256 default: ''
257 type: string
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100258
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400259conditions:
260 create_tf_data_network_res:
261 get_param: tungstenfabric_enabled
262
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100263resources:
264 key_pair:
265 type: OS::Nova::KeyPair
266 properties:
267 name: { get_param: "OS::stack_name" }
268 public_key: { get_param: cluster_public_key}
269 save_private_key: false
270
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200271 accessible_network:
272 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100273 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200274 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300275 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100276
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400277 tf_data_network:
278 type: MCP2::NetworkTFData
279 condition: create_tf_data_network_res
280 properties:
281 tf_data_network_cidr: { get_param: tf_data_network_cidr }
282 tf_data_network_pool_start: { get_param: tf_data_network_pool_start }
283 tf_data_network_pool_end: { get_param: tf_data_network_pool_end }
284
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100285 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200286 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100287 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200288 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200289 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200290 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400291 private_floating_network_gateway: {get_param: private_floating_network_gateway}
292 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
293 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400294 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
295 tf_data_network: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_network_id] }, ""]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100296
Mateusz Lose2ad0772020-02-27 21:41:54 +0100297 storage_network:
298 type: MCP2::NetworkAccStorage
299 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100300 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200301 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100302
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300303 ironic_baremetal_network:
304 type: MCP2::NetworkIronicFlat
305 properties:
306 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
307 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
308 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
309 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
310
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100311 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100312 depends_on:
313 - accessible_network
314 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200315 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100316 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200317 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200318 docker_ee_url: { get_param: docker_ee_url }
319 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300320 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200321 node_type: "ucp"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200322 key_name: { get_param: "OS::stack_name" }
323 image: { get_param: image }
324 flavor: { get_param: ucp_flavor }
325 accessible_network: { get_attr: [accessible_network, public_network] }
326 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
327 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
328 private_floating_interface: { get_param: private_floating_interface }
329 private_floating_network_cidr: { get_param: private_floating_network_cidr }
330 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
331 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200332 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200333 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200334 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200335
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100336 masters:
337 type: OS::Heat::ResourceGroup
338 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200339 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100340 properties:
341 count: { get_param: masters_size }
342 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200343 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100344 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200345 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200346 node_type: "master"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200347 key_name: { get_param: "OS::stack_name" }
348 image: { get_param: image }
349 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200350 docker_ee_url: { get_param: docker_ee_url }
351 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300352 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200353 accessible_network: { get_attr: [accessible_network, public_network] }
354 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
355 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
356 private_floating_interface: { get_param: private_floating_interface }
357 private_floating_network_cidr: { get_param: private_floating_network_cidr }
358 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
359 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200360 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200361 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200362 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200363 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200364
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100365 workers:
366 type: OS::Heat::ResourceGroup
367 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200368 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100369 properties:
370 count: { get_param: worker_size }
371 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200372 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100373 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200374 metadata: { get_param: worker_metadata}
375 node_type: "worker"
376 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100377 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200378 flavor: { get_param: workers_flavor }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100379 key_name: { get_param: "OS::stack_name" }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200380 docker_ee_url: { get_param: docker_ee_url }
381 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300382 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200383 accessible_network: { get_attr: [accessible_network, public_network] }
384 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
385 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
386 private_floating_interface: { get_param: private_floating_interface }
387 private_floating_network_cidr: { get_param: private_floating_network_cidr }
388 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100389 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200390 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200391 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200392 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200393 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200394 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
395 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
396 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200397 storage_backend_interface: { get_param: storage_backend_interface }
398 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
399 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
400 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300401 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
402 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300403 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400404 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
405 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400406 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
407 tf_data_network: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_network_id] }, ""]}
408 tf_data_subnet_id: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_subnet_id] }, ""]}
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200409 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200410
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100411 cmps:
412 type: OS::Heat::ResourceGroup
413 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200414 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100415 properties:
416 count: { get_param: cmp_size }
417 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200418 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100419 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200420 metadata: { get_param: cmp_metadata }
421 node_type: "worker"
422 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100423 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200424 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200425 docker_ee_url: { get_param: docker_ee_url }
426 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300427 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200428 accessible_network: { get_attr: [accessible_network, public_network] }
429 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
430 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
431 private_floating_interface: { get_param: private_floating_interface }
432 private_floating_network_cidr: { get_param: private_floating_network_cidr }
433 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100434 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200435 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200436 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200437 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200438 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200439 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
440 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
441 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200442 storage_backend_interface: { get_param: storage_backend_interface }
443 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
444 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
445 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300446 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
447 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300448 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400449 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
450 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400451 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
452 tf_data_network: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_network_id] }, ""]}
453 tf_data_subnet_id: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_subnet_id] }, ""]}
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200454 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200455
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200456 acmps:
457 type: OS::Heat::ResourceGroup
458 depends_on:
459 - ucp
460 properties:
461 count: { get_param: acmp_size }
462 resource_def:
463 type: MCP2::SrvInstancesCephOSD
464 properties:
465 metadata: { get_param: acmp_metadata }
466 node_type: "worker"
467 key_name: { get_param: "OS::stack_name" }
468 image: { get_param: image }
469 flavor: { get_param: acmps_flavor }
470 docker_ee_url: { get_param: docker_ee_url }
471 docker_ee_release: { get_param: docker_ee_release }
472 docker_ucp_image: { get_param: docker_ucp_image}
473 accessible_network: { get_attr: [accessible_network, public_network] }
474 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
475 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
476 private_floating_interface: { get_param: private_floating_interface }
477 private_floating_network_cidr: { get_param: private_floating_network_cidr }
478 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
479 public_net_id: { get_param: public_net_id }
480 control_network_cidr: { get_param: control_network_cidr }
481 ucp_master_host: { get_attr: [ucp, server_private_ip] }
482 functions_override: { get_param: functions_override }
483 storage_frontend_interface: { get_param: storage_frontend_interface }
484 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
485 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
486 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
487 storage_backend_interface: { get_param: storage_backend_interface }
488 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
489 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
490 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
491 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
492 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
493 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
494 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
495 ironic_mt_enabled: { get_param: ironic_mt_enabled }
496 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
497 tf_data_network: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_network_id] }, ""]}
498 tf_data_subnet_id: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_subnet_id] }, ""]}
499 hardware_metadata: { get_param: hardware_metadata}
500
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100501 gtws:
502 type: OS::Heat::ResourceGroup
503 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200504 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100505 properties:
506 count: { get_param: gtw_size }
507 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200508 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100509 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200510 metadata: { get_param: gtw_metadata }
511 node_type: "worker"
512 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100513 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200514 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200515 docker_ee_url: { get_param: docker_ee_url }
516 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300517 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200518 accessible_network: { get_attr: [accessible_network, public_network] }
519 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
520 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
521 private_floating_interface: { get_param: private_floating_interface }
522 private_floating_network_cidr: { get_param: private_floating_network_cidr }
523 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100524 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200525 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200526 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200527 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200528 storage_frontend_interface: { get_param: storage_frontend_interface }
529 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
530 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
531 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300532 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
533 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300534 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400535 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
536 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200537 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100538
sgudzb94b4c62020-02-05 13:21:25 +0200539 lmas:
540 type: OS::Heat::ResourceGroup
541 depends_on:
542 - ucp
543 properties:
544 count: { get_param: lma_size }
545 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100546 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200547 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200548 metadata: { get_param: lma_metadata }
549 node_type: "worker"
550 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200551 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200552 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200553 docker_ee_url: { get_param: docker_ee_url }
554 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300555 docker_ucp_image: { get_param: docker_ucp_image}
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]}
sgudzb94b4c62020-02-05 13:21:25 +0200562 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200563 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200564 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200565 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200566 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200567 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 Saienko73d6ec62020-05-14 20:26:25 +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}
sgudzb94b4c62020-02-05 13:21:25 +0200576
577 osds:
578 type: OS::Heat::ResourceGroup
579 depends_on:
580 - ucp
581 properties:
582 count: { get_param: osd_size }
583 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100584 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200585 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200586 metadata: { get_param: osd_metadata }
587 node_type: "worker"
588 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200589 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200590 flavor: { get_param: osds_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}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200594 accessible_network: { get_attr: [accessible_network, public_network] }
595 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
596 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
597 private_floating_interface: { get_param: private_floating_interface }
598 private_floating_network_cidr: { get_param: private_floating_network_cidr }
599 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200600 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200601 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200602 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200603 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200604 storage_frontend_interface: { get_param: storage_frontend_interface }
605 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
606 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
607 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
608 storage_backend_interface: { get_param: storage_backend_interface }
609 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
610 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
611 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300612 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
613 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300614 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400615 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
616 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400617 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
618 tf_data_network: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_network_id] }, ""]}
619 tf_data_subnet_id: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_subnet_id] }, ""]}
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200620 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100621
Dennis Dmitrievea894212020-03-12 21:36:43 +0200622 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200623 type: OS::Heat::ResourceGroup
624 depends_on:
625 - ucp
626 properties:
627 count: { get_param: spare_size }
628 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200629 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200630 properties:
631 metadata: { get_param: spare_metadata }
632 node_type: "spare"
633 key_name: { get_param: "OS::stack_name" }
634 image: { get_param: image }
635 flavor: { get_param: spares_flavor }
636 docker_ee_url: { get_param: docker_ee_url }
637 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300638 docker_ucp_image: { get_param: docker_ucp_image}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200639 accessible_network: { get_attr: [accessible_network, public_network] }
640 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
641 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
642 private_floating_interface: { get_param: private_floating_interface }
643 private_floating_network_cidr: { get_param: private_floating_network_cidr }
644 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
645 public_net_id: { get_param: public_net_id }
646 control_network_cidr: { get_param: control_network_cidr }
647 ucp_master_host: { get_attr: [ucp, server_private_ip] }
648 functions_override: { get_param: functions_override }
649 storage_frontend_interface: { get_param: storage_frontend_interface }
650 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
651 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
652 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200653 storage_backend_interface: { get_param: storage_backend_interface }
654 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
655 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
656 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300657 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
658 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300659 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400660 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
661 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400662 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
663 tf_data_network: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_network_id] }, ""]}
664 tf_data_subnet_id: {if: ["create_tf_data_network_res", { get_attr: [tf_data_network, tf_data_subnet_id] }, ""]}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200665 hardware_metadata: { get_param: hardware_metadata}
666
sgudz43eb82b2020-02-11 16:36:48 +0200667 ntws:
668 type: OS::Heat::ResourceGroup
669 depends_on:
670 - ucp
671 properties:
672 count: { get_param: ntw_size }
673 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200674 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200675 properties:
676 metadata: { get_param: ntw_metadata }
677 node_type: "worker"
678 key_name: { get_param: "OS::stack_name" }
679 image: { get_param: image }
680 flavor: { get_param: ntws_flavor }
681 docker_ee_url: { get_param: docker_ee_url }
682 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300683 docker_ucp_image: { get_param: docker_ucp_image}
sgudz43eb82b2020-02-11 16:36:48 +0200684 accessible_network: { get_attr: [accessible_network, public_network] }
685 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
686 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
687 private_floating_interface: { get_param: private_floating_interface }
688 private_floating_network_cidr: { get_param: private_floating_network_cidr }
689 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
690 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200691 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200692 ucp_master_host: { get_attr: [ucp, server_private_ip] }
693 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200694 storage_frontend_interface: { get_param: storage_frontend_interface }
695 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
696 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
697 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +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 }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200703 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200704
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300705 vbmcs:
706 type: OS::Heat::ResourceGroup
707 depends_on:
708 - ucp
709 properties:
710 count: { get_param: vbmc_size }
711 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400712 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300713 properties:
714 metadata: { get_param: vbmc_metadata}
715 node_type: "worker"
716 key_name: { get_param: "OS::stack_name" }
717 image: { get_param: image }
718 flavor: { get_param: vbmcs_flavor }
719 docker_ee_url: { get_param: docker_ee_url }
720 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300721 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300722 accessible_network: { get_attr: [accessible_network, public_network] }
723 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
724 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
725 private_floating_interface: { get_param: private_floating_interface }
726 private_floating_network_cidr: { get_param: private_floating_network_cidr }
727 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
728 public_net_id: { get_param: public_net_id }
729 control_network_cidr: { get_param: control_network_cidr }
730 ucp_master_host: { get_attr: [ucp, server_private_ip] }
731 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400732 storage_frontend_interface: { get_param: storage_frontend_interface }
733 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
734 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
735 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400736 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
737 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300738 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400739 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
740 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300741 hardware_metadata: { get_param: hardware_metadata}
742
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100743outputs:
744 ucp_ips:
745 description: Private IP addresses of the deployed ucp instances
746 value: { get_attr: [ucp, server_public_ip] }
747 masters_ips:
748 description: Private IP addresses of the deployed masters instances
749 value: { get_attr: [masters, server_public_ip] }
750 workers_ips:
751 description: Private IP addresses of the deployed worker instances
752 value: { get_attr: [workers, server_public_ip] }
753 cmps_ips:
754 description: Private IP addresses of the deployed cmp instances
755 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200756 acmps_ips:
757 description: Private IP addresses of the deployed cmp instances with high computing features
758 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100759 gtws_ips:
760 description: Private IP addresses of the deployed gtw instances
761 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200762 lmas_ips:
763 description: Private IP addresses of the deployed lma instances
764 value: { get_attr: [lmas, server_public_ip] }
765 osds_ips:
766 description: Private IP addresses of the deployed osd instances
767 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200768 spares_ips:
769 description: Private IP addresses of the deployed spare instances
770 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200771 ntws_ips:
772 description: Private IP addresses of the deployed contrail instances
773 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300774 vbmcs_ips:
775 description: Private IP addresses of the deployed virtualbmcs instances
776 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300777 vbmc_ironic_baremetal_ips:
778 description: The IPs of ironic baremetal network assigned to vbmc hosts.
779 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200780 worker_private_floating_ips:
781 description: IPs might be used as gateway
782 value: { get_attr: [workers, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +0200783 private_floating_cidr:
784 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200785 private_floating_network_pool_start:
786 value: { get_param: private_floating_network_pool_start }
787 private_floating_network_pool_end:
788 value: { get_param: private_floating_network_pool_end }
789 private_floating_network_gateway:
790 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300791 private_floating_network_interface:
792 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300793 ironic_baremetal_network_pool_start:
794 value: { get_param: ironic_baremetal_network_pool_start }
795 ironic_baremetal_network_pool_end:
796 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300797 ironic_baremetal_network_interface:
798 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300799 ironic_baremetal_network_vbmc_interface:
800 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300801 ironic_baremetal_provisioning_interface:
802 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400803 ironic_baremetal_pxe_interface:
804 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200805 tunnel_interface:
806 value: { get_param: tunnel_interface }
807 live_migration_interface:
808 value: { get_param: live_migration_interface }
809 metallb_address_pools:
810 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200811 ucp_wc_data:
812 description: Metadata from ucp
813 value: { get_attr: [ucp, wc_data] }
814 masters_wc_data:
815 description: Metadata from masters
816 value: { get_attr: [masters, wc_data] }
817 workers_wc_data:
818 description: Metadata from workers
819 value: { get_attr: [workers, wc_data] }
820 cmps_wc_data:
821 description: Metadata from cmps
822 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200823 acmps_wc_data:
824 description: Metadata from cmps with high computing features
825 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200826 gtws_wc_data:
827 description: Metadata from gtws
828 value: { get_attr: [gtws, wc_data] }
829 lmas_wc_data:
830 description: Metadata from lmas
831 value: { get_attr: [lmas, wc_data] }
832 osds_wc_data:
833 description: Metadata from osds
834 value: { get_attr: [osds, wc_data] }
835 ntws_wc_data:
836 description: Metadata from ntws
837 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200838 storage_frontend_network_cidr:
839 description: Storage network which is used as clientNet in Ceph CR
840 value: { get_param: storage_frontend_network_cidr }
841 storage_backend_network_cidr:
842 description: Storage network which is used as clusterNet in Ceph CR
843 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400844 tungstenfabric_enabled:
845 value: { get_param: tungstenfabric_enabled }
846 data_network_vsrx_ip:
847 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200848 value: { get_param: data_network_vsrx_ip }