blob: 629583300ae0051a7d531faa04cd80676c194cb4 [file] [log] [blame]
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001heat_template_version: queens
2
3parameters:
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01004 image:
5 type: string
6 description: Name of image to use for servers
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01007 public_net_id:
8 type: string
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02009 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010010 description: >
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020011 ID of public network for which floating IP addresses will be allocated/
12 for baremetal case flat provision network for nodes
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020013 control_network_cidr:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020014 type: string
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020015 description: The CIDR of control network, used to detect control interface.
16 default: '10.10.0.0/24'
Sergey Matov0709c762020-04-02 14:30:50 +040017 control_network_vsrx_peering_ip:
18 type: string
19 description: IP address of vsrx for tungsten fabric peering
20 default: ''
Anton Samoylovea0b23e2020-06-26 14:17:51 +040021 data_network_vsrx_ip:
22 type: string
23 description: IP address of vsrx in tungsten fabric data network
24 default: ''
Stepan Rogov60bc3522020-12-16 17:43:25 +030025 docker_default_address_pool:
26 type: string
27 description: Default address pool for Docker ucp specific local networks
28 default: '10.10.1.0/16'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010029 masters_size:
30 type: number
31 description: Number of masters instances to deploy
32 default: 2
33 worker_size:
34 type: number
35 description: Number of workers to deploy
36 default: 5
37 cmp_size:
38 type: number
39 description: Number of cmp workers to deploy
40 default: 0
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +020041 acmp_size:
42 type: number
43 description: Number of advanced cmp workers to deploy
44 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010045 gtw_size:
46 type: number
47 description: Number of gtw workers to deploy
48 default: 0
sgudzb94b4c62020-02-05 13:21:25 +020049 lma_size:
50 type: number
51 description: Number of gtw workers to deploy
52 default: 0
53 osd_size:
54 type: number
55 description: Number of gtw workers to deploy
56 default: 0
Dennis Dmitriev81da4222020-02-25 17:53:04 +020057 spare_size:
58 type: number
59 description: Number of gtw workers to deploy
60 default: 0
Vasyl Saienko25bb75b2021-02-15 12:22:33 +020061 frr_size:
62 type: number
63 description: Number of frr nodes to deploy
64 default: 0
sgudz43eb82b2020-02-11 16:36:48 +020065 ntw_size:
66 type: number
67 description: Number of contrail nodes to deploy
68 default: 0
Vasyl Saienko36f2edf2020-05-14 10:44:52 +030069 vbmc_size:
70 type: number
71 description: Number of nodes for virtualbmc BM node simulator
72 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010073 ucp_boot_timeout:
74 type: number
75 description: Boot timeout for UCP instance
Vasyl Saienkof36f39c2020-03-10 00:21:42 +020076 default: 3600
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010077 cluster_public_key:
78 type: string
Oleh Hryhorov0019f592020-01-23 11:50:12 +020079 private_floating_network_cidr:
80 type: string
81 default: '10.11.12.0/24'
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +020082 private_floating_network_ipam_pool_start:
83 type: string
84 description: pool start which is used as pool for IPAM and assigned to instances port
85 default: '10.11.12.2'
86 private_floating_network_ipam_pool_end:
87 type: string
88 description: pool end which is used as pool for IPAM and assigned to instances port
89 default: '10.11.12.99'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020090 private_floating_network_pool_start:
91 type: string
92 default: '10.11.12.100'
93 private_floating_network_pool_end:
94 type: string
95 default: '10.11.12.200'
96 private_floating_network_gateway:
97 type: string
Oleh Hryhorovd3a30242020-02-11 15:24:01 +020098 default: ''
Vasyl Saienkoc943f432020-04-21 12:15:57 +030099 private_floating_network_interface:
100 type: string
101 default: 'veth-phy'
102 description: 'The name of interface that should be added to external neutron bridge for floating network.'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200103 private_floating_interface:
104 description: Interface which carries floating network for child OpenStack.
105 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100106 storage_frontend_network_cidr:
107 type: string
108 default: '10.12.0.0/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200109 storage_frontend_interface:
110 type: string
111 default: 'ens5'
112 storage_backend_network_cidr:
113 type: string
114 default: '10.11.0.0/24'
115 storage_backend_interface:
116 type: string
117 default: 'ens6'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300118 ironic_baremetal_network_cidr:
119 type: string
120 default: '10.13.0.0/24'
121 ironic_baremetal_network_ipam_pool_start:
122 type: string
123 default: '10.13.0.2'
124 ironic_baremetal_network_ipam_pool_end:
125 type: string
126 default: '10.13.0.99'
127 ironic_baremetal_network_pool_start:
128 type: string
129 default: '10.13.0.100'
130 ironic_baremetal_network_pool_end:
131 type: string
132 default: '10.13.0.200'
133 ironic_baremetal_network_gateway:
134 type: string
135 default: ''
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400136 ironic_baremetal_tunnel_cidr:
137 type: string
138 default: '10.16.0.0/24'
Vasyl Saienko4c468192020-05-19 11:51:13 +0300139 ironic_baremetal_network_interface:
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300140 type: string
Vasyl Saienko4c468192020-05-19 11:51:13 +0300141 default: 'veth-bm'
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300142 description: 'The name of interface that should be added to ovs bridge in Neutron'
143 ironic_baremetal_network_vbmc_interface:
144 type: string
145 default: 'veth-vbmc'
146 description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.'
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300147 ironic_baremetal_provisioning_interface:
148 type: string
149 default: 'br-baremetal'
150 description: 'The name of interface on node to which IP ironic services will bind.'
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400151 ironic_baremetal_pxe_interface:
152 type: string
153 default: 'pxe.1000'
154 description: 'Will be used as provisioning_interface for multi-tenancy mode'
155 ironic_mt_enabled:
156 type: boolean
157 default: false
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400158 tungstenfabric_enabled:
159 type: boolean
160 default: false
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200161 tun_network_cidr:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400162 type: string
163 default: '10.15.0.0/24'
Mykyta Karpin2aba4122020-12-02 15:03:09 +0200164 # When tun interface is added to ovs bridge inside vm,
165 # and arp responder is enabled on undercloud,
166 # ip adresses from tun network pool can't be used for
167 # configuring vxlan tunnels through ovs bridge (https://mirantis.jira.com/browse/PRODX-9337).
168 # Ip addresses unknown for arp responder should be used.
169 # In deployment pipeline addresses assigned by openstack to advanced compute nodes
170 # are changed inside instance to 10.15.0.1XX for this case.
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200171 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400172 type: string
173 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200174 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400175 type: string
176 default: '10.15.0.99'
Dennis Dmitrievea894212020-03-12 21:36:43 +0200177 ucp_metadata:
178 type: json
179 default: {"role":"ucp"}
180 master_metadata:
181 type: json
182 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100183 worker_metadata:
184 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200185 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100186 cmp_metadata:
187 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200188 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200189 acmp_metadata:
190 type: json
191 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100192 gtw_metadata:
193 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200194 default: {}
195 lma_metadata:
196 type: json
197 default: {}
198 osd_metadata:
199 type: json
200 default: {}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200201 spare_metadata:
202 type: json
203 default: {}
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200204 frr_metadata:
205 type: json
206 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200207 ntw_metadata:
208 type: json
209 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300210 vbmc_metadata:
211 type: json
212 default: {}
sgudzfe58e8a2020-02-11 13:31:40 +0200213 ucp_flavor:
214 type: string
Vasyl Saienko4f740902020-08-18 11:09:06 +0300215 default: 'kaas-bm.worker'
sgudzfe58e8a2020-02-11 13:31:40 +0200216 masters_flavor:
217 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300218 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200219 workers_flavor:
220 type: string
221 default: 'system.compact.openstack.control'
222 cmps_flavor:
223 type: string
224 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200225 acmps_flavor:
226 type: string
227 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200228 gtws_flavor:
229 type: string
230 default: 'system.compact.openstack.control'
231 lmas_flavor:
232 type: string
233 default: 'system.compact.openstack.control'
234 osds_flavor:
235 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100236 default: 'system.virtual.ceph.osd'
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200237 spares_flavor:
238 type: string
239 default: 'system.compact.openstack.control'
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200240 frrs_flavor:
241 type: string
242 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200243 ntws_flavor:
244 type: string
245 default: 'system.compact.openstack.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300246 vbmcs_flavor:
247 type: string
248 default: 'system.compact.openstack.control'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200249 functions_override:
250 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200251 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200252 docker_ee_url:
253 type: string
Vasyl Saienko1785c352020-03-11 11:39:40 +0200254 default: 'http://mirror-us.mcp.mirantis.net/.snapshots/docker-ee-bionic-latest'
255# default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200256 docker_ee_release:
257 type: string
258 default: 'stable-19.03'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300259 docker_ucp_image:
260 type: string
261 default: 'docker/ucp:3.2.4'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200262 tunnel_interface:
263 type: string
264 default: ''
265 live_migration_interface:
266 type: string
267 default: ''
268 metallb_address_pools:
269 type: comma_delimited_list
270 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200271 hardware_metadata:
272 description: The content of lab metadata.
273 default: ''
274 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200275 huge_pages:
276 description: >
277 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
278 If number is equal to 0 alloacation of huge pages won't be configured.
279 default: '0,0'
280 type: string
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200281 single_node:
282 description: If set true then AIO is going to be deployed.
283 type: string
284 default: 'false'
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200285 vsrx_image:
286 type: string
287 default: vsrx-mcp2-tf-3-nets
288 vsrx_flavor:
289 type: string
290 default: oc_vsrx
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100291
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200292conditions:
293 aio_deploy:
294 equals:
295 - get_param: single_node
296 - 'true'
297
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100298resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200299 keypair_name:
300 type: OS::Heat::RandomString
301 properties:
302 character_classes: [{"class": "hexdigits", "min": 1}]
303 length: 128
304 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100305 key_pair:
306 type: OS::Nova::KeyPair
307 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200308 name: { get_attr: [keypair_name, value] }
309 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100310 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200311 accessible_network:
312 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100313 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200314 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300315 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100316
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200317 tun_network:
318 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400319 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200320 tun_network_cidr: { get_param: tun_network_cidr }
321 tun_network_pool_start: { get_param: tun_network_pool_start }
322 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400323
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100324 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200325 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100326 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200327 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200328 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200329 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400330 private_floating_network_gateway: {get_param: private_floating_network_gateway}
331 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
332 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400333 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200334 tun_network: { get_attr: [tun_network, tun_network_id] }
Vasyl Saienko6a6c9f02021-02-08 09:54:29 +0200335 vsrx_image: { get_param: vsrx_image }
336 vsrx_flavor: { get_param: vsrx_flavor }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100337
Mateusz Lose2ad0772020-02-27 21:41:54 +0100338 storage_network:
339 type: MCP2::NetworkAccStorage
340 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100341 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200342 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100343
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300344 ironic_baremetal_network:
345 type: MCP2::NetworkIronicFlat
346 properties:
347 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
348 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
349 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
350 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
351
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100352 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100353 depends_on:
354 - accessible_network
355 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200356 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100357 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200358 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200359 docker_ee_url: { get_param: docker_ee_url }
360 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300361 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300362 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200363 node_type: "ucp"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200364 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200365 image: { get_param: image }
366 flavor: { get_param: ucp_flavor }
367 accessible_network: { get_attr: [accessible_network, public_network] }
368 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
369 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
370 private_floating_interface: { get_param: private_floating_interface }
371 private_floating_network_cidr: { get_param: private_floating_network_cidr }
372 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
373 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200374 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200375 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200376 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200377 single_node: { get_param: single_node}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200378
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100379 masters:
380 type: OS::Heat::ResourceGroup
381 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200382 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100383 properties:
384 count: { get_param: masters_size }
385 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200386 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100387 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200388 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200389 node_type: "master"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200390 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200391 image: { get_param: image }
392 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200393 docker_ee_url: { get_param: docker_ee_url }
394 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300395 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300396 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200397 accessible_network: { get_attr: [accessible_network, public_network] }
398 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
399 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
400 private_floating_interface: { get_param: private_floating_interface }
401 private_floating_network_cidr: { get_param: private_floating_network_cidr }
402 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
403 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200404 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200405 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200406 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200407 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200408
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100409 workers:
410 type: OS::Heat::ResourceGroup
411 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200412 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100413 properties:
414 count: { get_param: worker_size }
415 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200416 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100417 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200418 metadata: { get_param: worker_metadata}
419 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200420 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100421 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200422 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200423 docker_ee_url: { get_param: docker_ee_url }
424 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300425 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300426 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200427 accessible_network: { get_attr: [accessible_network, public_network] }
428 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
429 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
430 private_floating_interface: { get_param: private_floating_interface }
431 private_floating_network_cidr: { get_param: private_floating_network_cidr }
432 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100433 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200434 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200435 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200436 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200437 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200438 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
439 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
440 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200441 storage_backend_interface: { get_param: storage_backend_interface }
442 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
443 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
444 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300445 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
446 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300447 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400448 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
449 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400450 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200451 tun_network: { get_attr: [tun_network, tun_network_id] }
452 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200453 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200454
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100455 cmps:
456 type: OS::Heat::ResourceGroup
457 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200458 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100459 properties:
460 count: { get_param: cmp_size }
461 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200462 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100463 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200464 metadata: { get_param: cmp_metadata }
465 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200466 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100467 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200468 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200469 docker_ee_url: { get_param: docker_ee_url }
470 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300471 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300472 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200473 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]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100479 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200480 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200481 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200482 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200483 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200484 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 }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200487 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 }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300491 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] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300493 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400494 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
495 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400496 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200497 tun_network: { get_attr: [tun_network, tun_network_id] }
498 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200499 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200500
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200501 acmps:
502 type: OS::Heat::ResourceGroup
503 depends_on:
504 - ucp
505 properties:
506 count: { get_param: acmp_size }
507 resource_def:
508 type: MCP2::SrvInstancesCephOSD
509 properties:
510 metadata: { get_param: acmp_metadata }
511 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200512 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200513 image: { get_param: image }
514 flavor: { get_param: acmps_flavor }
515 docker_ee_url: { get_param: docker_ee_url }
516 docker_ee_release: { get_param: docker_ee_release }
517 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300518 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200519 accessible_network: { get_attr: [accessible_network, public_network] }
520 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
521 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
522 private_floating_interface: { get_param: private_floating_interface }
523 private_floating_network_cidr: { get_param: private_floating_network_cidr }
524 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
525 public_net_id: { get_param: public_net_id }
526 control_network_cidr: { get_param: control_network_cidr }
527 ucp_master_host: { get_attr: [ucp, server_private_ip] }
528 functions_override: { get_param: functions_override }
529 storage_frontend_interface: { get_param: storage_frontend_interface }
530 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
531 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
532 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
533 storage_backend_interface: { get_param: storage_backend_interface }
534 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
535 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
536 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
537 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
538 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
539 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
540 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
541 ironic_mt_enabled: { get_param: ironic_mt_enabled }
542 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200543 tun_network: { get_attr: [tun_network, tun_network_id] }
544 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200545 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200546 huge_pages: { get_param: huge_pages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200547
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100548 gtws:
549 type: OS::Heat::ResourceGroup
550 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200551 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100552 properties:
553 count: { get_param: gtw_size }
554 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200555 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100556 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200557 metadata: { get_param: gtw_metadata }
558 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200559 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100560 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200561 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200562 docker_ee_url: { get_param: docker_ee_url }
563 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300564 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300565 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200566 accessible_network: { get_attr: [accessible_network, public_network] }
567 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
568 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
569 private_floating_interface: { get_param: private_floating_interface }
570 private_floating_network_cidr: { get_param: private_floating_network_cidr }
571 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100572 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200573 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200574 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200575 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200576 storage_frontend_interface: { get_param: storage_frontend_interface }
577 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
578 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
579 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300580 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
581 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300582 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400583 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
584 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200585 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100586
sgudzb94b4c62020-02-05 13:21:25 +0200587 lmas:
588 type: OS::Heat::ResourceGroup
589 depends_on:
590 - ucp
591 properties:
592 count: { get_param: lma_size }
593 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100594 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200595 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200596 metadata: { get_param: lma_metadata }
597 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200598 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200599 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200600 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200601 docker_ee_url: { get_param: docker_ee_url }
602 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300603 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300604 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200605 accessible_network: { get_attr: [accessible_network, public_network] }
606 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
607 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
608 private_floating_interface: { get_param: private_floating_interface }
609 private_floating_network_cidr: { get_param: private_floating_network_cidr }
610 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200611 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200612 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200613 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200614 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200615 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200616 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
617 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
618 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300619 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
620 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300621 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400622 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
623 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200624 hardware_metadata: { get_param: hardware_metadata}
sgudzb94b4c62020-02-05 13:21:25 +0200625
626 osds:
627 type: OS::Heat::ResourceGroup
628 depends_on:
629 - ucp
630 properties:
631 count: { get_param: osd_size }
632 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100633 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200634 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200635 metadata: { get_param: osd_metadata }
636 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200637 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200638 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200639 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200640 docker_ee_url: { get_param: docker_ee_url }
641 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300642 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300643 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200644 accessible_network: { get_attr: [accessible_network, public_network] }
645 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
646 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
647 private_floating_interface: { get_param: private_floating_interface }
648 private_floating_network_cidr: { get_param: private_floating_network_cidr }
649 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200650 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200651 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200652 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200653 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200654 storage_frontend_interface: { get_param: storage_frontend_interface }
655 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
656 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
657 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
658 storage_backend_interface: { get_param: storage_backend_interface }
659 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
660 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
661 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300662 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
663 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300664 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400665 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
666 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400667 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200668 tun_network: { get_attr: [tun_network, tun_network_id] }
669 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200670 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100671
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200672 frrs: # spares for osds/cmps
673 type: OS::Heat::ResourceGroup
674 depends_on:
675 - ucp
676 properties:
677 count: { get_param: frr_size }
678 resource_def:
679 type: MCP2::SrvInstancesCephOSD
680 properties:
681 metadata: { get_param: frr_metadata }
682 node_type: "frr"
683 key_name: { get_attr: [keypair_name, value] }
684 image: { get_param: image }
685 flavor: { get_param: frrs_flavor }
686 docker_ee_url: { get_param: docker_ee_url }
687 docker_ee_release: { get_param: docker_ee_release }
688 docker_ucp_image: { get_param: docker_ucp_image}
689 docker_default_address_pool: { get_param: docker_default_address_pool }
690 accessible_network: { get_attr: [accessible_network, public_network] }
691 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
692 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
693 private_floating_interface: { get_param: private_floating_interface }
694 private_floating_network_cidr: { get_param: private_floating_network_cidr }
695 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
696 public_net_id: { get_param: public_net_id }
697 control_network_cidr: { get_param: control_network_cidr }
698 ucp_master_host: { get_attr: [ucp, server_private_ip] }
699 functions_override: { get_param: functions_override }
700 storage_frontend_interface: { get_param: storage_frontend_interface }
701 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
702 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
703 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
704 storage_backend_interface: { get_param: storage_backend_interface }
705 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
706 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
707 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
708 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
709 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
710 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
711 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
712 ironic_mt_enabled: { get_param: ironic_mt_enabled }
713 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
714 tun_network: { get_attr: [tun_network, tun_network_id] }
715 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
716 hardware_metadata: { get_param: hardware_metadata}
717
Dennis Dmitrievea894212020-03-12 21:36:43 +0200718 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200719 type: OS::Heat::ResourceGroup
720 depends_on:
721 - ucp
722 properties:
723 count: { get_param: spare_size }
724 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200725 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200726 properties:
727 metadata: { get_param: spare_metadata }
728 node_type: "spare"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200729 key_name: { get_attr: [keypair_name, value] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200730 image: { get_param: image }
731 flavor: { get_param: spares_flavor }
732 docker_ee_url: { get_param: docker_ee_url }
733 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300734 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300735 docker_default_address_pool: { get_param: docker_default_address_pool }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200736 accessible_network: { get_attr: [accessible_network, public_network] }
737 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
738 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
739 private_floating_interface: { get_param: private_floating_interface }
740 private_floating_network_cidr: { get_param: private_floating_network_cidr }
741 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
742 public_net_id: { get_param: public_net_id }
743 control_network_cidr: { get_param: control_network_cidr }
744 ucp_master_host: { get_attr: [ucp, server_private_ip] }
745 functions_override: { get_param: functions_override }
746 storage_frontend_interface: { get_param: storage_frontend_interface }
747 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
748 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
749 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200750 storage_backend_interface: { get_param: storage_backend_interface }
751 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
752 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
753 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300754 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
755 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300756 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400757 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
758 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400759 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200760 tun_network: { get_attr: [tun_network, tun_network_id] }
761 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200762 hardware_metadata: { get_param: hardware_metadata}
763
sgudz43eb82b2020-02-11 16:36:48 +0200764 ntws:
765 type: OS::Heat::ResourceGroup
766 depends_on:
767 - ucp
768 properties:
769 count: { get_param: ntw_size }
770 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200771 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200772 properties:
773 metadata: { get_param: ntw_metadata }
774 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200775 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200776 image: { get_param: image }
777 flavor: { get_param: ntws_flavor }
778 docker_ee_url: { get_param: docker_ee_url }
779 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300780 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300781 docker_default_address_pool: { get_param: docker_default_address_pool }
sgudz43eb82b2020-02-11 16:36:48 +0200782 accessible_network: { get_attr: [accessible_network, public_network] }
783 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
784 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
785 private_floating_interface: { get_param: private_floating_interface }
786 private_floating_network_cidr: { get_param: private_floating_network_cidr }
787 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
788 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200789 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200790 ucp_master_host: { get_attr: [ucp, server_private_ip] }
791 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200792 storage_frontend_interface: { get_param: storage_frontend_interface }
793 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
794 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
795 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300796 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
797 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300798 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400799 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
800 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200801 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200802
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300803 vbmcs:
804 type: OS::Heat::ResourceGroup
805 depends_on:
806 - ucp
807 properties:
808 count: { get_param: vbmc_size }
809 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400810 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300811 properties:
812 metadata: { get_param: vbmc_metadata}
813 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200814 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300815 image: { get_param: image }
816 flavor: { get_param: vbmcs_flavor }
817 docker_ee_url: { get_param: docker_ee_url }
818 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300819 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300820 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300821 accessible_network: { get_attr: [accessible_network, public_network] }
822 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
823 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
824 private_floating_interface: { get_param: private_floating_interface }
825 private_floating_network_cidr: { get_param: private_floating_network_cidr }
826 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
827 public_net_id: { get_param: public_net_id }
828 control_network_cidr: { get_param: control_network_cidr }
829 ucp_master_host: { get_attr: [ucp, server_private_ip] }
830 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400831 storage_frontend_interface: { get_param: storage_frontend_interface }
832 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
833 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
834 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400835 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
836 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300837 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400838 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
839 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300840 hardware_metadata: { get_param: hardware_metadata}
841
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100842outputs:
843 ucp_ips:
844 description: Private IP addresses of the deployed ucp instances
845 value: { get_attr: [ucp, server_public_ip] }
846 masters_ips:
847 description: Private IP addresses of the deployed masters instances
848 value: { get_attr: [masters, server_public_ip] }
849 workers_ips:
850 description: Private IP addresses of the deployed worker instances
851 value: { get_attr: [workers, server_public_ip] }
852 cmps_ips:
853 description: Private IP addresses of the deployed cmp instances
854 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200855 acmps_ips:
856 description: Private IP addresses of the deployed cmp instances with high computing features
857 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100858 gtws_ips:
859 description: Private IP addresses of the deployed gtw instances
860 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200861 lmas_ips:
862 description: Private IP addresses of the deployed lma instances
863 value: { get_attr: [lmas, server_public_ip] }
864 osds_ips:
865 description: Private IP addresses of the deployed osd instances
866 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200867 spares_ips:
868 description: Private IP addresses of the deployed spare instances
869 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200870 ntws_ips:
871 description: Private IP addresses of the deployed contrail instances
872 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300873 vbmcs_ips:
874 description: Private IP addresses of the deployed virtualbmcs instances
875 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300876 vbmc_ironic_baremetal_ips:
877 description: The IPs of ironic baremetal network assigned to vbmc hosts.
878 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Vasyl Saienko25bb75b2021-02-15 12:22:33 +0200879 frrs_ips:
880 description: Private IP addresses of the deployed FRR instances
881 value: { get_attr: [frrs, server_public_ip] }
882 frrs_tunnel_ips:
883 description: The tunnel IPs of FRR nodes
884 value: { get_attr: [frrs, server_tunnel_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200885 worker_private_floating_ips:
886 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200887 value: {if: [aio_deploy, {get_attr: [ucp, server_private_floating_ip]}, {get_attr: [workers, server_private_floating_ip]}]}
Oleh Hryhorov0019f592020-01-23 11:50:12 +0200888 private_floating_cidr:
889 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200890 private_floating_network_pool_start:
891 value: { get_param: private_floating_network_pool_start }
892 private_floating_network_pool_end:
893 value: { get_param: private_floating_network_pool_end }
894 private_floating_network_gateway:
895 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300896 private_floating_network_interface:
897 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300898 ironic_baremetal_network_pool_start:
899 value: { get_param: ironic_baremetal_network_pool_start }
900 ironic_baremetal_network_pool_end:
901 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300902 ironic_baremetal_network_interface:
903 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300904 ironic_baremetal_network_vbmc_interface:
905 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300906 ironic_baremetal_provisioning_interface:
907 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400908 ironic_baremetal_pxe_interface:
909 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200910 tunnel_interface:
911 value: { get_param: tunnel_interface }
912 live_migration_interface:
913 value: { get_param: live_migration_interface }
914 metallb_address_pools:
915 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200916 ucp_wc_data:
917 description: Metadata from ucp
918 value: { get_attr: [ucp, wc_data] }
919 masters_wc_data:
920 description: Metadata from masters
921 value: { get_attr: [masters, wc_data] }
922 workers_wc_data:
923 description: Metadata from workers
924 value: { get_attr: [workers, wc_data] }
925 cmps_wc_data:
926 description: Metadata from cmps
927 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200928 acmps_wc_data:
929 description: Metadata from cmps with high computing features
930 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200931 gtws_wc_data:
932 description: Metadata from gtws
933 value: { get_attr: [gtws, wc_data] }
934 lmas_wc_data:
935 description: Metadata from lmas
936 value: { get_attr: [lmas, wc_data] }
937 osds_wc_data:
938 description: Metadata from osds
939 value: { get_attr: [osds, wc_data] }
940 ntws_wc_data:
941 description: Metadata from ntws
942 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200943 storage_frontend_network_cidr:
944 description: Storage network which is used as clientNet in Ceph CR
945 value: { get_param: storage_frontend_network_cidr }
946 storage_backend_network_cidr:
947 description: Storage network which is used as clusterNet in Ceph CR
948 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400949 tungstenfabric_enabled:
950 value: { get_param: tungstenfabric_enabled }
951 data_network_vsrx_ip:
952 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200953 value: { get_param: data_network_vsrx_ip }