blob: 0fd1cf4cc3c7fc116774a0fc23040b73bc5e36cc [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
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200267 single_node:
268 description: If set true then AIO is going to be deployed.
269 type: string
270 default: 'false'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100271
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200272conditions:
273 aio_deploy:
274 equals:
275 - get_param: single_node
276 - 'true'
277
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100278resources:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200279 keypair_name:
280 type: OS::Heat::RandomString
281 properties:
282 character_classes: [{"class": "hexdigits", "min": 1}]
283 length: 128
284 salt: constant
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100285 key_pair:
286 type: OS::Nova::KeyPair
287 properties:
Vasyl Saienkocdc11cf2020-11-20 17:39:00 +0200288 name: { get_attr: [keypair_name, value] }
289 public_key: { get_param: cluster_public_key }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100290 save_private_key: false
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200291 accessible_network:
292 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100293 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200294 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300295 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100296
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200297 tun_network:
298 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400299 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200300 tun_network_cidr: { get_param: tun_network_cidr }
301 tun_network_pool_start: { get_param: tun_network_pool_start }
302 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400303
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100304 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200305 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100306 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200307 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200308 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200309 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400310 private_floating_network_gateway: {get_param: private_floating_network_gateway}
311 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
312 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400313 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200314 tun_network: { get_attr: [tun_network, tun_network_id] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100315
Mateusz Lose2ad0772020-02-27 21:41:54 +0100316 storage_network:
317 type: MCP2::NetworkAccStorage
318 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100319 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200320 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100321
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300322 ironic_baremetal_network:
323 type: MCP2::NetworkIronicFlat
324 properties:
325 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
326 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
327 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
328 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
329
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100330 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100331 depends_on:
332 - accessible_network
333 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200334 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100335 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200336 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200337 docker_ee_url: { get_param: docker_ee_url }
338 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300339 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200340 node_type: "ucp"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200341 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200342 image: { get_param: image }
343 flavor: { get_param: ucp_flavor }
344 accessible_network: { get_attr: [accessible_network, public_network] }
345 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
346 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
347 private_floating_interface: { get_param: private_floating_interface }
348 private_floating_network_cidr: { get_param: private_floating_network_cidr }
349 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
350 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200351 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200352 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200353 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorov43bbc8c2020-12-03 15:30:09 +0200354 single_node: { get_param: single_node}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200355
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100356 masters:
357 type: OS::Heat::ResourceGroup
358 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200359 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100360 properties:
361 count: { get_param: masters_size }
362 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200363 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100364 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200365 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200366 node_type: "master"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200367 key_name: { get_attr: [keypair_name, value] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200368 image: { get_param: image }
369 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200370 docker_ee_url: { get_param: docker_ee_url }
371 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300372 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200373 accessible_network: { get_attr: [accessible_network, public_network] }
374 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
375 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
376 private_floating_interface: { get_param: private_floating_interface }
377 private_floating_network_cidr: { get_param: private_floating_network_cidr }
378 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
379 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200380 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200381 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200382 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200383 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200384
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100385 workers:
386 type: OS::Heat::ResourceGroup
387 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200388 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100389 properties:
390 count: { get_param: worker_size }
391 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200392 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100393 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200394 metadata: { get_param: worker_metadata}
395 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200396 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100397 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200398 flavor: { get_param: workers_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200399 docker_ee_url: { get_param: docker_ee_url }
400 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300401 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200402 accessible_network: { get_attr: [accessible_network, public_network] }
403 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
404 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
405 private_floating_interface: { get_param: private_floating_interface }
406 private_floating_network_cidr: { get_param: private_floating_network_cidr }
407 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100408 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200409 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200410 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200411 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200412 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200413 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
414 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
415 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200416 storage_backend_interface: { get_param: storage_backend_interface }
417 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
418 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
419 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300420 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
421 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300422 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400423 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
424 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400425 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200426 tun_network: { get_attr: [tun_network, tun_network_id] }
427 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200428 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200429
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100430 cmps:
431 type: OS::Heat::ResourceGroup
432 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200433 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100434 properties:
435 count: { get_param: cmp_size }
436 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200437 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100438 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200439 metadata: { get_param: cmp_metadata }
440 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200441 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100442 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200443 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200444 docker_ee_url: { get_param: docker_ee_url }
445 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300446 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200447 accessible_network: { get_attr: [accessible_network, public_network] }
448 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
449 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
450 private_floating_interface: { get_param: private_floating_interface }
451 private_floating_network_cidr: { get_param: private_floating_network_cidr }
452 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100453 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200454 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200455 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200456 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200457 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200458 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
459 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
460 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200461 storage_backend_interface: { get_param: storage_backend_interface }
462 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
463 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
464 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300465 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
466 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300467 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400468 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
469 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400470 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200471 tun_network: { get_attr: [tun_network, tun_network_id] }
472 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200473 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200474
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200475 acmps:
476 type: OS::Heat::ResourceGroup
477 depends_on:
478 - ucp
479 properties:
480 count: { get_param: acmp_size }
481 resource_def:
482 type: MCP2::SrvInstancesCephOSD
483 properties:
484 metadata: { get_param: acmp_metadata }
485 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200486 key_name: { get_attr: [keypair_name, value] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200487 image: { get_param: image }
488 flavor: { get_param: acmps_flavor }
489 docker_ee_url: { get_param: docker_ee_url }
490 docker_ee_release: { get_param: docker_ee_release }
491 docker_ucp_image: { get_param: docker_ucp_image}
492 accessible_network: { get_attr: [accessible_network, public_network] }
493 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
494 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
495 private_floating_interface: { get_param: private_floating_interface }
496 private_floating_network_cidr: { get_param: private_floating_network_cidr }
497 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
498 public_net_id: { get_param: public_net_id }
499 control_network_cidr: { get_param: control_network_cidr }
500 ucp_master_host: { get_attr: [ucp, server_private_ip] }
501 functions_override: { get_param: functions_override }
502 storage_frontend_interface: { get_param: storage_frontend_interface }
503 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
504 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
505 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
506 storage_backend_interface: { get_param: storage_backend_interface }
507 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
508 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
509 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
510 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
511 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
512 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
513 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
514 ironic_mt_enabled: { get_param: ironic_mt_enabled }
515 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200516 tun_network: { get_attr: [tun_network, tun_network_id] }
517 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200518 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200519 huge_pages: { get_param: huge_pages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200520
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100521 gtws:
522 type: OS::Heat::ResourceGroup
523 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200524 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100525 properties:
526 count: { get_param: gtw_size }
527 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200528 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100529 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200530 metadata: { get_param: gtw_metadata }
531 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200532 key_name: { get_attr: [keypair_name, value] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100533 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200534 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200535 docker_ee_url: { get_param: docker_ee_url }
536 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300537 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200538 accessible_network: { get_attr: [accessible_network, public_network] }
539 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
540 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
541 private_floating_interface: { get_param: private_floating_interface }
542 private_floating_network_cidr: { get_param: private_floating_network_cidr }
543 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100544 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200545 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200546 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200547 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200548 storage_frontend_interface: { get_param: storage_frontend_interface }
549 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
550 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
551 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300552 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
553 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300554 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400555 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
556 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200557 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100558
sgudzb94b4c62020-02-05 13:21:25 +0200559 lmas:
560 type: OS::Heat::ResourceGroup
561 depends_on:
562 - ucp
563 properties:
564 count: { get_param: lma_size }
565 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100566 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200567 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200568 metadata: { get_param: lma_metadata }
569 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200570 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200571 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200572 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200573 docker_ee_url: { get_param: docker_ee_url }
574 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300575 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200576 accessible_network: { get_attr: [accessible_network, public_network] }
577 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
578 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
579 private_floating_interface: { get_param: private_floating_interface }
580 private_floating_network_cidr: { get_param: private_floating_network_cidr }
581 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200582 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200583 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200584 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200585 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200586 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200587 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
588 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
589 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300590 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
591 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300592 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400593 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
594 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200595 hardware_metadata: { get_param: hardware_metadata}
sgudzb94b4c62020-02-05 13:21:25 +0200596
597 osds:
598 type: OS::Heat::ResourceGroup
599 depends_on:
600 - ucp
601 properties:
602 count: { get_param: osd_size }
603 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100604 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200605 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200606 metadata: { get_param: osd_metadata }
607 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200608 key_name: { get_attr: [keypair_name, value] }
sgudzb94b4c62020-02-05 13:21:25 +0200609 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200610 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200611 docker_ee_url: { get_param: docker_ee_url }
612 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300613 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200614 accessible_network: { get_attr: [accessible_network, public_network] }
615 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
616 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
617 private_floating_interface: { get_param: private_floating_interface }
618 private_floating_network_cidr: { get_param: private_floating_network_cidr }
619 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200620 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200621 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200622 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200623 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200624 storage_frontend_interface: { get_param: storage_frontend_interface }
625 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
626 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
627 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
628 storage_backend_interface: { get_param: storage_backend_interface }
629 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
630 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
631 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300632 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
633 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300634 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400635 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
636 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400637 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200638 tun_network: { get_attr: [tun_network, tun_network_id] }
639 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200640 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100641
Dennis Dmitrievea894212020-03-12 21:36:43 +0200642 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200643 type: OS::Heat::ResourceGroup
644 depends_on:
645 - ucp
646 properties:
647 count: { get_param: spare_size }
648 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200649 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200650 properties:
651 metadata: { get_param: spare_metadata }
652 node_type: "spare"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200653 key_name: { get_attr: [keypair_name, value] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200654 image: { get_param: image }
655 flavor: { get_param: spares_flavor }
656 docker_ee_url: { get_param: docker_ee_url }
657 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300658 docker_ucp_image: { get_param: docker_ucp_image}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200659 accessible_network: { get_attr: [accessible_network, public_network] }
660 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
661 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
662 private_floating_interface: { get_param: private_floating_interface }
663 private_floating_network_cidr: { get_param: private_floating_network_cidr }
664 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
665 public_net_id: { get_param: public_net_id }
666 control_network_cidr: { get_param: control_network_cidr }
667 ucp_master_host: { get_attr: [ucp, server_private_ip] }
668 functions_override: { get_param: functions_override }
669 storage_frontend_interface: { get_param: storage_frontend_interface }
670 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
671 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
672 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200673 storage_backend_interface: { get_param: storage_backend_interface }
674 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
675 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
676 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300677 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
678 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300679 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400680 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
681 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400682 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200683 tun_network: { get_attr: [tun_network, tun_network_id] }
684 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200685 hardware_metadata: { get_param: hardware_metadata}
686
sgudz43eb82b2020-02-11 16:36:48 +0200687 ntws:
688 type: OS::Heat::ResourceGroup
689 depends_on:
690 - ucp
691 properties:
692 count: { get_param: ntw_size }
693 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200694 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200695 properties:
696 metadata: { get_param: ntw_metadata }
697 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200698 key_name: { get_attr: [keypair_name, value] }
sgudz43eb82b2020-02-11 16:36:48 +0200699 image: { get_param: image }
700 flavor: { get_param: ntws_flavor }
701 docker_ee_url: { get_param: docker_ee_url }
702 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300703 docker_ucp_image: { get_param: docker_ucp_image}
sgudz43eb82b2020-02-11 16:36:48 +0200704 accessible_network: { get_attr: [accessible_network, public_network] }
705 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
706 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
707 private_floating_interface: { get_param: private_floating_interface }
708 private_floating_network_cidr: { get_param: private_floating_network_cidr }
709 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
710 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200711 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200712 ucp_master_host: { get_attr: [ucp, server_private_ip] }
713 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200714 storage_frontend_interface: { get_param: storage_frontend_interface }
715 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
716 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
717 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300718 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
719 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300720 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400721 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
722 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200723 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200724
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300725 vbmcs:
726 type: OS::Heat::ResourceGroup
727 depends_on:
728 - ucp
729 properties:
730 count: { get_param: vbmc_size }
731 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400732 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300733 properties:
734 metadata: { get_param: vbmc_metadata}
735 node_type: "worker"
Vasyl Saienkodef50442020-11-20 20:06:15 +0200736 key_name: { get_attr: [keypair_name, value] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300737 image: { get_param: image }
738 flavor: { get_param: vbmcs_flavor }
739 docker_ee_url: { get_param: docker_ee_url }
740 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300741 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300742 accessible_network: { get_attr: [accessible_network, public_network] }
743 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
744 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
745 private_floating_interface: { get_param: private_floating_interface }
746 private_floating_network_cidr: { get_param: private_floating_network_cidr }
747 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
748 public_net_id: { get_param: public_net_id }
749 control_network_cidr: { get_param: control_network_cidr }
750 ucp_master_host: { get_attr: [ucp, server_private_ip] }
751 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400752 storage_frontend_interface: { get_param: storage_frontend_interface }
753 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
754 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
755 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400756 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
757 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300758 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400759 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
760 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300761 hardware_metadata: { get_param: hardware_metadata}
762
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100763outputs:
764 ucp_ips:
765 description: Private IP addresses of the deployed ucp instances
766 value: { get_attr: [ucp, server_public_ip] }
767 masters_ips:
768 description: Private IP addresses of the deployed masters instances
769 value: { get_attr: [masters, server_public_ip] }
770 workers_ips:
771 description: Private IP addresses of the deployed worker instances
772 value: { get_attr: [workers, server_public_ip] }
773 cmps_ips:
774 description: Private IP addresses of the deployed cmp instances
775 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200776 acmps_ips:
777 description: Private IP addresses of the deployed cmp instances with high computing features
778 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100779 gtws_ips:
780 description: Private IP addresses of the deployed gtw instances
781 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200782 lmas_ips:
783 description: Private IP addresses of the deployed lma instances
784 value: { get_attr: [lmas, server_public_ip] }
785 osds_ips:
786 description: Private IP addresses of the deployed osd instances
787 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200788 spares_ips:
789 description: Private IP addresses of the deployed spare instances
790 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200791 ntws_ips:
792 description: Private IP addresses of the deployed contrail instances
793 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300794 vbmcs_ips:
795 description: Private IP addresses of the deployed virtualbmcs instances
796 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300797 vbmc_ironic_baremetal_ips:
798 description: The IPs of ironic baremetal network assigned to vbmc hosts.
799 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200800 worker_private_floating_ips:
801 description: IPs might be used as gateway
Oleh Hryhorovcd1a3bd2020-12-04 13:21:06 +0200802 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 +0200803 private_floating_cidr:
804 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200805 private_floating_network_pool_start:
806 value: { get_param: private_floating_network_pool_start }
807 private_floating_network_pool_end:
808 value: { get_param: private_floating_network_pool_end }
809 private_floating_network_gateway:
810 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300811 private_floating_network_interface:
812 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300813 ironic_baremetal_network_pool_start:
814 value: { get_param: ironic_baremetal_network_pool_start }
815 ironic_baremetal_network_pool_end:
816 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300817 ironic_baremetal_network_interface:
818 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300819 ironic_baremetal_network_vbmc_interface:
820 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300821 ironic_baremetal_provisioning_interface:
822 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400823 ironic_baremetal_pxe_interface:
824 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200825 tunnel_interface:
826 value: { get_param: tunnel_interface }
827 live_migration_interface:
828 value: { get_param: live_migration_interface }
829 metallb_address_pools:
830 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200831 ucp_wc_data:
832 description: Metadata from ucp
833 value: { get_attr: [ucp, wc_data] }
834 masters_wc_data:
835 description: Metadata from masters
836 value: { get_attr: [masters, wc_data] }
837 workers_wc_data:
838 description: Metadata from workers
839 value: { get_attr: [workers, wc_data] }
840 cmps_wc_data:
841 description: Metadata from cmps
842 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200843 acmps_wc_data:
844 description: Metadata from cmps with high computing features
845 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200846 gtws_wc_data:
847 description: Metadata from gtws
848 value: { get_attr: [gtws, wc_data] }
849 lmas_wc_data:
850 description: Metadata from lmas
851 value: { get_attr: [lmas, wc_data] }
852 osds_wc_data:
853 description: Metadata from osds
854 value: { get_attr: [osds, wc_data] }
855 ntws_wc_data:
856 description: Metadata from ntws
857 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200858 storage_frontend_network_cidr:
859 description: Storage network which is used as clientNet in Ceph CR
860 value: { get_param: storage_frontend_network_cidr }
861 storage_backend_network_cidr:
862 description: Storage network which is used as clusterNet in Ceph CR
863 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400864 tungstenfabric_enabled:
865 value: { get_param: tungstenfabric_enabled }
866 data_network_vsrx_ip:
867 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200868 value: { get_param: data_network_vsrx_ip }