blob: e6c70d3b17c81bb1d0482d0bceabf269b22fc186 [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
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200153 tun_network_cidr:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400154 type: string
155 default: '10.15.0.0/24'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200156 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400157 type: string
158 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200159 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400160 type: string
161 default: '10.15.0.99'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200162 tun_network_interface:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400163 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
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200258 huge_pages:
259 description: >
260 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
261 If number is equal to 0 alloacation of huge pages won't be configured.
262 default: '0,0'
263 type: string
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100264
265resources:
266 key_pair:
267 type: OS::Nova::KeyPair
268 properties:
269 name: { get_param: "OS::stack_name" }
270 public_key: { get_param: cluster_public_key}
271 save_private_key: false
272
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200273 accessible_network:
274 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100275 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200276 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300277 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100278
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200279 tun_network:
280 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400281 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200282 tun_network_cidr: { get_param: tun_network_cidr }
283 tun_network_pool_start: { get_param: tun_network_pool_start }
284 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400285
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100286 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200287 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100288 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200289 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200290 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200291 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400292 private_floating_network_gateway: {get_param: private_floating_network_gateway}
293 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
294 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400295 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200296 tun_network: { get_attr: [tun_network, tun_network_id] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100297
Mateusz Lose2ad0772020-02-27 21:41:54 +0100298 storage_network:
299 type: MCP2::NetworkAccStorage
300 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100301 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200302 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100303
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300304 ironic_baremetal_network:
305 type: MCP2::NetworkIronicFlat
306 properties:
307 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
308 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
309 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
310 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
311
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100312 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100313 depends_on:
314 - accessible_network
315 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200316 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100317 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200318 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200319 docker_ee_url: { get_param: docker_ee_url }
320 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300321 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200322 node_type: "ucp"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200323 key_name: { get_param: "OS::stack_name" }
324 image: { get_param: image }
325 flavor: { get_param: ucp_flavor }
326 accessible_network: { get_attr: [accessible_network, public_network] }
327 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
328 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
329 private_floating_interface: { get_param: private_floating_interface }
330 private_floating_network_cidr: { get_param: private_floating_network_cidr }
331 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
332 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200333 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200334 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200335 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200336
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100337 masters:
338 type: OS::Heat::ResourceGroup
339 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200340 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100341 properties:
342 count: { get_param: masters_size }
343 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200344 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100345 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200346 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200347 node_type: "master"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200348 key_name: { get_param: "OS::stack_name" }
349 image: { get_param: image }
350 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200351 docker_ee_url: { get_param: docker_ee_url }
352 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300353 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200354 accessible_network: { get_attr: [accessible_network, public_network] }
355 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
356 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
357 private_floating_interface: { get_param: private_floating_interface }
358 private_floating_network_cidr: { get_param: private_floating_network_cidr }
359 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
360 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200361 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200362 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200363 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200364 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200365
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100366 workers:
367 type: OS::Heat::ResourceGroup
368 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200369 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100370 properties:
371 count: { get_param: worker_size }
372 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200373 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100374 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200375 metadata: { get_param: worker_metadata}
376 node_type: "worker"
377 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100378 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200379 flavor: { get_param: workers_flavor }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100380 key_name: { get_param: "OS::stack_name" }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200381 docker_ee_url: { get_param: docker_ee_url }
382 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300383 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200384 accessible_network: { get_attr: [accessible_network, public_network] }
385 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
386 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
387 private_floating_interface: { get_param: private_floating_interface }
388 private_floating_network_cidr: { get_param: private_floating_network_cidr }
389 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100390 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200391 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200392 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200393 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200394 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200395 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
396 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
397 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200398 storage_backend_interface: { get_param: storage_backend_interface }
399 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
400 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
401 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300402 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
403 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300404 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400405 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
406 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400407 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200408 tun_network: { get_attr: [tun_network, tun_network_id] }
409 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200410 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200411
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100412 cmps:
413 type: OS::Heat::ResourceGroup
414 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200415 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100416 properties:
417 count: { get_param: cmp_size }
418 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200419 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100420 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200421 metadata: { get_param: cmp_metadata }
422 node_type: "worker"
423 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100424 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200425 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200426 docker_ee_url: { get_param: docker_ee_url }
427 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300428 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200429 accessible_network: { get_attr: [accessible_network, public_network] }
430 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
431 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
432 private_floating_interface: { get_param: private_floating_interface }
433 private_floating_network_cidr: { get_param: private_floating_network_cidr }
434 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100435 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200436 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200437 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200438 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200439 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200440 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
441 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
442 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200443 storage_backend_interface: { get_param: storage_backend_interface }
444 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
445 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
446 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300447 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
448 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300449 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400450 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
451 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400452 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200453 tun_network: { get_attr: [tun_network, tun_network_id] }
454 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200455 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200456
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200457 acmps:
458 type: OS::Heat::ResourceGroup
459 depends_on:
460 - ucp
461 properties:
462 count: { get_param: acmp_size }
463 resource_def:
464 type: MCP2::SrvInstancesCephOSD
465 properties:
466 metadata: { get_param: acmp_metadata }
467 node_type: "worker"
468 key_name: { get_param: "OS::stack_name" }
469 image: { get_param: image }
470 flavor: { get_param: acmps_flavor }
471 docker_ee_url: { get_param: docker_ee_url }
472 docker_ee_release: { get_param: docker_ee_release }
473 docker_ucp_image: { get_param: docker_ucp_image}
474 accessible_network: { get_attr: [accessible_network, public_network] }
475 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
476 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
477 private_floating_interface: { get_param: private_floating_interface }
478 private_floating_network_cidr: { get_param: private_floating_network_cidr }
479 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
480 public_net_id: { get_param: public_net_id }
481 control_network_cidr: { get_param: control_network_cidr }
482 ucp_master_host: { get_attr: [ucp, server_private_ip] }
483 functions_override: { get_param: functions_override }
484 storage_frontend_interface: { get_param: storage_frontend_interface }
485 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
486 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
487 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
488 storage_backend_interface: { get_param: storage_backend_interface }
489 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
490 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
491 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
492 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
493 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
494 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
495 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
496 ironic_mt_enabled: { get_param: ironic_mt_enabled }
497 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200498 tun_network: { get_attr: [tun_network, tun_network_id] }
499 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200500 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200501 huge_pages: { get_param: huge_pages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200502
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100503 gtws:
504 type: OS::Heat::ResourceGroup
505 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200506 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100507 properties:
508 count: { get_param: gtw_size }
509 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200510 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100511 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200512 metadata: { get_param: gtw_metadata }
513 node_type: "worker"
514 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100515 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200516 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200517 docker_ee_url: { get_param: docker_ee_url }
518 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300519 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200520 accessible_network: { get_attr: [accessible_network, public_network] }
521 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
522 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
523 private_floating_interface: { get_param: private_floating_interface }
524 private_floating_network_cidr: { get_param: private_floating_network_cidr }
525 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100526 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200527 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200528 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200529 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200530 storage_frontend_interface: { get_param: storage_frontend_interface }
531 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
532 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
533 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300534 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
535 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300536 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400537 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
538 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200539 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100540
sgudzb94b4c62020-02-05 13:21:25 +0200541 lmas:
542 type: OS::Heat::ResourceGroup
543 depends_on:
544 - ucp
545 properties:
546 count: { get_param: lma_size }
547 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100548 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200549 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200550 metadata: { get_param: lma_metadata }
551 node_type: "worker"
552 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200553 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200554 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200555 docker_ee_url: { get_param: docker_ee_url }
556 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300557 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200558 accessible_network: { get_attr: [accessible_network, public_network] }
559 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
560 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
561 private_floating_interface: { get_param: private_floating_interface }
562 private_floating_network_cidr: { get_param: private_floating_network_cidr }
563 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200564 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200565 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200566 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200567 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200568 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200569 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
570 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
571 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300572 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
573 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300574 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400575 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
576 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200577 hardware_metadata: { get_param: hardware_metadata}
sgudzb94b4c62020-02-05 13:21:25 +0200578
579 osds:
580 type: OS::Heat::ResourceGroup
581 depends_on:
582 - ucp
583 properties:
584 count: { get_param: osd_size }
585 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100586 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200587 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200588 metadata: { get_param: osd_metadata }
589 node_type: "worker"
590 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200591 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200592 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200593 docker_ee_url: { get_param: docker_ee_url }
594 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300595 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200596 accessible_network: { get_attr: [accessible_network, public_network] }
597 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
598 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
599 private_floating_interface: { get_param: private_floating_interface }
600 private_floating_network_cidr: { get_param: private_floating_network_cidr }
601 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200602 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200603 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200604 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200605 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200606 storage_frontend_interface: { get_param: storage_frontend_interface }
607 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
608 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
609 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
610 storage_backend_interface: { get_param: storage_backend_interface }
611 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
612 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
613 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300614 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
615 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300616 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400617 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
618 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400619 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200620 tun_network: { get_attr: [tun_network, tun_network_id] }
621 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200622 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100623
Dennis Dmitrievea894212020-03-12 21:36:43 +0200624 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200625 type: OS::Heat::ResourceGroup
626 depends_on:
627 - ucp
628 properties:
629 count: { get_param: spare_size }
630 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200631 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200632 properties:
633 metadata: { get_param: spare_metadata }
634 node_type: "spare"
635 key_name: { get_param: "OS::stack_name" }
636 image: { get_param: image }
637 flavor: { get_param: spares_flavor }
638 docker_ee_url: { get_param: docker_ee_url }
639 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300640 docker_ucp_image: { get_param: docker_ucp_image}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200641 accessible_network: { get_attr: [accessible_network, public_network] }
642 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
643 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
644 private_floating_interface: { get_param: private_floating_interface }
645 private_floating_network_cidr: { get_param: private_floating_network_cidr }
646 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
647 public_net_id: { get_param: public_net_id }
648 control_network_cidr: { get_param: control_network_cidr }
649 ucp_master_host: { get_attr: [ucp, server_private_ip] }
650 functions_override: { get_param: functions_override }
651 storage_frontend_interface: { get_param: storage_frontend_interface }
652 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
653 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
654 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200655 storage_backend_interface: { get_param: storage_backend_interface }
656 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
657 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
658 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300659 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
660 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300661 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400662 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
663 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400664 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200665 tun_network: { get_attr: [tun_network, tun_network_id] }
666 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200667 hardware_metadata: { get_param: hardware_metadata}
668
sgudz43eb82b2020-02-11 16:36:48 +0200669 ntws:
670 type: OS::Heat::ResourceGroup
671 depends_on:
672 - ucp
673 properties:
674 count: { get_param: ntw_size }
675 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200676 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200677 properties:
678 metadata: { get_param: ntw_metadata }
679 node_type: "worker"
680 key_name: { get_param: "OS::stack_name" }
681 image: { get_param: image }
682 flavor: { get_param: ntws_flavor }
683 docker_ee_url: { get_param: docker_ee_url }
684 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300685 docker_ucp_image: { get_param: docker_ucp_image}
sgudz43eb82b2020-02-11 16:36:48 +0200686 accessible_network: { get_attr: [accessible_network, public_network] }
687 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
688 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
689 private_floating_interface: { get_param: private_floating_interface }
690 private_floating_network_cidr: { get_param: private_floating_network_cidr }
691 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
692 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200693 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200694 ucp_master_host: { get_attr: [ucp, server_private_ip] }
695 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200696 storage_frontend_interface: { get_param: storage_frontend_interface }
697 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
698 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
699 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300700 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
701 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300702 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400703 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
704 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200705 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200706
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300707 vbmcs:
708 type: OS::Heat::ResourceGroup
709 depends_on:
710 - ucp
711 properties:
712 count: { get_param: vbmc_size }
713 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400714 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300715 properties:
716 metadata: { get_param: vbmc_metadata}
717 node_type: "worker"
718 key_name: { get_param: "OS::stack_name" }
719 image: { get_param: image }
720 flavor: { get_param: vbmcs_flavor }
721 docker_ee_url: { get_param: docker_ee_url }
722 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300723 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300724 accessible_network: { get_attr: [accessible_network, public_network] }
725 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
726 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
727 private_floating_interface: { get_param: private_floating_interface }
728 private_floating_network_cidr: { get_param: private_floating_network_cidr }
729 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
730 public_net_id: { get_param: public_net_id }
731 control_network_cidr: { get_param: control_network_cidr }
732 ucp_master_host: { get_attr: [ucp, server_private_ip] }
733 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400734 storage_frontend_interface: { get_param: storage_frontend_interface }
735 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
736 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
737 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400738 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
739 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300740 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400741 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
742 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300743 hardware_metadata: { get_param: hardware_metadata}
744
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100745outputs:
746 ucp_ips:
747 description: Private IP addresses of the deployed ucp instances
748 value: { get_attr: [ucp, server_public_ip] }
749 masters_ips:
750 description: Private IP addresses of the deployed masters instances
751 value: { get_attr: [masters, server_public_ip] }
752 workers_ips:
753 description: Private IP addresses of the deployed worker instances
754 value: { get_attr: [workers, server_public_ip] }
755 cmps_ips:
756 description: Private IP addresses of the deployed cmp instances
757 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200758 acmps_ips:
759 description: Private IP addresses of the deployed cmp instances with high computing features
760 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100761 gtws_ips:
762 description: Private IP addresses of the deployed gtw instances
763 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200764 lmas_ips:
765 description: Private IP addresses of the deployed lma instances
766 value: { get_attr: [lmas, server_public_ip] }
767 osds_ips:
768 description: Private IP addresses of the deployed osd instances
769 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200770 spares_ips:
771 description: Private IP addresses of the deployed spare instances
772 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200773 ntws_ips:
774 description: Private IP addresses of the deployed contrail instances
775 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300776 vbmcs_ips:
777 description: Private IP addresses of the deployed virtualbmcs instances
778 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300779 vbmc_ironic_baremetal_ips:
780 description: The IPs of ironic baremetal network assigned to vbmc hosts.
781 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200782 worker_private_floating_ips:
783 description: IPs might be used as gateway
784 value: { get_attr: [workers, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +0200785 private_floating_cidr:
786 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200787 private_floating_network_pool_start:
788 value: { get_param: private_floating_network_pool_start }
789 private_floating_network_pool_end:
790 value: { get_param: private_floating_network_pool_end }
791 private_floating_network_gateway:
792 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300793 private_floating_network_interface:
794 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300795 ironic_baremetal_network_pool_start:
796 value: { get_param: ironic_baremetal_network_pool_start }
797 ironic_baremetal_network_pool_end:
798 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300799 ironic_baremetal_network_interface:
800 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300801 ironic_baremetal_network_vbmc_interface:
802 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300803 ironic_baremetal_provisioning_interface:
804 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400805 ironic_baremetal_pxe_interface:
806 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200807 tunnel_interface:
808 value: { get_param: tunnel_interface }
809 live_migration_interface:
810 value: { get_param: live_migration_interface }
811 metallb_address_pools:
812 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200813 ucp_wc_data:
814 description: Metadata from ucp
815 value: { get_attr: [ucp, wc_data] }
816 masters_wc_data:
817 description: Metadata from masters
818 value: { get_attr: [masters, wc_data] }
819 workers_wc_data:
820 description: Metadata from workers
821 value: { get_attr: [workers, wc_data] }
822 cmps_wc_data:
823 description: Metadata from cmps
824 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200825 acmps_wc_data:
826 description: Metadata from cmps with high computing features
827 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200828 gtws_wc_data:
829 description: Metadata from gtws
830 value: { get_attr: [gtws, wc_data] }
831 lmas_wc_data:
832 description: Metadata from lmas
833 value: { get_attr: [lmas, wc_data] }
834 osds_wc_data:
835 description: Metadata from osds
836 value: { get_attr: [osds, wc_data] }
837 ntws_wc_data:
838 description: Metadata from ntws
839 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200840 storage_frontend_network_cidr:
841 description: Storage network which is used as clientNet in Ceph CR
842 value: { get_param: storage_frontend_network_cidr }
843 storage_backend_network_cidr:
844 description: Storage network which is used as clusterNet in Ceph CR
845 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400846 tungstenfabric_enabled:
847 value: { get_param: tungstenfabric_enabled }
848 data_network_vsrx_ip:
849 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200850 value: { get_param: data_network_vsrx_ip }