blob: 7849851f27f2a7223d3cc890c0c85a8fb1fd39d3 [file] [log] [blame]
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001heat_template_version: queens
2
3parameters:
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01004 image:
5 type: string
6 description: Name of image to use for servers
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01007 public_net_id:
8 type: string
Oleh Hryhorovb58460e2020-02-05 15:53:48 +02009 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010010 description: >
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020011 ID of public network for which floating IP addresses will be allocated/
12 for baremetal case flat provision network for nodes
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020013 control_network_cidr:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020014 type: string
Vasyl Saienko0fa6f192020-03-06 16:08:51 +020015 description: The CIDR of control network, used to detect control interface.
16 default: '10.10.0.0/24'
Sergey Matov0709c762020-04-02 14:30:50 +040017 control_network_vsrx_peering_ip:
18 type: string
19 description: IP address of vsrx for tungsten fabric peering
20 default: ''
Anton Samoylovea0b23e2020-06-26 14:17:51 +040021 data_network_vsrx_ip:
22 type: string
23 description: IP address of vsrx in tungsten fabric data network
24 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010025 masters_size:
26 type: number
27 description: Number of masters instances to deploy
28 default: 2
29 worker_size:
30 type: number
31 description: Number of workers to deploy
32 default: 5
33 cmp_size:
34 type: number
35 description: Number of cmp workers to deploy
36 default: 0
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +020037 acmp_size:
38 type: number
39 description: Number of advanced cmp workers to deploy
40 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010041 gtw_size:
42 type: number
43 description: Number of gtw workers to deploy
44 default: 0
sgudzb94b4c62020-02-05 13:21:25 +020045 lma_size:
46 type: number
47 description: Number of gtw workers to deploy
48 default: 0
49 osd_size:
50 type: number
51 description: Number of gtw workers to deploy
52 default: 0
Dennis Dmitriev81da4222020-02-25 17:53:04 +020053 spare_size:
54 type: number
55 description: Number of gtw workers to deploy
56 default: 0
sgudz43eb82b2020-02-11 16:36:48 +020057 ntw_size:
58 type: number
59 description: Number of contrail nodes to deploy
60 default: 0
Vasyl Saienko36f2edf2020-05-14 10:44:52 +030061 vbmc_size:
62 type: number
63 description: Number of nodes for virtualbmc BM node simulator
64 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010065 ucp_boot_timeout:
66 type: number
67 description: Boot timeout for UCP instance
Vasyl Saienkof36f39c2020-03-10 00:21:42 +020068 default: 3600
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010069 cluster_public_key:
70 type: string
Oleh Hryhorov0019f592020-01-23 11:50:12 +020071 private_floating_network_cidr:
72 type: string
73 default: '10.11.12.0/24'
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +020074 private_floating_network_ipam_pool_start:
75 type: string
76 description: pool start which is used as pool for IPAM and assigned to instances port
77 default: '10.11.12.2'
78 private_floating_network_ipam_pool_end:
79 type: string
80 description: pool end which is used as pool for IPAM and assigned to instances port
81 default: '10.11.12.99'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020082 private_floating_network_pool_start:
83 type: string
84 default: '10.11.12.100'
85 private_floating_network_pool_end:
86 type: string
87 default: '10.11.12.200'
88 private_floating_network_gateway:
89 type: string
Oleh Hryhorovd3a30242020-02-11 15:24:01 +020090 default: ''
Vasyl Saienkoc943f432020-04-21 12:15:57 +030091 private_floating_network_interface:
92 type: string
93 default: 'veth-phy'
94 description: 'The name of interface that should be added to external neutron bridge for floating network.'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020095 private_floating_interface:
96 description: Interface which carries floating network for child OpenStack.
97 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +010098 storage_frontend_network_cidr:
99 type: string
100 default: '10.12.0.0/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200101 storage_frontend_interface:
102 type: string
103 default: 'ens5'
104 storage_backend_network_cidr:
105 type: string
106 default: '10.11.0.0/24'
107 storage_backend_interface:
108 type: string
109 default: 'ens6'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300110 ironic_baremetal_network_cidr:
111 type: string
112 default: '10.13.0.0/24'
113 ironic_baremetal_network_ipam_pool_start:
114 type: string
115 default: '10.13.0.2'
116 ironic_baremetal_network_ipam_pool_end:
117 type: string
118 default: '10.13.0.99'
119 ironic_baremetal_network_pool_start:
120 type: string
121 default: '10.13.0.100'
122 ironic_baremetal_network_pool_end:
123 type: string
124 default: '10.13.0.200'
125 ironic_baremetal_network_gateway:
126 type: string
127 default: ''
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400128 ironic_baremetal_tunnel_cidr:
129 type: string
130 default: '10.16.0.0/24'
Vasyl Saienko4c468192020-05-19 11:51:13 +0300131 ironic_baremetal_network_interface:
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300132 type: string
Vasyl Saienko4c468192020-05-19 11:51:13 +0300133 default: 'veth-bm'
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300134 description: 'The name of interface that should be added to ovs bridge in Neutron'
135 ironic_baremetal_network_vbmc_interface:
136 type: string
137 default: 'veth-vbmc'
138 description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.'
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300139 ironic_baremetal_provisioning_interface:
140 type: string
141 default: 'br-baremetal'
142 description: 'The name of interface on node to which IP ironic services will bind.'
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400143 ironic_baremetal_pxe_interface:
144 type: string
145 default: 'pxe.1000'
146 description: 'Will be used as provisioning_interface for multi-tenancy mode'
147 ironic_mt_enabled:
148 type: boolean
149 default: false
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400150 tungstenfabric_enabled:
151 type: boolean
152 default: false
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200153 tun_network_cidr:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400154 type: string
155 default: '10.15.0.0/24'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200156 tun_network_pool_start:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400157 type: string
158 default: '10.15.0.2'
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200159 tun_network_pool_end:
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400160 type: string
161 default: '10.15.0.99'
Dennis Dmitrievea894212020-03-12 21:36:43 +0200162 ucp_metadata:
163 type: json
164 default: {"role":"ucp"}
165 master_metadata:
166 type: json
167 default: {"role":"master"}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100168 worker_metadata:
169 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200170 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100171 cmp_metadata:
172 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200173 default: {}
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200174 acmp_metadata:
175 type: json
176 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100177 gtw_metadata:
178 type: json
sgudzb94b4c62020-02-05 13:21:25 +0200179 default: {}
180 lma_metadata:
181 type: json
182 default: {}
183 osd_metadata:
184 type: json
185 default: {}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200186 spare_metadata:
187 type: json
188 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200189 ntw_metadata:
190 type: json
191 default: {}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300192 vbmc_metadata:
193 type: json
194 default: {}
sgudzfe58e8a2020-02-11 13:31:40 +0200195 ucp_flavor:
196 type: string
Vasyl Saienko4f740902020-08-18 11:09:06 +0300197 default: 'kaas-bm.worker'
sgudzfe58e8a2020-02-11 13:31:40 +0200198 masters_flavor:
199 type: string
Vasyl Saienko230242f2020-04-07 12:46:05 +0300200 default: 'system.compact.openstack.proxy'
sgudzfe58e8a2020-02-11 13:31:40 +0200201 workers_flavor:
202 type: string
203 default: 'system.compact.openstack.control'
204 cmps_flavor:
205 type: string
206 default: 'system.compact.openstack.control'
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200207 acmps_flavor:
208 type: string
209 default: 'system.compact.openstack.control.ephemeral.numa'
sgudzfe58e8a2020-02-11 13:31:40 +0200210 gtws_flavor:
211 type: string
212 default: 'system.compact.openstack.control'
213 lmas_flavor:
214 type: string
215 default: 'system.compact.openstack.control'
216 osds_flavor:
217 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100218 default: 'system.virtual.ceph.osd'
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200219 spares_flavor:
220 type: string
221 default: 'system.compact.openstack.control'
sgudz43eb82b2020-02-11 16:36:48 +0200222 ntws_flavor:
223 type: string
224 default: 'system.compact.openstack.control'
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300225 vbmcs_flavor:
226 type: string
227 default: 'system.compact.openstack.control'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200228 functions_override:
229 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200230 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200231 docker_ee_url:
232 type: string
Vasyl Saienko1785c352020-03-11 11:39:40 +0200233 default: 'http://mirror-us.mcp.mirantis.net/.snapshots/docker-ee-bionic-latest'
234# default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux/ubuntu'
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200235 docker_ee_release:
236 type: string
237 default: 'stable-19.03'
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300238 docker_ucp_image:
239 type: string
240 default: 'docker/ucp:3.2.4'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200241 tunnel_interface:
242 type: string
243 default: ''
244 live_migration_interface:
245 type: string
246 default: ''
247 metallb_address_pools:
248 type: comma_delimited_list
249 default: ''
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200250 hardware_metadata:
251 description: The content of lab metadata.
252 default: ''
253 type: string
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200254 huge_pages:
255 description: >
256 String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages'
257 If number is equal to 0 alloacation of huge pages won't be configured.
258 default: '0,0'
259 type: string
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100260
261resources:
262 key_pair:
263 type: OS::Nova::KeyPair
264 properties:
265 name: { get_param: "OS::stack_name" }
266 public_key: { get_param: cluster_public_key}
267 save_private_key: false
268
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200269 accessible_network:
270 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100271 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200272 public_net_id: { get_param: public_net_id }
Oleh Hryhorov07081d92020-06-30 16:19:29 +0300273 control_network_cidr: { get_param: control_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100274
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200275 tun_network:
276 type: MCP2::NetworkTun
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400277 properties:
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200278 tun_network_cidr: { get_param: tun_network_cidr }
279 tun_network_pool_start: { get_param: tun_network_pool_start }
280 tun_network_pool_end: { get_param: tun_network_pool_end }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400281
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100282 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200283 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100284 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200285 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200286 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200287 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Sergey Matov0709c762020-04-02 14:30:50 +0400288 private_floating_network_gateway: {get_param: private_floating_network_gateway}
289 control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip}
290 accessible_network: { get_attr: [accessible_network, public_network]}
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400291 data_network_vsrx_ip: { get_param: data_network_vsrx_ip }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200292 tun_network: { get_attr: [tun_network, tun_network_id] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100293
Mateusz Lose2ad0772020-02-27 21:41:54 +0100294 storage_network:
295 type: MCP2::NetworkAccStorage
296 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100297 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200298 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100299
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300300 ironic_baremetal_network:
301 type: MCP2::NetworkIronicFlat
302 properties:
303 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
304 ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start }
305 ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end }
306 ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway}
307
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100308 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100309 depends_on:
310 - accessible_network
311 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200312 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100313 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200314 metadata: { get_param: ucp_metadata}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200315 docker_ee_url: { get_param: docker_ee_url }
316 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienkob59853e2020-05-25 10:15:26 +0300317 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200318 node_type: "ucp"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200319 key_name: { get_param: "OS::stack_name" }
320 image: { get_param: image }
321 flavor: { get_param: ucp_flavor }
322 accessible_network: { get_attr: [accessible_network, public_network] }
323 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
324 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
325 private_floating_interface: { get_param: private_floating_interface }
326 private_floating_network_cidr: { get_param: private_floating_network_cidr }
327 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
328 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200329 control_network_cidr: { get_param: control_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200330 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200331 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200332
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100333 masters:
334 type: OS::Heat::ResourceGroup
335 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200336 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100337 properties:
338 count: { get_param: masters_size }
339 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200340 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100341 properties:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200342 metadata: { get_param: master_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200343 node_type: "master"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200344 key_name: { get_param: "OS::stack_name" }
345 image: { get_param: image }
346 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200347 docker_ee_url: { get_param: docker_ee_url }
348 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300349 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200350 accessible_network: { get_attr: [accessible_network, public_network] }
351 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
352 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
353 private_floating_interface: { get_param: private_floating_interface }
354 private_floating_network_cidr: { get_param: private_floating_network_cidr }
355 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
356 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200357 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200358 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200359 functions_override: { get_param: functions_override }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200360 hardware_metadata: { get_param: hardware_metadata}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200361
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100362 workers:
363 type: OS::Heat::ResourceGroup
364 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200365 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100366 properties:
367 count: { get_param: worker_size }
368 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200369 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100370 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200371 metadata: { get_param: worker_metadata}
372 node_type: "worker"
373 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100374 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200375 flavor: { get_param: workers_flavor }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100376 key_name: { get_param: "OS::stack_name" }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200377 docker_ee_url: { get_param: docker_ee_url }
378 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300379 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200380 accessible_network: { get_attr: [accessible_network, public_network] }
381 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
382 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
383 private_floating_interface: { get_param: private_floating_interface }
384 private_floating_network_cidr: { get_param: private_floating_network_cidr }
385 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100386 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200387 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200388 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200389 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200390 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200391 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
392 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
393 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200394 storage_backend_interface: { get_param: storage_backend_interface }
395 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
396 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
397 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300398 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
399 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300400 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400401 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
402 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400403 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200404 tun_network: { get_attr: [tun_network, tun_network_id] }
405 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200406 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200407
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100408 cmps:
409 type: OS::Heat::ResourceGroup
410 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200411 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100412 properties:
413 count: { get_param: cmp_size }
414 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200415 type: MCP2::SrvInstancesCephOSD
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100416 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200417 metadata: { get_param: cmp_metadata }
418 node_type: "worker"
419 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100420 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200421 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200422 docker_ee_url: { get_param: docker_ee_url }
423 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300424 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200425 accessible_network: { get_attr: [accessible_network, public_network] }
426 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
427 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
428 private_floating_interface: { get_param: private_floating_interface }
429 private_floating_network_cidr: { get_param: private_floating_network_cidr }
430 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100431 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200432 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200433 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200434 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200435 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200436 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
437 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
438 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200439 storage_backend_interface: { get_param: storage_backend_interface }
440 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
441 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
442 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300443 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
444 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300445 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400446 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
447 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400448 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200449 tun_network: { get_attr: [tun_network, tun_network_id] }
450 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200451 hardware_metadata: { get_param: hardware_metadata}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200452
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200453 acmps:
454 type: OS::Heat::ResourceGroup
455 depends_on:
456 - ucp
457 properties:
458 count: { get_param: acmp_size }
459 resource_def:
460 type: MCP2::SrvInstancesCephOSD
461 properties:
462 metadata: { get_param: acmp_metadata }
463 node_type: "worker"
464 key_name: { get_param: "OS::stack_name" }
465 image: { get_param: image }
466 flavor: { get_param: acmps_flavor }
467 docker_ee_url: { get_param: docker_ee_url }
468 docker_ee_release: { get_param: docker_ee_release }
469 docker_ucp_image: { get_param: docker_ucp_image}
470 accessible_network: { get_attr: [accessible_network, public_network] }
471 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
472 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
473 private_floating_interface: { get_param: private_floating_interface }
474 private_floating_network_cidr: { get_param: private_floating_network_cidr }
475 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
476 public_net_id: { get_param: public_net_id }
477 control_network_cidr: { get_param: control_network_cidr }
478 ucp_master_host: { get_attr: [ucp, server_private_ip] }
479 functions_override: { get_param: functions_override }
480 storage_frontend_interface: { get_param: storage_frontend_interface }
481 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
482 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
483 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
484 storage_backend_interface: { get_param: storage_backend_interface }
485 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
486 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
487 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
488 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
489 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
490 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
491 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
492 ironic_mt_enabled: { get_param: ironic_mt_enabled }
493 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200494 tun_network: { get_attr: [tun_network, tun_network_id] }
495 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200496 hardware_metadata: { get_param: hardware_metadata}
Mykyta Karpin6a153c52020-11-03 15:21:38 +0200497 huge_pages: { get_param: huge_pages }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200498
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100499 gtws:
500 type: OS::Heat::ResourceGroup
501 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200502 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100503 properties:
504 count: { get_param: gtw_size }
505 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200506 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100507 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200508 metadata: { get_param: gtw_metadata }
509 node_type: "worker"
510 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100511 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200512 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200513 docker_ee_url: { get_param: docker_ee_url }
514 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300515 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200516 accessible_network: { get_attr: [accessible_network, public_network] }
517 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
518 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
519 private_floating_interface: { get_param: private_floating_interface }
520 private_floating_network_cidr: { get_param: private_floating_network_cidr }
521 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100522 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200523 control_network_cidr: { get_param: control_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200524 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200525 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200526 storage_frontend_interface: { get_param: storage_frontend_interface }
527 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
528 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
529 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300530 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
531 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300532 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400533 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
534 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200535 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100536
sgudzb94b4c62020-02-05 13:21:25 +0200537 lmas:
538 type: OS::Heat::ResourceGroup
539 depends_on:
540 - ucp
541 properties:
542 count: { get_param: lma_size }
543 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100544 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200545 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200546 metadata: { get_param: lma_metadata }
547 node_type: "worker"
548 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200549 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200550 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200551 docker_ee_url: { get_param: docker_ee_url }
552 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300553 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200554 accessible_network: { get_attr: [accessible_network, public_network] }
555 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
556 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
557 private_floating_interface: { get_param: private_floating_interface }
558 private_floating_network_cidr: { get_param: private_floating_network_cidr }
559 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200560 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200561 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200562 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200563 functions_override: { get_param: functions_override }
Oleh Hryhorov1832d232020-03-05 11:33:13 +0200564 storage_frontend_interface: { get_param: storage_frontend_interface }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200565 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
566 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
567 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300568 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
569 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300570 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400571 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
572 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200573 hardware_metadata: { get_param: hardware_metadata}
sgudzb94b4c62020-02-05 13:21:25 +0200574
575 osds:
576 type: OS::Heat::ResourceGroup
577 depends_on:
578 - ucp
579 properties:
580 count: { get_param: osd_size }
581 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100582 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200583 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200584 metadata: { get_param: osd_metadata }
585 node_type: "worker"
586 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200587 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200588 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200589 docker_ee_url: { get_param: docker_ee_url }
590 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300591 docker_ucp_image: { get_param: docker_ucp_image}
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200592 accessible_network: { get_attr: [accessible_network, public_network] }
593 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
594 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
595 private_floating_interface: { get_param: private_floating_interface }
596 private_floating_network_cidr: { get_param: private_floating_network_cidr }
597 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200598 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200599 control_network_cidr: { get_param: control_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200600 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200601 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200602 storage_frontend_interface: { get_param: storage_frontend_interface }
603 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
604 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
605 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
606 storage_backend_interface: { get_param: storage_backend_interface }
607 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
608 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
609 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300610 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
611 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300612 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400613 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
614 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400615 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200616 tun_network: { get_attr: [tun_network, tun_network_id] }
617 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200618 hardware_metadata: { get_param: hardware_metadata}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100619
Dennis Dmitrievea894212020-03-12 21:36:43 +0200620 spares: # spares for osds/cmps
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200621 type: OS::Heat::ResourceGroup
622 depends_on:
623 - ucp
624 properties:
625 count: { get_param: spare_size }
626 resource_def:
Dennis Dmitrievea894212020-03-12 21:36:43 +0200627 type: MCP2::SrvInstancesCephOSD
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200628 properties:
629 metadata: { get_param: spare_metadata }
630 node_type: "spare"
631 key_name: { get_param: "OS::stack_name" }
632 image: { get_param: image }
633 flavor: { get_param: spares_flavor }
634 docker_ee_url: { get_param: docker_ee_url }
635 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300636 docker_ucp_image: { get_param: docker_ucp_image}
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200637 accessible_network: { get_attr: [accessible_network, public_network] }
638 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
639 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
640 private_floating_interface: { get_param: private_floating_interface }
641 private_floating_network_cidr: { get_param: private_floating_network_cidr }
642 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
643 public_net_id: { get_param: public_net_id }
644 control_network_cidr: { get_param: control_network_cidr }
645 ucp_master_host: { get_attr: [ucp, server_private_ip] }
646 functions_override: { get_param: functions_override }
647 storage_frontend_interface: { get_param: storage_frontend_interface }
648 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
649 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
650 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Dennis Dmitrievea894212020-03-12 21:36:43 +0200651 storage_backend_interface: { get_param: storage_backend_interface }
652 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
653 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
654 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300655 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
656 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300657 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400658 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
659 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Anton Samoylovea0b23e2020-06-26 14:17:51 +0400660 tungstenfabric_enabled: { get_param: tungstenfabric_enabled }
Oleh Hryhorove7feab42020-11-11 18:00:29 +0200661 tun_network: { get_attr: [tun_network, tun_network_id] }
662 tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200663 hardware_metadata: { get_param: hardware_metadata}
664
sgudz43eb82b2020-02-11 16:36:48 +0200665 ntws:
666 type: OS::Heat::ResourceGroup
667 depends_on:
668 - ucp
669 properties:
670 count: { get_param: ntw_size }
671 resource_def:
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200672 type: MCP2::SrvInstancesCeph
sgudz43eb82b2020-02-11 16:36:48 +0200673 properties:
674 metadata: { get_param: ntw_metadata }
675 node_type: "worker"
676 key_name: { get_param: "OS::stack_name" }
677 image: { get_param: image }
678 flavor: { get_param: ntws_flavor }
679 docker_ee_url: { get_param: docker_ee_url }
680 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300681 docker_ucp_image: { get_param: docker_ucp_image}
sgudz43eb82b2020-02-11 16:36:48 +0200682 accessible_network: { get_attr: [accessible_network, public_network] }
683 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
684 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
685 private_floating_interface: { get_param: private_floating_interface }
686 private_floating_network_cidr: { get_param: private_floating_network_cidr }
687 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
688 public_net_id: { get_param: public_net_id }
Vasyl Saienko0fa6f192020-03-06 16:08:51 +0200689 control_network_cidr: { get_param: control_network_cidr }
sgudz43eb82b2020-02-11 16:36:48 +0200690 ucp_master_host: { get_attr: [ucp, server_private_ip] }
691 functions_override: { get_param: functions_override }
Vasyl Saienkoff5b8642020-03-26 18:20:34 +0200692 storage_frontend_interface: { get_param: storage_frontend_interface }
693 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
694 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
695 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Vasyl Saienko73d6ec62020-05-14 20:26:25 +0300696 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
697 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300698 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400699 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
700 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200701 hardware_metadata: { get_param: hardware_metadata}
sgudz43eb82b2020-02-11 16:36:48 +0200702
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300703 vbmcs:
704 type: OS::Heat::ResourceGroup
705 depends_on:
706 - ucp
707 properties:
708 count: { get_param: vbmc_size }
709 resource_def:
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400710 type: MCP2::SrvInstancesCeph
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300711 properties:
712 metadata: { get_param: vbmc_metadata}
713 node_type: "worker"
714 key_name: { get_param: "OS::stack_name" }
715 image: { get_param: image }
716 flavor: { get_param: vbmcs_flavor }
717 docker_ee_url: { get_param: docker_ee_url }
718 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko84ee4fd2020-09-02 10:00:18 +0300719 docker_ucp_image: { get_param: docker_ucp_image}
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300720 accessible_network: { get_attr: [accessible_network, public_network] }
721 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
722 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
723 private_floating_interface: { get_param: private_floating_interface }
724 private_floating_network_cidr: { get_param: private_floating_network_cidr }
725 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
726 public_net_id: { get_param: public_net_id }
727 control_network_cidr: { get_param: control_network_cidr }
728 ucp_master_host: { get_attr: [ucp, server_private_ip] }
729 functions_override: { get_param: functions_override }
Michael Polenchuk3bfb59f2020-05-15 18:50:14 +0400730 storage_frontend_interface: { get_param: storage_frontend_interface }
731 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
732 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
733 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Michael Polenchuk21493b32020-05-15 21:08:04 +0400734 ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] }
735 ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300736 ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400737 ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
738 ironic_mt_enabled: { get_param: ironic_mt_enabled }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300739 hardware_metadata: { get_param: hardware_metadata}
740
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100741outputs:
742 ucp_ips:
743 description: Private IP addresses of the deployed ucp instances
744 value: { get_attr: [ucp, server_public_ip] }
745 masters_ips:
746 description: Private IP addresses of the deployed masters instances
747 value: { get_attr: [masters, server_public_ip] }
748 workers_ips:
749 description: Private IP addresses of the deployed worker instances
750 value: { get_attr: [workers, server_public_ip] }
751 cmps_ips:
752 description: Private IP addresses of the deployed cmp instances
753 value: { get_attr: [cmps, server_public_ip] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200754 acmps_ips:
755 description: Private IP addresses of the deployed cmp instances with high computing features
756 value: { get_attr: [acmps, server_public_ip] }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100757 gtws_ips:
758 description: Private IP addresses of the deployed gtw instances
759 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200760 lmas_ips:
761 description: Private IP addresses of the deployed lma instances
762 value: { get_attr: [lmas, server_public_ip] }
763 osds_ips:
764 description: Private IP addresses of the deployed osd instances
765 value: { get_attr: [osds, server_public_ip] }
Dennis Dmitriev81da4222020-02-25 17:53:04 +0200766 spares_ips:
767 description: Private IP addresses of the deployed spare instances
768 value: { get_attr: [spares, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200769 ntws_ips:
770 description: Private IP addresses of the deployed contrail instances
771 value: { get_attr: [ntws, server_public_ip] }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300772 vbmcs_ips:
773 description: Private IP addresses of the deployed virtualbmcs instances
774 value: { get_attr: [vbmcs, server_public_ip] }
Vasyl Saienko4e3f4632020-05-26 14:43:09 +0300775 vbmc_ironic_baremetal_ips:
776 description: The IPs of ironic baremetal network assigned to vbmc hosts.
777 value: { get_attr: [vbmcs, server_ironic_baremetal_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200778 worker_private_floating_ips:
779 description: IPs might be used as gateway
780 value: { get_attr: [workers, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +0200781 private_floating_cidr:
782 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200783 private_floating_network_pool_start:
784 value: { get_param: private_floating_network_pool_start }
785 private_floating_network_pool_end:
786 value: { get_param: private_floating_network_pool_end }
787 private_floating_network_gateway:
788 value: { get_param: private_floating_network_gateway }
Vasyl Saienkoc943f432020-04-21 12:15:57 +0300789 private_floating_network_interface:
790 value: { get_param: private_floating_network_interface }
Vasyl Saienko36f2edf2020-05-14 10:44:52 +0300791 ironic_baremetal_network_pool_start:
792 value: { get_param: ironic_baremetal_network_pool_start }
793 ironic_baremetal_network_pool_end:
794 value: { get_param: ironic_baremetal_network_pool_end }
Vasyl Saienko4c468192020-05-19 11:51:13 +0300795 ironic_baremetal_network_interface:
796 value: { get_param: ironic_baremetal_network_interface }
Vasyl Saienko1233afd2020-05-21 14:55:21 +0300797 ironic_baremetal_network_vbmc_interface:
798 value: { get_param: ironic_baremetal_network_vbmc_interface }
Vasyl Saienko9fd0b5b2020-05-20 13:15:58 +0300799 ironic_baremetal_provisioning_interface:
800 value: { get_param: ironic_baremetal_provisioning_interface }
Michael Polenchuk486cadf2020-08-24 16:25:51 +0400801 ironic_baremetal_pxe_interface:
802 value: { get_param: ironic_baremetal_pxe_interface }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200803 tunnel_interface:
804 value: { get_param: tunnel_interface }
805 live_migration_interface:
806 value: { get_param: live_migration_interface }
807 metallb_address_pools:
808 value: { get_param: metallb_address_pools }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200809 ucp_wc_data:
810 description: Metadata from ucp
811 value: { get_attr: [ucp, wc_data] }
812 masters_wc_data:
813 description: Metadata from masters
814 value: { get_attr: [masters, wc_data] }
815 workers_wc_data:
816 description: Metadata from workers
817 value: { get_attr: [workers, wc_data] }
818 cmps_wc_data:
819 description: Metadata from cmps
820 value: { get_attr: [cmps, wc_data] }
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200821 acmps_wc_data:
822 description: Metadata from cmps with high computing features
823 value: { get_attr: [acmps, wc_data] }
Vasyl Saienkof9ee1582020-03-02 16:53:41 +0200824 gtws_wc_data:
825 description: Metadata from gtws
826 value: { get_attr: [gtws, wc_data] }
827 lmas_wc_data:
828 description: Metadata from lmas
829 value: { get_attr: [lmas, wc_data] }
830 osds_wc_data:
831 description: Metadata from osds
832 value: { get_attr: [osds, wc_data] }
833 ntws_wc_data:
834 description: Metadata from ntws
835 value: { get_attr: [ntws, wc_data] }
Oleh Hryhorov564a1202020-03-12 12:44:56 +0200836 storage_frontend_network_cidr:
837 description: Storage network which is used as clientNet in Ceph CR
838 value: { get_param: storage_frontend_network_cidr }
839 storage_backend_network_cidr:
840 description: Storage network which is used as clusterNet in Ceph CR
841 value: { get_param: storage_backend_network_cidr }
Anton Samoylov474029a2020-09-03 11:02:01 +0400842 tungstenfabric_enabled:
843 value: { get_param: tungstenfabric_enabled }
844 data_network_vsrx_ip:
845 description: IP address of vsrx in tungsten fabric data network
Oleksii Grudev6cc5ad92020-10-30 10:58:11 +0200846 value: { get_param: data_network_vsrx_ip }