blob: 2a36856b01b9c3893336f22a8ba13151d82bf1c3 [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'
Dennis Dmitrievea894212020-03-12 21:36:43 +0200162 ucp_metadata:
163 type: json
164 default: {"role":"ucp"}
165 master_metadata:
166 type: json
167 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100168 worker_metadata:
169 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200170 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100171 cmp_metadata:
172 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200173 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200174 acmp_metadata:
175 type: json
176 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100177 gtw_metadata:
178 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200179 default: {}
180 lma_metadata:
181 type: json
182 default: {}
183 osd_metadata:
184 type: json
185 default: {}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200186 spare_metadata:
187 type: json
188 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200189 ntw_metadata:
190 type: json
191 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300192 vbmc_metadata:
193 type: json
194 default: {}
sgudzfe58e8a2020-02-11 13:31:40 +0200195 ucp_flavor:
196 type: string
Vasyl Saienko4f740902020-08-18 11:09:06 +0300197 default: 'kaas-bm.worker'
sgudzfe58e8a2020-02-11 13:31:40 +0200198 masters_flavor:
199 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300200 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200201 workers_flavor:
202 type: string
203 default: 'system.compact.openstack.control'
204 cmps_flavor:
205 type: string
206 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200207 acmps_flavor:
208 type: string
209 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200210 gtws_flavor:
211 type: string
212 default: 'system.compact.openstack.control'
213 lmas_flavor:
214 type: string
215 default: 'system.compact.openstack.control'
216 osds_flavor:
217 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100218 default: 'system.virtual.ceph.osd'
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200219 spares_flavor:
220 type: string
221 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200222 ntws_flavor:
223 type: string
224 default: 'system.compact.openstack.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300225 vbmcs_flavor:
226 type: string
227 default: 'system.compact.openstack.control'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200228 functions_override:
229 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200230 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200231 docker_ee_url:
232 type: string
Vasyl Saienko1785c352020-03-11 11:39:40 +0200233 default: 'http://mirror-us.mcp.mirantis.net/.snapshots/docker-ee-bionic-latest'
234# default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200235 docker_ee_release:
236 type: string
237 default: 'stable-19.03'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300238 docker_ucp_image:
239 type: string
240 default: 'docker/ucp:3.2.4'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200241 tunnel_interface:
242 type: string
243 default: ''
244 live_migration_interface:
245 type: string
246 default: ''
247 metallb_address_pools:
248 type: comma_delimited_list
249 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200250 hardware_metadata:
251 description: The content of lab metadata.
252 default: ''
253 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200254 huge_pages:
255 description: >
256 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
257 If number is equal to 0 alloacation of huge pages won't be configured.
258 default: '0,0'
259 type: string
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100260
261resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200262 keypair_name:
263 type: OS::Heat::RandomString
264 properties:
265 character_classes: [{"class": "hexdigits", "min": 1}]
266 length: 128
267 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100268 key_pair:
269 type: OS::Nova::KeyPair
270 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200271 name: { get_attr: [keypair_name, value] }
272 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100273 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200274 accessible_network:
275 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100276 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200277 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300278 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100279
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200280 tun_network:
281 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400282 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200283 tun_network_cidr: { get_param: tun_network_cidr }
284 tun_network_pool_start: { get_param: tun_network_pool_start }
285 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400286
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100287 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200288 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100289 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200290 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200291 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200292 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400293 private_floating_network_gateway: {get_param: private_floating_network_gateway}
294 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
295 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400296 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200297 tun_network: { get_attr: [tun_network, tun_network_id] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100298
Mateusz Lose2ad0772020-02-27 21:41:54 +0100299 storage_network:
300 type: MCP2::NetworkAccStorage
301 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100302 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200303 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100304
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300305 ironic_baremetal_network:
306 type: MCP2::NetworkIronicFlat
307 properties:
308 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
309 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
310 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
311 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
312
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100313 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100314 depends_on:
315 - accessible_network
316 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200317 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100318 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200319 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200320 docker_ee_url: { get_param: docker_ee_url }
321 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300322 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200323 node_type: "ucp"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200324 key_name: { get_param: "OS::stack_name" }
325 image: { get_param: image }
326 flavor: { get_param: ucp_flavor }
327 accessible_network: { get_attr: [accessible_network, public_network] }
328 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
329 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
330 private_floating_interface: { get_param: private_floating_interface }
331 private_floating_network_cidr: { get_param: private_floating_network_cidr }
332 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
333 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200334 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200335 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200336 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200337
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100338 masters:
339 type: OS::Heat::ResourceGroup
340 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200341 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100342 properties:
343 count: { get_param: masters_size }
344 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200345 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100346 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200347 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200348 node_type: "master"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200349 key_name: { get_param: "OS::stack_name" }
350 image: { get_param: image }
351 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200352 docker_ee_url: { get_param: docker_ee_url }
353 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300354 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200355 accessible_network: { get_attr: [accessible_network, public_network] }
356 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
357 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
358 private_floating_interface: { get_param: private_floating_interface }
359 private_floating_network_cidr: { get_param: private_floating_network_cidr }
360 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
361 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200362 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200363 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200364 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200365 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200366
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100367 workers:
368 type: OS::Heat::ResourceGroup
369 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200370 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100371 properties:
372 count: { get_param: worker_size }
373 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200374 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100375 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200376 metadata: { get_param: worker_metadata}
377 node_type: "worker"
378 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100379 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200380 flavor: { get_param: workers_flavor }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100381 key_name: { get_param: "OS::stack_name" }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200382 docker_ee_url: { get_param: docker_ee_url }
383 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300384 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200385 accessible_network: { get_attr: [accessible_network, public_network] }
386 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
387 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
388 private_floating_interface: { get_param: private_floating_interface }
389 private_floating_network_cidr: { get_param: private_floating_network_cidr }
390 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100391 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200392 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200393 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200394 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200395 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200396 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
397 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
398 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200399 storage_backend_interface: { get_param: storage_backend_interface }
400 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
401 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
402 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300403 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
404 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300405 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400406 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
407 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400408 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200409 tun_network: { get_attr: [tun_network, tun_network_id] }
410 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200411 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200412
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100413 cmps:
414 type: OS::Heat::ResourceGroup
415 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200416 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100417 properties:
418 count: { get_param: cmp_size }
419 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200420 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100421 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200422 metadata: { get_param: cmp_metadata }
423 node_type: "worker"
424 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100425 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200426 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200427 docker_ee_url: { get_param: docker_ee_url }
428 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300429 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200430 accessible_network: { get_attr: [accessible_network, public_network] }
431 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
432 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
433 private_floating_interface: { get_param: private_floating_interface }
434 private_floating_network_cidr: { get_param: private_floating_network_cidr }
435 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100436 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200437 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200438 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200439 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200440 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200441 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
442 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
443 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200444 storage_backend_interface: { get_param: storage_backend_interface }
445 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
446 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
447 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300448 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
449 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300450 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400451 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
452 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400453 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200454 tun_network: { get_attr: [tun_network, tun_network_id] }
455 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200456 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200457
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200458 acmps:
459 type: OS::Heat::ResourceGroup
460 depends_on:
461 - ucp
462 properties:
463 count: { get_param: acmp_size }
464 resource_def:
465 type: MCP2::SrvInstancesCephOSD
466 properties:
467 metadata: { get_param: acmp_metadata }
468 node_type: "worker"
469 key_name: { get_param: "OS::stack_name" }
470 image: { get_param: image }
471 flavor: { get_param: acmps_flavor }
472 docker_ee_url: { get_param: docker_ee_url }
473 docker_ee_release: { get_param: docker_ee_release }
474 docker_ucp_image: { get_param: docker_ucp_image}
475 accessible_network: { get_attr: [accessible_network, public_network] }
476 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
477 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
478 private_floating_interface: { get_param: private_floating_interface }
479 private_floating_network_cidr: { get_param: private_floating_network_cidr }
480 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
481 public_net_id: { get_param: public_net_id }
482 control_network_cidr: { get_param: control_network_cidr }
483 ucp_master_host: { get_attr: [ucp, server_private_ip] }
484 functions_override: { get_param: functions_override }
485 storage_frontend_interface: { get_param: storage_frontend_interface }
486 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
487 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
488 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
489 storage_backend_interface: { get_param: storage_backend_interface }
490 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
491 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
492 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
493 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
494 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
495 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
496 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
497 ironic_mt_enabled: { get_param: ironic_mt_enabled }
498 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200499 tun_network: { get_attr: [tun_network, tun_network_id] }
500 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200501 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200502 huge_pages: { get_param: huge_pages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200503
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100504 gtws:
505 type: OS::Heat::ResourceGroup
506 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200507 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100508 properties:
509 count: { get_param: gtw_size }
510 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200511 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100512 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200513 metadata: { get_param: gtw_metadata }
514 node_type: "worker"
515 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100516 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200517 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200518 docker_ee_url: { get_param: docker_ee_url }
519 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300520 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200521 accessible_network: { get_attr: [accessible_network, public_network] }
522 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
523 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
524 private_floating_interface: { get_param: private_floating_interface }
525 private_floating_network_cidr: { get_param: private_floating_network_cidr }
526 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100527 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200528 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200529 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200530 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200531 storage_frontend_interface: { get_param: storage_frontend_interface }
532 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
533 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
534 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300535 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
536 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300537 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400538 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
539 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200540 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100541
sgudzb94b4c62020-02-05 13:21:25 +0200542 lmas:
543 type: OS::Heat::ResourceGroup
544 depends_on:
545 - ucp
546 properties:
547 count: { get_param: lma_size }
548 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100549 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200550 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200551 metadata: { get_param: lma_metadata }
552 node_type: "worker"
553 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200554 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200555 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200556 docker_ee_url: { get_param: docker_ee_url }
557 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300558 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200559 accessible_network: { get_attr: [accessible_network, public_network] }
560 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
561 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
562 private_floating_interface: { get_param: private_floating_interface }
563 private_floating_network_cidr: { get_param: private_floating_network_cidr }
564 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200565 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200566 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200567 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200568 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200569 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200570 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
571 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
572 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300573 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
574 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300575 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400576 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
577 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200578 hardware_metadata: { get_param: hardware_metadata}
sgudzb94b4c62020-02-05 13:21:25 +0200579
580 osds:
581 type: OS::Heat::ResourceGroup
582 depends_on:
583 - ucp
584 properties:
585 count: { get_param: osd_size }
586 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100587 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200588 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200589 metadata: { get_param: osd_metadata }
590 node_type: "worker"
591 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200592 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200593 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200594 docker_ee_url: { get_param: docker_ee_url }
595 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300596 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200597 accessible_network: { get_attr: [accessible_network, public_network] }
598 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
599 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
600 private_floating_interface: { get_param: private_floating_interface }
601 private_floating_network_cidr: { get_param: private_floating_network_cidr }
602 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200603 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200604 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200605 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200606 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200607 storage_frontend_interface: { get_param: storage_frontend_interface }
608 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
609 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
610 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
611 storage_backend_interface: { get_param: storage_backend_interface }
612 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
613 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
614 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300615 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
616 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300617 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400618 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
619 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400620 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200621 tun_network: { get_attr: [tun_network, tun_network_id] }
622 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200623 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100624
Dennis Dmitrievea894212020-03-12 21:36:43 +0200625 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200626 type: OS::Heat::ResourceGroup
627 depends_on:
628 - ucp
629 properties:
630 count: { get_param: spare_size }
631 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200632 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200633 properties:
634 metadata: { get_param: spare_metadata }
635 node_type: "spare"
636 key_name: { get_param: "OS::stack_name" }
637 image: { get_param: image }
638 flavor: { get_param: spares_flavor }
639 docker_ee_url: { get_param: docker_ee_url }
640 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300641 docker_ucp_image: { get_param: docker_ucp_image}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200642 accessible_network: { get_attr: [accessible_network, public_network] }
643 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
644 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
645 private_floating_interface: { get_param: private_floating_interface }
646 private_floating_network_cidr: { get_param: private_floating_network_cidr }
647 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
648 public_net_id: { get_param: public_net_id }
649 control_network_cidr: { get_param: control_network_cidr }
650 ucp_master_host: { get_attr: [ucp, server_private_ip] }
651 functions_override: { get_param: functions_override }
652 storage_frontend_interface: { get_param: storage_frontend_interface }
653 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
654 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
655 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200656 storage_backend_interface: { get_param: storage_backend_interface }
657 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
658 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
659 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300660 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
661 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300662 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400663 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
664 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400665 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200666 tun_network: { get_attr: [tun_network, tun_network_id] }
667 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200668 hardware_metadata: { get_param: hardware_metadata}
669
sgudz43eb82b2020-02-11 16:36:48 +0200670 ntws:
671 type: OS::Heat::ResourceGroup
672 depends_on:
673 - ucp
674 properties:
675 count: { get_param: ntw_size }
676 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200677 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200678 properties:
679 metadata: { get_param: ntw_metadata }
680 node_type: "worker"
681 key_name: { get_param: "OS::stack_name" }
682 image: { get_param: image }
683 flavor: { get_param: ntws_flavor }
684 docker_ee_url: { get_param: docker_ee_url }
685 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300686 docker_ucp_image: { get_param: docker_ucp_image}
sgudz43eb82b2020-02-11 16:36:48 +0200687 accessible_network: { get_attr: [accessible_network, public_network] }
688 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
689 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
690 private_floating_interface: { get_param: private_floating_interface }
691 private_floating_network_cidr: { get_param: private_floating_network_cidr }
692 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
693 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200694 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200695 ucp_master_host: { get_attr: [ucp, server_private_ip] }
696 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200697 storage_frontend_interface: { get_param: storage_frontend_interface }
698 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
699 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
700 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300701 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
702 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300703 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400704 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
705 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200706 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200707
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300708 vbmcs:
709 type: OS::Heat::ResourceGroup
710 depends_on:
711 - ucp
712 properties:
713 count: { get_param: vbmc_size }
714 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400715 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300716 properties:
717 metadata: { get_param: vbmc_metadata}
718 node_type: "worker"
719 key_name: { get_param: "OS::stack_name" }
720 image: { get_param: image }
721 flavor: { get_param: vbmcs_flavor }
722 docker_ee_url: { get_param: docker_ee_url }
723 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300724 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300725 accessible_network: { get_attr: [accessible_network, public_network] }
726 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
727 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
728 private_floating_interface: { get_param: private_floating_interface }
729 private_floating_network_cidr: { get_param: private_floating_network_cidr }
730 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
731 public_net_id: { get_param: public_net_id }
732 control_network_cidr: { get_param: control_network_cidr }
733 ucp_master_host: { get_attr: [ucp, server_private_ip] }
734 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400735 storage_frontend_interface: { get_param: storage_frontend_interface }
736 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
737 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
738 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400739 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
740 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300741 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400742 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
743 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300744 hardware_metadata: { get_param: hardware_metadata}
745
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100746outputs:
747 ucp_ips:
748 description: Private IP addresses of the deployed ucp instances
749 value: { get_attr: [ucp, server_public_ip] }
750 masters_ips:
751 description: Private IP addresses of the deployed masters instances
752 value: { get_attr: [masters, server_public_ip] }
753 workers_ips:
754 description: Private IP addresses of the deployed worker instances
755 value: { get_attr: [workers, server_public_ip] }
756 cmps_ips:
757 description: Private IP addresses of the deployed cmp instances
758 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200759 acmps_ips:
760 description: Private IP addresses of the deployed cmp instances with high computing features
761 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100762 gtws_ips:
763 description: Private IP addresses of the deployed gtw instances
764 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200765 lmas_ips:
766 description: Private IP addresses of the deployed lma instances
767 value: { get_attr: [lmas, server_public_ip] }
768 osds_ips:
769 description: Private IP addresses of the deployed osd instances
770 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200771 spares_ips:
772 description: Private IP addresses of the deployed spare instances
773 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200774 ntws_ips:
775 description: Private IP addresses of the deployed contrail instances
776 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300777 vbmcs_ips:
778 description: Private IP addresses of the deployed virtualbmcs instances
779 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300780 vbmc_ironic_baremetal_ips:
781 description: The IPs of ironic baremetal network assigned to vbmc hosts.
782 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200783 worker_private_floating_ips:
784 description: IPs might be used as gateway
785 value: { get_attr: [workers, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +0200786 private_floating_cidr:
787 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200788 private_floating_network_pool_start:
789 value: { get_param: private_floating_network_pool_start }
790 private_floating_network_pool_end:
791 value: { get_param: private_floating_network_pool_end }
792 private_floating_network_gateway:
793 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300794 private_floating_network_interface:
795 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300796 ironic_baremetal_network_pool_start:
797 value: { get_param: ironic_baremetal_network_pool_start }
798 ironic_baremetal_network_pool_end:
799 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300800 ironic_baremetal_network_interface:
801 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300802 ironic_baremetal_network_vbmc_interface:
803 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300804 ironic_baremetal_provisioning_interface:
805 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400806 ironic_baremetal_pxe_interface:
807 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200808 tunnel_interface:
809 value: { get_param: tunnel_interface }
810 live_migration_interface:
811 value: { get_param: live_migration_interface }
812 metallb_address_pools:
813 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200814 ucp_wc_data:
815 description: Metadata from ucp
816 value: { get_attr: [ucp, wc_data] }
817 masters_wc_data:
818 description: Metadata from masters
819 value: { get_attr: [masters, wc_data] }
820 workers_wc_data:
821 description: Metadata from workers
822 value: { get_attr: [workers, wc_data] }
823 cmps_wc_data:
824 description: Metadata from cmps
825 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200826 acmps_wc_data:
827 description: Metadata from cmps with high computing features
828 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200829 gtws_wc_data:
830 description: Metadata from gtws
831 value: { get_attr: [gtws, wc_data] }
832 lmas_wc_data:
833 description: Metadata from lmas
834 value: { get_attr: [lmas, wc_data] }
835 osds_wc_data:
836 description: Metadata from osds
837 value: { get_attr: [osds, wc_data] }
838 ntws_wc_data:
839 description: Metadata from ntws
840 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200841 storage_frontend_network_cidr:
842 description: Storage network which is used as clientNet in Ceph CR
843 value: { get_param: storage_frontend_network_cidr }
844 storage_backend_network_cidr:
845 description: Storage network which is used as clusterNet in Ceph CR
846 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400847 tungstenfabric_enabled:
848 value: { get_param: tungstenfabric_enabled }
849 data_network_vsrx_ip:
850 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200851 value: { get_param: data_network_vsrx_ip }