blob: 4f555c816dc27af1d014777face2bc47d0ffde87 [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'
Mykyta Karpin2aba4122020-12-02 15:03:09 +0200156 # When tun interface is added to ovs bridge inside vm,
157 # and arp responder is enabled on undercloud,
158 # ip adresses from tun network pool can't be used for
159 # configuring vxlan tunnels through ovs bridge (https://mirantis.jira.com/browse/PRODX-9337).
160 # Ip addresses unknown for arp responder should be used.
161 # In deployment pipeline addresses assigned by openstack to advanced compute nodes
162 # are changed inside instance to 10.15.0.1XX for this case.
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200163 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400164 type: string
165 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200166 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400167 type: string
168 default: '10.15.0.99'
Dennis Dmitrievea894212020-03-12 21:36:43 +0200169 ucp_metadata:
170 type: json
171 default: {"role":"ucp"}
172 master_metadata:
173 type: json
174 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100175 worker_metadata:
176 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200177 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100178 cmp_metadata:
179 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200180 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200181 acmp_metadata:
182 type: json
183 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100184 gtw_metadata:
185 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200186 default: {}
187 lma_metadata:
188 type: json
189 default: {}
190 osd_metadata:
191 type: json
192 default: {}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200193 spare_metadata:
194 type: json
195 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200196 ntw_metadata:
197 type: json
198 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300199 vbmc_metadata:
200 type: json
201 default: {}
sgudzfe58e8a2020-02-11 13:31:40 +0200202 ucp_flavor:
203 type: string
Vasyl Saienko4f740902020-08-18 11:09:06 +0300204 default: 'kaas-bm.worker'
sgudzfe58e8a2020-02-11 13:31:40 +0200205 masters_flavor:
206 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300207 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200208 workers_flavor:
209 type: string
210 default: 'system.compact.openstack.control'
211 cmps_flavor:
212 type: string
213 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200214 acmps_flavor:
215 type: string
216 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200217 gtws_flavor:
218 type: string
219 default: 'system.compact.openstack.control'
220 lmas_flavor:
221 type: string
222 default: 'system.compact.openstack.control'
223 osds_flavor:
224 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100225 default: 'system.virtual.ceph.osd'
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200226 spares_flavor:
227 type: string
228 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200229 ntws_flavor:
230 type: string
231 default: 'system.compact.openstack.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300232 vbmcs_flavor:
233 type: string
234 default: 'system.compact.openstack.control'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200235 functions_override:
236 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200237 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200238 docker_ee_url:
239 type: string
Vasyl Saienko1785c352020-03-11 11:39:40 +0200240 default: 'http://mirror-us.mcp.mirantis.net/.snapshots/docker-ee-bionic-latest'
241# default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200242 docker_ee_release:
243 type: string
244 default: 'stable-19.03'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300245 docker_ucp_image:
246 type: string
247 default: 'docker/ucp:3.2.4'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200248 tunnel_interface:
249 type: string
250 default: ''
251 live_migration_interface:
252 type: string
253 default: ''
254 metallb_address_pools:
255 type: comma_delimited_list
256 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200257 hardware_metadata:
258 description: The content of lab metadata.
259 default: ''
260 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200261 huge_pages:
262 description: >
263 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
264 If number is equal to 0 alloacation of huge pages won't be configured.
265 default: '0,0'
266 type: string
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100267
268resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200269 keypair_name:
270 type: OS::Heat::RandomString
271 properties:
272 character_classes: [{"class": "hexdigits", "min": 1}]
273 length: 128
274 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100275 key_pair:
276 type: OS::Nova::KeyPair
277 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200278 name: { get_attr: [keypair_name, value] }
279 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100280 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200281 accessible_network:
282 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100283 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200284 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300285 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100286
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200287 tun_network:
288 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400289 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200290 tun_network_cidr: { get_param: tun_network_cidr }
291 tun_network_pool_start: { get_param: tun_network_pool_start }
292 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400293
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100294 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200295 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100296 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200297 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200298 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200299 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400300 private_floating_network_gateway: {get_param: private_floating_network_gateway}
301 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
302 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400303 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200304 tun_network: { get_attr: [tun_network, tun_network_id] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100305
Mateusz Lose2ad0772020-02-27 21:41:54 +0100306 storage_network:
307 type: MCP2::NetworkAccStorage
308 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100309 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200310 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100311
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300312 ironic_baremetal_network:
313 type: MCP2::NetworkIronicFlat
314 properties:
315 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
316 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
317 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
318 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
319
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100320 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100321 depends_on:
322 - accessible_network
323 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200324 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100325 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200326 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200327 docker_ee_url: { get_param: docker_ee_url }
328 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300329 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200330 node_type: "ucp"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200331 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200332 image: { get_param: image }
333 flavor: { get_param: ucp_flavor }
334 accessible_network: { get_attr: [accessible_network, public_network] }
335 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
336 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
337 private_floating_interface: { get_param: private_floating_interface }
338 private_floating_network_cidr: { get_param: private_floating_network_cidr }
339 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
340 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200341 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200342 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200343 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200344
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100345 masters:
346 type: OS::Heat::ResourceGroup
347 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200348 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100349 properties:
350 count: { get_param: masters_size }
351 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200352 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100353 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200354 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200355 node_type: "master"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200356 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200357 image: { get_param: image }
358 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200359 docker_ee_url: { get_param: docker_ee_url }
360 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300361 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200362 accessible_network: { get_attr: [accessible_network, public_network] }
363 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
364 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
365 private_floating_interface: { get_param: private_floating_interface }
366 private_floating_network_cidr: { get_param: private_floating_network_cidr }
367 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
368 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200369 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200370 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200371 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200372 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200373
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100374 workers:
375 type: OS::Heat::ResourceGroup
376 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200377 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100378 properties:
379 count: { get_param: worker_size }
380 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200381 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100382 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200383 metadata: { get_param: worker_metadata}
384 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200385 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100386 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200387 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200388 docker_ee_url: { get_param: docker_ee_url }
389 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300390 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200391 accessible_network: { get_attr: [accessible_network, public_network] }
392 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
393 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
394 private_floating_interface: { get_param: private_floating_interface }
395 private_floating_network_cidr: { get_param: private_floating_network_cidr }
396 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100397 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200398 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200399 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200400 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200401 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200402 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
403 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
404 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200405 storage_backend_interface: { get_param: storage_backend_interface }
406 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
407 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
408 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300409 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
410 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300411 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400412 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
413 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400414 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200415 tun_network: { get_attr: [tun_network, tun_network_id] }
416 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200417 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200418
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100419 cmps:
420 type: OS::Heat::ResourceGroup
421 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200422 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100423 properties:
424 count: { get_param: cmp_size }
425 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200426 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100427 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200428 metadata: { get_param: cmp_metadata }
429 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200430 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100431 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200432 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200433 docker_ee_url: { get_param: docker_ee_url }
434 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300435 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200436 accessible_network: { get_attr: [accessible_network, public_network] }
437 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
438 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
439 private_floating_interface: { get_param: private_floating_interface }
440 private_floating_network_cidr: { get_param: private_floating_network_cidr }
441 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100442 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200443 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200444 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200445 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200446 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200447 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
448 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
449 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200450 storage_backend_interface: { get_param: storage_backend_interface }
451 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
452 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
453 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300454 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
455 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300456 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400457 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
458 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400459 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200460 tun_network: { get_attr: [tun_network, tun_network_id] }
461 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200462 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200463
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200464 acmps:
465 type: OS::Heat::ResourceGroup
466 depends_on:
467 - ucp
468 properties:
469 count: { get_param: acmp_size }
470 resource_def:
471 type: MCP2::SrvInstancesCephOSD
472 properties:
473 metadata: { get_param: acmp_metadata }
474 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200475 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200476 image: { get_param: image }
477 flavor: { get_param: acmps_flavor }
478 docker_ee_url: { get_param: docker_ee_url }
479 docker_ee_release: { get_param: docker_ee_release }
480 docker_ucp_image: { get_param: docker_ucp_image}
481 accessible_network: { get_attr: [accessible_network, public_network] }
482 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
483 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
484 private_floating_interface: { get_param: private_floating_interface }
485 private_floating_network_cidr: { get_param: private_floating_network_cidr }
486 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
487 public_net_id: { get_param: public_net_id }
488 control_network_cidr: { get_param: control_network_cidr }
489 ucp_master_host: { get_attr: [ucp, server_private_ip] }
490 functions_override: { get_param: functions_override }
491 storage_frontend_interface: { get_param: storage_frontend_interface }
492 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
493 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
494 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
495 storage_backend_interface: { get_param: storage_backend_interface }
496 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
497 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
498 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
499 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
500 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
501 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
502 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
503 ironic_mt_enabled: { get_param: ironic_mt_enabled }
504 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200505 tun_network: { get_attr: [tun_network, tun_network_id] }
506 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200507 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200508 huge_pages: { get_param: huge_pages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200509
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100510 gtws:
511 type: OS::Heat::ResourceGroup
512 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200513 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100514 properties:
515 count: { get_param: gtw_size }
516 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200517 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100518 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200519 metadata: { get_param: gtw_metadata }
520 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200521 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100522 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200523 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200524 docker_ee_url: { get_param: docker_ee_url }
525 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300526 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200527 accessible_network: { get_attr: [accessible_network, public_network] }
528 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
529 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
530 private_floating_interface: { get_param: private_floating_interface }
531 private_floating_network_cidr: { get_param: private_floating_network_cidr }
532 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100533 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200534 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200535 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200536 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200537 storage_frontend_interface: { get_param: storage_frontend_interface }
538 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
539 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
540 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300541 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
542 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300543 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400544 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
545 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200546 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100547
sgudzb94b4c62020-02-05 13:21:25 +0200548 lmas:
549 type: OS::Heat::ResourceGroup
550 depends_on:
551 - ucp
552 properties:
553 count: { get_param: lma_size }
554 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100555 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200556 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200557 metadata: { get_param: lma_metadata }
558 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200559 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200560 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200561 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200562 docker_ee_url: { get_param: docker_ee_url }
563 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300564 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200565 accessible_network: { get_attr: [accessible_network, public_network] }
566 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
567 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
568 private_floating_interface: { get_param: private_floating_interface }
569 private_floating_network_cidr: { get_param: private_floating_network_cidr }
570 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200571 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200572 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200573 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200574 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200575 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200576 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
577 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
578 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300579 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
580 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300581 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400582 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
583 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200584 hardware_metadata: { get_param: hardware_metadata}
sgudzb94b4c62020-02-05 13:21:25 +0200585
586 osds:
587 type: OS::Heat::ResourceGroup
588 depends_on:
589 - ucp
590 properties:
591 count: { get_param: osd_size }
592 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100593 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200594 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200595 metadata: { get_param: osd_metadata }
596 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200597 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200598 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200599 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200600 docker_ee_url: { get_param: docker_ee_url }
601 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300602 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200603 accessible_network: { get_attr: [accessible_network, public_network] }
604 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
605 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
606 private_floating_interface: { get_param: private_floating_interface }
607 private_floating_network_cidr: { get_param: private_floating_network_cidr }
608 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200609 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200610 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200611 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200612 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200613 storage_frontend_interface: { get_param: storage_frontend_interface }
614 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
615 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
616 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
617 storage_backend_interface: { get_param: storage_backend_interface }
618 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
619 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
620 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300621 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
622 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300623 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400624 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
625 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400626 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200627 tun_network: { get_attr: [tun_network, tun_network_id] }
628 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200629 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100630
Dennis Dmitrievea894212020-03-12 21:36:43 +0200631 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200632 type: OS::Heat::ResourceGroup
633 depends_on:
634 - ucp
635 properties:
636 count: { get_param: spare_size }
637 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200638 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200639 properties:
640 metadata: { get_param: spare_metadata }
641 node_type: "spare"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200642 key_name: { get_attr: [keypair_name, value] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200643 image: { get_param: image }
644 flavor: { get_param: spares_flavor }
645 docker_ee_url: { get_param: docker_ee_url }
646 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300647 docker_ucp_image: { get_param: docker_ucp_image}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200648 accessible_network: { get_attr: [accessible_network, public_network] }
649 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
650 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
651 private_floating_interface: { get_param: private_floating_interface }
652 private_floating_network_cidr: { get_param: private_floating_network_cidr }
653 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
654 public_net_id: { get_param: public_net_id }
655 control_network_cidr: { get_param: control_network_cidr }
656 ucp_master_host: { get_attr: [ucp, server_private_ip] }
657 functions_override: { get_param: functions_override }
658 storage_frontend_interface: { get_param: storage_frontend_interface }
659 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
660 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
661 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200662 storage_backend_interface: { get_param: storage_backend_interface }
663 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
664 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
665 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300666 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
667 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300668 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400669 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
670 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400671 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200672 tun_network: { get_attr: [tun_network, tun_network_id] }
673 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200674 hardware_metadata: { get_param: hardware_metadata}
675
sgudz43eb82b2020-02-11 16:36:48 +0200676 ntws:
677 type: OS::Heat::ResourceGroup
678 depends_on:
679 - ucp
680 properties:
681 count: { get_param: ntw_size }
682 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200683 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200684 properties:
685 metadata: { get_param: ntw_metadata }
686 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200687 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200688 image: { get_param: image }
689 flavor: { get_param: ntws_flavor }
690 docker_ee_url: { get_param: docker_ee_url }
691 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300692 docker_ucp_image: { get_param: docker_ucp_image}
sgudz43eb82b2020-02-11 16:36:48 +0200693 accessible_network: { get_attr: [accessible_network, public_network] }
694 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
695 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
696 private_floating_interface: { get_param: private_floating_interface }
697 private_floating_network_cidr: { get_param: private_floating_network_cidr }
698 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
699 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200700 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200701 ucp_master_host: { get_attr: [ucp, server_private_ip] }
702 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200703 storage_frontend_interface: { get_param: storage_frontend_interface }
704 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
705 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
706 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300707 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
708 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300709 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400710 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
711 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200712 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200713
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300714 vbmcs:
715 type: OS::Heat::ResourceGroup
716 depends_on:
717 - ucp
718 properties:
719 count: { get_param: vbmc_size }
720 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400721 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300722 properties:
723 metadata: { get_param: vbmc_metadata}
724 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200725 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300726 image: { get_param: image }
727 flavor: { get_param: vbmcs_flavor }
728 docker_ee_url: { get_param: docker_ee_url }
729 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300730 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300731 accessible_network: { get_attr: [accessible_network, public_network] }
732 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
733 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
734 private_floating_interface: { get_param: private_floating_interface }
735 private_floating_network_cidr: { get_param: private_floating_network_cidr }
736 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
737 public_net_id: { get_param: public_net_id }
738 control_network_cidr: { get_param: control_network_cidr }
739 ucp_master_host: { get_attr: [ucp, server_private_ip] }
740 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400741 storage_frontend_interface: { get_param: storage_frontend_interface }
742 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
743 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
744 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400745 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
746 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300747 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400748 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
749 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300750 hardware_metadata: { get_param: hardware_metadata}
751
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100752outputs:
753 ucp_ips:
754 description: Private IP addresses of the deployed ucp instances
755 value: { get_attr: [ucp, server_public_ip] }
756 masters_ips:
757 description: Private IP addresses of the deployed masters instances
758 value: { get_attr: [masters, server_public_ip] }
759 workers_ips:
760 description: Private IP addresses of the deployed worker instances
761 value: { get_attr: [workers, server_public_ip] }
762 cmps_ips:
763 description: Private IP addresses of the deployed cmp instances
764 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200765 acmps_ips:
766 description: Private IP addresses of the deployed cmp instances with high computing features
767 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100768 gtws_ips:
769 description: Private IP addresses of the deployed gtw instances
770 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200771 lmas_ips:
772 description: Private IP addresses of the deployed lma instances
773 value: { get_attr: [lmas, server_public_ip] }
774 osds_ips:
775 description: Private IP addresses of the deployed osd instances
776 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200777 spares_ips:
778 description: Private IP addresses of the deployed spare instances
779 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200780 ntws_ips:
781 description: Private IP addresses of the deployed contrail instances
782 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300783 vbmcs_ips:
784 description: Private IP addresses of the deployed virtualbmcs instances
785 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300786 vbmc_ironic_baremetal_ips:
787 description: The IPs of ironic baremetal network assigned to vbmc hosts.
788 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200789 worker_private_floating_ips:
790 description: IPs might be used as gateway
791 value: { get_attr: [workers, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +0200792 private_floating_cidr:
793 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200794 private_floating_network_pool_start:
795 value: { get_param: private_floating_network_pool_start }
796 private_floating_network_pool_end:
797 value: { get_param: private_floating_network_pool_end }
798 private_floating_network_gateway:
799 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300800 private_floating_network_interface:
801 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300802 ironic_baremetal_network_pool_start:
803 value: { get_param: ironic_baremetal_network_pool_start }
804 ironic_baremetal_network_pool_end:
805 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300806 ironic_baremetal_network_interface:
807 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300808 ironic_baremetal_network_vbmc_interface:
809 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300810 ironic_baremetal_provisioning_interface:
811 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400812 ironic_baremetal_pxe_interface:
813 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200814 tunnel_interface:
815 value: { get_param: tunnel_interface }
816 live_migration_interface:
817 value: { get_param: live_migration_interface }
818 metallb_address_pools:
819 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200820 ucp_wc_data:
821 description: Metadata from ucp
822 value: { get_attr: [ucp, wc_data] }
823 masters_wc_data:
824 description: Metadata from masters
825 value: { get_attr: [masters, wc_data] }
826 workers_wc_data:
827 description: Metadata from workers
828 value: { get_attr: [workers, wc_data] }
829 cmps_wc_data:
830 description: Metadata from cmps
831 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200832 acmps_wc_data:
833 description: Metadata from cmps with high computing features
834 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200835 gtws_wc_data:
836 description: Metadata from gtws
837 value: { get_attr: [gtws, wc_data] }
838 lmas_wc_data:
839 description: Metadata from lmas
840 value: { get_attr: [lmas, wc_data] }
841 osds_wc_data:
842 description: Metadata from osds
843 value: { get_attr: [osds, wc_data] }
844 ntws_wc_data:
845 description: Metadata from ntws
846 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200847 storage_frontend_network_cidr:
848 description: Storage network which is used as clientNet in Ceph CR
849 value: { get_param: storage_frontend_network_cidr }
850 storage_backend_network_cidr:
851 description: Storage network which is used as clusterNet in Ceph CR
852 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400853 tungstenfabric_enabled:
854 value: { get_param: tungstenfabric_enabled }
855 data_network_vsrx_ip:
856 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200857 value: { get_param: data_network_vsrx_ip }