blob: 757f6898d1be670a057a52d01f4a4b2815e4102f [file] [log] [blame]
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001heat_template_version: queens
2
3parameters:
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01004 image:
5 type: string
6 description: Name of image to use for servers
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01007 public_net_id:
8 type: string
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02009 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010010 description: >
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020011 ID of public network for which floating IP addresses will be allocated/
12 for baremetal case flat provision network for nodes
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020013 control_network_cidr:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020014 type: string
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020015 description: The CIDR of control network, used to detect control interface.
16 default: '10.10.0.0/24'
Sergey Matov0709c762020-04-02 14:30:50 +040017 control_network_vsrx_peering_ip:
18 type: string
19 description: IP address of vsrx for tungsten fabric peering
20 default: ''
Anton Samoylovea0b23e2020-06-26 14:17:51 +040021 data_network_vsrx_ip:
22 type: string
23 description: IP address of vsrx in tungsten fabric data network
24 default: ''
Stepan Rogov60bc3522020-12-16 17:43:25 +030025 docker_default_address_pool:
26 type: string
27 description: Default address pool for Docker ucp specific local networks
28 default: '10.10.1.0/16'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010029 masters_size:
30 type: number
31 description: Number of masters instances to deploy
32 default: 2
33 worker_size:
34 type: number
35 description: Number of workers to deploy
36 default: 5
37 cmp_size:
38 type: number
39 description: Number of cmp workers to deploy
40 default: 0
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +020041 acmp_size:
42 type: number
43 description: Number of advanced cmp workers to deploy
44 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010045 gtw_size:
46 type: number
47 description: Number of gtw workers to deploy
48 default: 0
sgudzb94b4c62020-02-05 13:21:25 +020049 lma_size:
50 type: number
51 description: Number of gtw workers to deploy
52 default: 0
53 osd_size:
54 type: number
55 description: Number of gtw workers to deploy
56 default: 0
Dennis Dmitriev81da4222020-02-25 17:53:04 +020057 spare_size:
58 type: number
59 description: Number of gtw workers to deploy
60 default: 0
sgudz43eb82b2020-02-11 16:36:48 +020061 ntw_size:
62 type: number
63 description: Number of contrail nodes to deploy
64 default: 0
Vasyl Saienko36f2edf2020-05-14 10:44:52 +030065 vbmc_size:
66 type: number
67 description: Number of nodes for virtualbmc BM node simulator
68 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010069 ucp_boot_timeout:
70 type: number
71 description: Boot timeout for UCP instance
Vasyl Saienkof36f39c2020-03-10 00:21:42 +020072 default: 3600
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010073 cluster_public_key:
74 type: string
Oleh Hryhorov0019f592020-01-23 11:50:12 +020075 private_floating_network_cidr:
76 type: string
77 default: '10.11.12.0/24'
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +020078 private_floating_network_ipam_pool_start:
79 type: string
80 description: pool start which is used as pool for IPAM and assigned to instances port
81 default: '10.11.12.2'
82 private_floating_network_ipam_pool_end:
83 type: string
84 description: pool end which is used as pool for IPAM and assigned to instances port
85 default: '10.11.12.99'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020086 private_floating_network_pool_start:
87 type: string
88 default: '10.11.12.100'
89 private_floating_network_pool_end:
90 type: string
91 default: '10.11.12.200'
92 private_floating_network_gateway:
93 type: string
Oleh Hryhorovd3a30242020-02-11 15:24:01 +020094 default: ''
Vasyl Saienkoc943f432020-04-21 12:15:57 +030095 private_floating_network_interface:
96 type: string
97 default: 'veth-phy'
98 description: 'The name of interface that should be added to external neutron bridge for floating network.'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020099 private_floating_interface:
100 description: Interface which carries floating network for child OpenStack.
101 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100102 storage_frontend_network_cidr:
103 type: string
104 default: '10.12.0.0/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200105 storage_frontend_interface:
106 type: string
107 default: 'ens5'
108 storage_backend_network_cidr:
109 type: string
110 default: '10.11.0.0/24'
111 storage_backend_interface:
112 type: string
113 default: 'ens6'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300114 ironic_baremetal_network_cidr:
115 type: string
116 default: '10.13.0.0/24'
117 ironic_baremetal_network_ipam_pool_start:
118 type: string
119 default: '10.13.0.2'
120 ironic_baremetal_network_ipam_pool_end:
121 type: string
122 default: '10.13.0.99'
123 ironic_baremetal_network_pool_start:
124 type: string
125 default: '10.13.0.100'
126 ironic_baremetal_network_pool_end:
127 type: string
128 default: '10.13.0.200'
129 ironic_baremetal_network_gateway:
130 type: string
131 default: ''
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400132 ironic_baremetal_tunnel_cidr:
133 type: string
134 default: '10.16.0.0/24'
Vasyl Saienko4c468192020-05-19 11:51:13 +0300135 ironic_baremetal_network_interface:
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300136 type: string
Vasyl Saienko4c468192020-05-19 11:51:13 +0300137 default: 'veth-bm'
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300138 description: 'The name of interface that should be added to ovs bridge in Neutron'
139 ironic_baremetal_network_vbmc_interface:
140 type: string
141 default: 'veth-vbmc'
142 description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.'
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300143 ironic_baremetal_provisioning_interface:
144 type: string
145 default: 'br-baremetal'
146 description: 'The name of interface on node to which IP ironic services will bind.'
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400147 ironic_baremetal_pxe_interface:
148 type: string
149 default: 'pxe.1000'
150 description: 'Will be used as provisioning_interface for multi-tenancy mode'
151 ironic_mt_enabled:
152 type: boolean
153 default: false
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400154 tungstenfabric_enabled:
155 type: boolean
156 default: false
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200157 tun_network_cidr:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400158 type: string
159 default: '10.15.0.0/24'
Mykyta Karpin2aba4122020-12-02 15:03:09 +0200160 # When tun interface is added to ovs bridge inside vm,
161 # and arp responder is enabled on undercloud,
162 # ip adresses from tun network pool can't be used for
163 # configuring vxlan tunnels through ovs bridge (https://mirantis.jira.com/browse/PRODX-9337).
164 # Ip addresses unknown for arp responder should be used.
165 # In deployment pipeline addresses assigned by openstack to advanced compute nodes
166 # are changed inside instance to 10.15.0.1XX for this case.
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200167 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400168 type: string
169 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200170 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400171 type: string
172 default: '10.15.0.99'
Dennis Dmitrievea894212020-03-12 21:36:43 +0200173 ucp_metadata:
174 type: json
175 default: {"role":"ucp"}
176 master_metadata:
177 type: json
178 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100179 worker_metadata:
180 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200181 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100182 cmp_metadata:
183 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200184 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200185 acmp_metadata:
186 type: json
187 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100188 gtw_metadata:
189 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200190 default: {}
191 lma_metadata:
192 type: json
193 default: {}
194 osd_metadata:
195 type: json
196 default: {}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200197 spare_metadata:
198 type: json
199 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200200 ntw_metadata:
201 type: json
202 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300203 vbmc_metadata:
204 type: json
205 default: {}
sgudzfe58e8a2020-02-11 13:31:40 +0200206 ucp_flavor:
207 type: string
Vasyl Saienko4f740902020-08-18 11:09:06 +0300208 default: 'kaas-bm.worker'
sgudzfe58e8a2020-02-11 13:31:40 +0200209 masters_flavor:
210 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300211 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200212 workers_flavor:
213 type: string
214 default: 'system.compact.openstack.control'
215 cmps_flavor:
216 type: string
217 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200218 acmps_flavor:
219 type: string
220 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200221 gtws_flavor:
222 type: string
223 default: 'system.compact.openstack.control'
224 lmas_flavor:
225 type: string
226 default: 'system.compact.openstack.control'
227 osds_flavor:
228 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100229 default: 'system.virtual.ceph.osd'
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200230 spares_flavor:
231 type: string
232 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200233 ntws_flavor:
234 type: string
235 default: 'system.compact.openstack.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300236 vbmcs_flavor:
237 type: string
238 default: 'system.compact.openstack.control'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200239 functions_override:
240 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200241 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200242 docker_ee_url:
243 type: string
Vasyl Saienko1785c352020-03-11 11:39:40 +0200244 default: 'http://mirror-us.mcp.mirantis.net/.snapshots/docker-ee-bionic-latest'
245# default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200246 docker_ee_release:
247 type: string
248 default: 'stable-19.03'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300249 docker_ucp_image:
250 type: string
251 default: 'docker/ucp:3.2.4'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200252 tunnel_interface:
253 type: string
254 default: ''
255 live_migration_interface:
256 type: string
257 default: ''
258 metallb_address_pools:
259 type: comma_delimited_list
260 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200261 hardware_metadata:
262 description: The content of lab metadata.
263 default: ''
264 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200265 huge_pages:
266 description: >
267 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
268 If number is equal to 0 alloacation of huge pages won't be configured.
269 default: '0,0'
270 type: string
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200271 single_node:
272 description: If set true then AIO is going to be deployed.
273 type: string
274 default: 'false'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100275
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200276conditions:
277 aio_deploy:
278 equals:
279 - get_param: single_node
280 - 'true'
281
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100282resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200283 keypair_name:
284 type: OS::Heat::RandomString
285 properties:
286 character_classes: [{"class": "hexdigits", "min": 1}]
287 length: 128
288 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100289 key_pair:
290 type: OS::Nova::KeyPair
291 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200292 name: { get_attr: [keypair_name, value] }
293 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100294 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200295 accessible_network:
296 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100297 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200298 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300299 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100300
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200301 tun_network:
302 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400303 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200304 tun_network_cidr: { get_param: tun_network_cidr }
305 tun_network_pool_start: { get_param: tun_network_pool_start }
306 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400307
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100308 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200309 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100310 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200311 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200312 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200313 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400314 private_floating_network_gateway: {get_param: private_floating_network_gateway}
315 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
316 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400317 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200318 tun_network: { get_attr: [tun_network, tun_network_id] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100319
Mateusz Lose2ad0772020-02-27 21:41:54 +0100320 storage_network:
321 type: MCP2::NetworkAccStorage
322 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100323 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200324 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100325
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300326 ironic_baremetal_network:
327 type: MCP2::NetworkIronicFlat
328 properties:
329 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
330 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
331 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
332 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
333
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100334 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100335 depends_on:
336 - accessible_network
337 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200338 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100339 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200340 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200341 docker_ee_url: { get_param: docker_ee_url }
342 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300343 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300344 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200345 node_type: "ucp"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200346 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200347 image: { get_param: image }
348 flavor: { get_param: ucp_flavor }
349 accessible_network: { get_attr: [accessible_network, public_network] }
350 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
351 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
352 private_floating_interface: { get_param: private_floating_interface }
353 private_floating_network_cidr: { get_param: private_floating_network_cidr }
354 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
355 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200356 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200357 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200358 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200359 single_node: { get_param: single_node}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200360
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100361 masters:
362 type: OS::Heat::ResourceGroup
363 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200364 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100365 properties:
366 count: { get_param: masters_size }
367 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200368 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100369 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200370 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200371 node_type: "master"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200372 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200373 image: { get_param: image }
374 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200375 docker_ee_url: { get_param: docker_ee_url }
376 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300377 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300378 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200379 accessible_network: { get_attr: [accessible_network, public_network] }
380 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
381 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
382 private_floating_interface: { get_param: private_floating_interface }
383 private_floating_network_cidr: { get_param: private_floating_network_cidr }
384 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
385 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200386 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200387 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200388 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200389 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200390
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100391 workers:
392 type: OS::Heat::ResourceGroup
393 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200394 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100395 properties:
396 count: { get_param: worker_size }
397 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200398 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100399 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200400 metadata: { get_param: worker_metadata}
401 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200402 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100403 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200404 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200405 docker_ee_url: { get_param: docker_ee_url }
406 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300407 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300408 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200409 accessible_network: { get_attr: [accessible_network, public_network] }
410 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
411 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
412 private_floating_interface: { get_param: private_floating_interface }
413 private_floating_network_cidr: { get_param: private_floating_network_cidr }
414 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100415 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200416 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200417 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200418 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200419 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200420 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
421 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
422 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200423 storage_backend_interface: { get_param: storage_backend_interface }
424 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
425 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
426 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300427 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
428 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300429 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400430 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
431 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400432 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200433 tun_network: { get_attr: [tun_network, tun_network_id] }
434 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200435 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200436
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100437 cmps:
438 type: OS::Heat::ResourceGroup
439 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200440 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100441 properties:
442 count: { get_param: cmp_size }
443 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200444 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100445 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200446 metadata: { get_param: cmp_metadata }
447 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200448 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100449 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200450 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200451 docker_ee_url: { get_param: docker_ee_url }
452 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300453 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300454 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200455 accessible_network: { get_attr: [accessible_network, public_network] }
456 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
457 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
458 private_floating_interface: { get_param: private_floating_interface }
459 private_floating_network_cidr: { get_param: private_floating_network_cidr }
460 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100461 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200462 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200463 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200464 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200465 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200466 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
467 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
468 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200469 storage_backend_interface: { get_param: storage_backend_interface }
470 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
471 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
472 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300473 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
474 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300475 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400476 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
477 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400478 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200479 tun_network: { get_attr: [tun_network, tun_network_id] }
480 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200481 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200482
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200483 acmps:
484 type: OS::Heat::ResourceGroup
485 depends_on:
486 - ucp
487 properties:
488 count: { get_param: acmp_size }
489 resource_def:
490 type: MCP2::SrvInstancesCephOSD
491 properties:
492 metadata: { get_param: acmp_metadata }
493 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200494 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200495 image: { get_param: image }
496 flavor: { get_param: acmps_flavor }
497 docker_ee_url: { get_param: docker_ee_url }
498 docker_ee_release: { get_param: docker_ee_release }
499 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300500 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200501 accessible_network: { get_attr: [accessible_network, public_network] }
502 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
503 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
504 private_floating_interface: { get_param: private_floating_interface }
505 private_floating_network_cidr: { get_param: private_floating_network_cidr }
506 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
507 public_net_id: { get_param: public_net_id }
508 control_network_cidr: { get_param: control_network_cidr }
509 ucp_master_host: { get_attr: [ucp, server_private_ip] }
510 functions_override: { get_param: functions_override }
511 storage_frontend_interface: { get_param: storage_frontend_interface }
512 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
513 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
514 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
515 storage_backend_interface: { get_param: storage_backend_interface }
516 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
517 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
518 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
519 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
520 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
521 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
522 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
523 ironic_mt_enabled: { get_param: ironic_mt_enabled }
524 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200525 tun_network: { get_attr: [tun_network, tun_network_id] }
526 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200527 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200528 huge_pages: { get_param: huge_pages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200529
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100530 gtws:
531 type: OS::Heat::ResourceGroup
532 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200533 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100534 properties:
535 count: { get_param: gtw_size }
536 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200537 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100538 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200539 metadata: { get_param: gtw_metadata }
540 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200541 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100542 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200543 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200544 docker_ee_url: { get_param: docker_ee_url }
545 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300546 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300547 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200548 accessible_network: { get_attr: [accessible_network, public_network] }
549 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
550 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
551 private_floating_interface: { get_param: private_floating_interface }
552 private_floating_network_cidr: { get_param: private_floating_network_cidr }
553 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100554 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200555 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200556 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200557 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200558 storage_frontend_interface: { get_param: storage_frontend_interface }
559 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
560 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
561 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300562 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
563 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300564 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400565 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
566 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200567 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100568
sgudzb94b4c62020-02-05 13:21:25 +0200569 lmas:
570 type: OS::Heat::ResourceGroup
571 depends_on:
572 - ucp
573 properties:
574 count: { get_param: lma_size }
575 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100576 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200577 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200578 metadata: { get_param: lma_metadata }
579 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200580 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200581 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200582 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200583 docker_ee_url: { get_param: docker_ee_url }
584 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300585 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300586 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200587 accessible_network: { get_attr: [accessible_network, public_network] }
588 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
589 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
590 private_floating_interface: { get_param: private_floating_interface }
591 private_floating_network_cidr: { get_param: private_floating_network_cidr }
592 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200593 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200594 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200595 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200596 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200597 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200598 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
599 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
600 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300601 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
602 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300603 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400604 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
605 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200606 hardware_metadata: { get_param: hardware_metadata}
sgudzb94b4c62020-02-05 13:21:25 +0200607
608 osds:
609 type: OS::Heat::ResourceGroup
610 depends_on:
611 - ucp
612 properties:
613 count: { get_param: osd_size }
614 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100615 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200616 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200617 metadata: { get_param: osd_metadata }
618 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200619 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200620 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200621 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200622 docker_ee_url: { get_param: docker_ee_url }
623 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300624 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300625 docker_default_address_pool: { get_param: docker_default_address_pool }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200626 accessible_network: { get_attr: [accessible_network, public_network] }
627 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
628 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
629 private_floating_interface: { get_param: private_floating_interface }
630 private_floating_network_cidr: { get_param: private_floating_network_cidr }
631 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200632 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200633 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200634 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200635 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200636 storage_frontend_interface: { get_param: storage_frontend_interface }
637 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
638 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
639 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
640 storage_backend_interface: { get_param: storage_backend_interface }
641 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
642 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
643 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300644 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
645 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300646 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400647 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
648 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400649 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200650 tun_network: { get_attr: [tun_network, tun_network_id] }
651 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200652 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100653
Dennis Dmitrievea894212020-03-12 21:36:43 +0200654 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200655 type: OS::Heat::ResourceGroup
656 depends_on:
657 - ucp
658 properties:
659 count: { get_param: spare_size }
660 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200661 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200662 properties:
663 metadata: { get_param: spare_metadata }
664 node_type: "spare"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200665 key_name: { get_attr: [keypair_name, value] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200666 image: { get_param: image }
667 flavor: { get_param: spares_flavor }
668 docker_ee_url: { get_param: docker_ee_url }
669 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300670 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300671 docker_default_address_pool: { get_param: docker_default_address_pool }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200672 accessible_network: { get_attr: [accessible_network, public_network] }
673 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
674 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
675 private_floating_interface: { get_param: private_floating_interface }
676 private_floating_network_cidr: { get_param: private_floating_network_cidr }
677 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
678 public_net_id: { get_param: public_net_id }
679 control_network_cidr: { get_param: control_network_cidr }
680 ucp_master_host: { get_attr: [ucp, server_private_ip] }
681 functions_override: { get_param: functions_override }
682 storage_frontend_interface: { get_param: storage_frontend_interface }
683 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
684 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
685 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200686 storage_backend_interface: { get_param: storage_backend_interface }
687 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
688 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
689 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300690 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
691 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300692 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400693 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
694 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400695 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200696 tun_network: { get_attr: [tun_network, tun_network_id] }
697 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200698 hardware_metadata: { get_param: hardware_metadata}
699
sgudz43eb82b2020-02-11 16:36:48 +0200700 ntws:
701 type: OS::Heat::ResourceGroup
702 depends_on:
703 - ucp
704 properties:
705 count: { get_param: ntw_size }
706 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200707 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200708 properties:
709 metadata: { get_param: ntw_metadata }
710 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200711 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200712 image: { get_param: image }
713 flavor: { get_param: ntws_flavor }
714 docker_ee_url: { get_param: docker_ee_url }
715 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300716 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300717 docker_default_address_pool: { get_param: docker_default_address_pool }
sgudz43eb82b2020-02-11 16:36:48 +0200718 accessible_network: { get_attr: [accessible_network, public_network] }
719 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
720 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
721 private_floating_interface: { get_param: private_floating_interface }
722 private_floating_network_cidr: { get_param: private_floating_network_cidr }
723 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
724 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200725 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200726 ucp_master_host: { get_attr: [ucp, server_private_ip] }
727 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200728 storage_frontend_interface: { get_param: storage_frontend_interface }
729 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
730 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
731 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300732 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
733 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300734 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400735 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
736 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200737 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200738
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300739 vbmcs:
740 type: OS::Heat::ResourceGroup
741 depends_on:
742 - ucp
743 properties:
744 count: { get_param: vbmc_size }
745 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400746 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300747 properties:
748 metadata: { get_param: vbmc_metadata}
749 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200750 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300751 image: { get_param: image }
752 flavor: { get_param: vbmcs_flavor }
753 docker_ee_url: { get_param: docker_ee_url }
754 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300755 docker_ucp_image: { get_param: docker_ucp_image}
Stepan Rogov60bc3522020-12-16 17:43:25 +0300756 docker_default_address_pool: { get_param: docker_default_address_pool }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300757 accessible_network: { get_attr: [accessible_network, public_network] }
758 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
759 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
760 private_floating_interface: { get_param: private_floating_interface }
761 private_floating_network_cidr: { get_param: private_floating_network_cidr }
762 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
763 public_net_id: { get_param: public_net_id }
764 control_network_cidr: { get_param: control_network_cidr }
765 ucp_master_host: { get_attr: [ucp, server_private_ip] }
766 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400767 storage_frontend_interface: { get_param: storage_frontend_interface }
768 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
769 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
770 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400771 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
772 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300773 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400774 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
775 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300776 hardware_metadata: { get_param: hardware_metadata}
777
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100778outputs:
779 ucp_ips:
780 description: Private IP addresses of the deployed ucp instances
781 value: { get_attr: [ucp, server_public_ip] }
782 masters_ips:
783 description: Private IP addresses of the deployed masters instances
784 value: { get_attr: [masters, server_public_ip] }
785 workers_ips:
786 description: Private IP addresses of the deployed worker instances
787 value: { get_attr: [workers, server_public_ip] }
788 cmps_ips:
789 description: Private IP addresses of the deployed cmp instances
790 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200791 acmps_ips:
792 description: Private IP addresses of the deployed cmp instances with high computing features
793 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100794 gtws_ips:
795 description: Private IP addresses of the deployed gtw instances
796 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200797 lmas_ips:
798 description: Private IP addresses of the deployed lma instances
799 value: { get_attr: [lmas, server_public_ip] }
800 osds_ips:
801 description: Private IP addresses of the deployed osd instances
802 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200803 spares_ips:
804 description: Private IP addresses of the deployed spare instances
805 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200806 ntws_ips:
807 description: Private IP addresses of the deployed contrail instances
808 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300809 vbmcs_ips:
810 description: Private IP addresses of the deployed virtualbmcs instances
811 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300812 vbmc_ironic_baremetal_ips:
813 description: The IPs of ironic baremetal network assigned to vbmc hosts.
814 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200815 worker_private_floating_ips:
816 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200817 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 +0200818 private_floating_cidr:
819 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200820 private_floating_network_pool_start:
821 value: { get_param: private_floating_network_pool_start }
822 private_floating_network_pool_end:
823 value: { get_param: private_floating_network_pool_end }
824 private_floating_network_gateway:
825 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300826 private_floating_network_interface:
827 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300828 ironic_baremetal_network_pool_start:
829 value: { get_param: ironic_baremetal_network_pool_start }
830 ironic_baremetal_network_pool_end:
831 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300832 ironic_baremetal_network_interface:
833 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300834 ironic_baremetal_network_vbmc_interface:
835 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300836 ironic_baremetal_provisioning_interface:
837 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400838 ironic_baremetal_pxe_interface:
839 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200840 tunnel_interface:
841 value: { get_param: tunnel_interface }
842 live_migration_interface:
843 value: { get_param: live_migration_interface }
844 metallb_address_pools:
845 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200846 ucp_wc_data:
847 description: Metadata from ucp
848 value: { get_attr: [ucp, wc_data] }
849 masters_wc_data:
850 description: Metadata from masters
851 value: { get_attr: [masters, wc_data] }
852 workers_wc_data:
853 description: Metadata from workers
854 value: { get_attr: [workers, wc_data] }
855 cmps_wc_data:
856 description: Metadata from cmps
857 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200858 acmps_wc_data:
859 description: Metadata from cmps with high computing features
860 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200861 gtws_wc_data:
862 description: Metadata from gtws
863 value: { get_attr: [gtws, wc_data] }
864 lmas_wc_data:
865 description: Metadata from lmas
866 value: { get_attr: [lmas, wc_data] }
867 osds_wc_data:
868 description: Metadata from osds
869 value: { get_attr: [osds, wc_data] }
870 ntws_wc_data:
871 description: Metadata from ntws
872 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200873 storage_frontend_network_cidr:
874 description: Storage network which is used as clientNet in Ceph CR
875 value: { get_param: storage_frontend_network_cidr }
876 storage_backend_network_cidr:
877 description: Storage network which is used as clusterNet in Ceph CR
878 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400879 tungstenfabric_enabled:
880 value: { get_param: tungstenfabric_enabled }
881 data_network_vsrx_ip:
882 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200883 value: { get_param: data_network_vsrx_ip }