blob: 19464489a70e27529e40f8f61add4201220fb76d [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
13 host_interface:
14 type: string
15 description: Interface which connects server with public network (world accessible network).
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010016 masters_size:
17 type: number
18 description: Number of masters instances to deploy
19 default: 2
20 worker_size:
21 type: number
22 description: Number of workers to deploy
23 default: 5
24 cmp_size:
25 type: number
26 description: Number of cmp workers to deploy
27 default: 0
28 gtw_size:
29 type: number
30 description: Number of gtw workers to deploy
31 default: 0
sgudzb94b4c62020-02-05 13:21:25 +020032 lma_size:
33 type: number
34 description: Number of gtw workers to deploy
35 default: 0
36 osd_size:
37 type: number
38 description: Number of gtw workers to deploy
39 default: 0
sgudz43eb82b2020-02-11 16:36:48 +020040 ntw_size:
41 type: number
42 description: Number of contrail nodes to deploy
43 default: 0
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010044 ucp_boot_timeout:
45 type: number
46 description: Boot timeout for UCP instance
47 default: 1200
48 cluster_public_key:
49 type: string
Oleh Hryhorov0019f592020-01-23 11:50:12 +020050 private_floating_network_cidr:
51 type: string
52 default: '10.11.12.0/24'
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +020053 private_floating_network_ipam_pool_start:
54 type: string
55 description: pool start which is used as pool for IPAM and assigned to instances port
56 default: '10.11.12.2'
57 private_floating_network_ipam_pool_end:
58 type: string
59 description: pool end which is used as pool for IPAM and assigned to instances port
60 default: '10.11.12.99'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020061 private_floating_network_pool_start:
62 type: string
63 default: '10.11.12.100'
64 private_floating_network_pool_end:
65 type: string
66 default: '10.11.12.200'
67 private_floating_network_gateway:
68 type: string
Oleh Hryhorovd3a30242020-02-11 15:24:01 +020069 default: ''
Oleh Hryhorovb58460e2020-02-05 15:53:48 +020070 private_floating_interface:
71 description: Interface which carries floating network for child OpenStack.
72 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +010073 storage_frontend_network_cidr:
74 type: string
75 default: '10.12.0.0/24'
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +020076 storage_frontend_interface:
77 type: string
78 default: 'ens5'
79 storage_backend_network_cidr:
80 type: string
81 default: '10.11.0.0/24'
82 storage_backend_interface:
83 type: string
84 default: 'ens6'
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010085 worker_metadata:
86 type: json
sgudzb94b4c62020-02-05 13:21:25 +020087 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010088 cmp_metadata:
89 type: json
sgudzb94b4c62020-02-05 13:21:25 +020090 default: {}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010091 gtw_metadata:
92 type: json
sgudzb94b4c62020-02-05 13:21:25 +020093 default: {}
94 lma_metadata:
95 type: json
96 default: {}
97 osd_metadata:
98 type: json
99 default: {}
sgudz43eb82b2020-02-11 16:36:48 +0200100 ntw_metadata:
101 type: json
102 default: {}
sgudzfe58e8a2020-02-11 13:31:40 +0200103 ucp_flavor:
104 type: string
105 default: 'system.compact.openstack.control'
106 masters_flavor:
107 type: string
108 default: 'system.compact.openstack.control'
109 workers_flavor:
110 type: string
111 default: 'system.compact.openstack.control'
112 cmps_flavor:
113 type: string
114 default: 'system.compact.openstack.control'
115 gtws_flavor:
116 type: string
117 default: 'system.compact.openstack.control'
118 lmas_flavor:
119 type: string
120 default: 'system.compact.openstack.control'
121 osds_flavor:
122 type: string
Mateusz Lose2ad0772020-02-27 21:41:54 +0100123 default: 'system.virtual.ceph.osd'
sgudz43eb82b2020-02-11 16:36:48 +0200124 ntws_flavor:
125 type: string
126 default: 'system.compact.openstack.control'
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200127 functions_override:
128 type: string
Vasyl Saienko9b688992020-02-13 13:50:53 +0200129 default: ''
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200130 docker_ee_url:
131 type: string
132 default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux'
133 docker_ee_release:
134 type: string
135 default: 'stable-19.03'
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200136 tunnel_interface:
137 type: string
138 default: ''
139 live_migration_interface:
140 type: string
141 default: ''
142 metallb_address_pools:
143 type: comma_delimited_list
144 default: ''
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100145
146resources:
147 key_pair:
148 type: OS::Nova::KeyPair
149 properties:
150 name: { get_param: "OS::stack_name" }
151 public_key: { get_param: cluster_public_key}
152 save_private_key: false
153
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200154 accessible_network:
155 type: MCP2::NetworkAcc
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100156 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200157 public_net_id: { get_param: public_net_id }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100158
159 private_floating_network:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200160 type: MCP2::NetworkPrvFl
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100161 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200162 private_floating_network_cidr: { get_param: private_floating_network_cidr }
Oleh Hryhorov2a7b3d72020-02-27 17:04:24 +0200163 private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start }
Oleh Hryhorov7b0157d2020-02-27 18:20:11 +0200164 private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100165
Mateusz Lose2ad0772020-02-27 21:41:54 +0100166 storage_network:
167 type: MCP2::NetworkAccStorage
168 properties:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100169 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200170 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Mateusz Lose2ad0772020-02-27 21:41:54 +0100171
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100172 ucp:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100173 depends_on:
174 - accessible_network
175 - storage_network
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200176 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100177 properties:
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100178 metadata: {"role":"ucp"}
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200179 docker_ee_url: { get_param: docker_ee_url }
180 docker_ee_release: { get_param: docker_ee_release }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200181 node_type: "ucp"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200182 key_name: { get_param: "OS::stack_name" }
183 image: { get_param: image }
184 flavor: { get_param: ucp_flavor }
185 accessible_network: { get_attr: [accessible_network, public_network] }
186 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
187 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
188 private_floating_interface: { get_param: private_floating_interface }
189 private_floating_network_cidr: { get_param: private_floating_network_cidr }
190 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
191 public_net_id: { get_param: public_net_id }
192 host_interface: { get_param: host_interface }
193 functions_override: { get_param: functions_override }
194
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100195 masters:
196 type: OS::Heat::ResourceGroup
197 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200198 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100199 properties:
200 count: { get_param: masters_size }
201 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200202 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100203 properties:
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100204 metadata: {"role":"master"}
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200205 node_type: "master"
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200206 key_name: { get_param: "OS::stack_name" }
207 image: { get_param: image }
208 flavor: { get_param: masters_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200209 docker_ee_url: { get_param: docker_ee_url }
210 docker_ee_release: { get_param: docker_ee_release }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200211 accessible_network: { get_attr: [accessible_network, public_network] }
212 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
213 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
214 private_floating_interface: { get_param: private_floating_interface }
215 private_floating_network_cidr: { get_param: private_floating_network_cidr }
216 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
217 public_net_id: { get_param: public_net_id }
218 host_interface: { get_param: host_interface }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200219 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200220 functions_override: { get_param: functions_override }
221
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100222 workers:
223 type: OS::Heat::ResourceGroup
224 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200225 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100226 properties:
227 count: { get_param: worker_size }
228 resource_def:
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200229 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100230 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200231 metadata: { get_param: worker_metadata}
232 node_type: "worker"
233 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100234 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200235 flavor: { get_param: workers_flavor }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100236 key_name: { get_param: "OS::stack_name" }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200237 docker_ee_url: { get_param: docker_ee_url }
238 docker_ee_release: { get_param: docker_ee_release }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200239 accessible_network: { get_attr: [accessible_network, public_network] }
240 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
241 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
242 private_floating_interface: { get_param: private_floating_interface }
243 private_floating_network_cidr: { get_param: private_floating_network_cidr }
244 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100245 public_net_id: { get_param: public_net_id }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200246 host_interface: { get_param: host_interface }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200247 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200248 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200249 storage_frontend_interface: { get_param: storage_frontend_interface }
250 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
251 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
252 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
253 storage_backend_interface: { get_param: storage_backend_interface }
254 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
255 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
256 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200257
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100258 cmps:
259 type: OS::Heat::ResourceGroup
260 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200261 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100262 properties:
263 count: { get_param: cmp_size }
264 resource_def:
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200265 type: MCP2::SrvInstancesCeph
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100266 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200267 metadata: { get_param: cmp_metadata }
268 node_type: "worker"
269 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100270 image: { get_param: image }
Vasyl Saienko6ff0c1b2020-03-05 07:52:02 +0200271 flavor: { get_param: cmps_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200272 docker_ee_url: { get_param: docker_ee_url }
273 docker_ee_release: { get_param: docker_ee_release }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200274 accessible_network: { get_attr: [accessible_network, public_network] }
275 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
276 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
277 private_floating_interface: { get_param: private_floating_interface }
278 private_floating_network_cidr: { get_param: private_floating_network_cidr }
279 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100280 public_net_id: { get_param: public_net_id }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200281 host_interface: { get_param: host_interface }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200282 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200283 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200284 storage_frontend_interface: { get_param: storage_frontend_interface }
285 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
286 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
287 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
288 storage_backend_interface: { get_param: storage_backend_interface }
289 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
290 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
291 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200292
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100293 gtws:
294 type: OS::Heat::ResourceGroup
295 depends_on:
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200296 - ucp
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100297 properties:
298 count: { get_param: gtw_size }
299 resource_def:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200300 type: MCP2::SrvInstances
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100301 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200302 metadata: { get_param: gtw_metadata }
303 node_type: "worker"
304 key_name: { get_param: "OS::stack_name" }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100305 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200306 flavor: { get_param: gtws_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200307 docker_ee_url: { get_param: docker_ee_url }
308 docker_ee_release: { get_param: docker_ee_release }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200309 accessible_network: { get_attr: [accessible_network, public_network] }
310 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
311 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
312 private_floating_interface: { get_param: private_floating_interface }
313 private_floating_network_cidr: { get_param: private_floating_network_cidr }
314 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100315 public_net_id: { get_param: public_net_id }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200316 host_interface: { get_param: host_interface }
Vasyl Saienko3ab29c92020-01-03 10:39:03 +0200317 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200318 functions_override: { get_param: functions_override }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100319
sgudzb94b4c62020-02-05 13:21:25 +0200320 lmas:
321 type: OS::Heat::ResourceGroup
322 depends_on:
323 - ucp
324 properties:
325 count: { get_param: lma_size }
326 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100327 type: MCP2::SrvInstancesCeph
sgudzb94b4c62020-02-05 13:21:25 +0200328 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200329 metadata: { get_param: lma_metadata }
330 node_type: "worker"
331 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200332 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200333 flavor: { get_param: lmas_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200334 docker_ee_url: { get_param: docker_ee_url }
335 docker_ee_release: { get_param: docker_ee_release }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200336 accessible_network: { get_attr: [accessible_network, public_network] }
337 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
338 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
339 private_floating_interface: { get_param: private_floating_interface }
340 private_floating_network_cidr: { get_param: private_floating_network_cidr }
341 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200342 public_net_id: { get_param: public_net_id }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200343 host_interface: { get_param: host_interface }
sgudzb94b4c62020-02-05 13:21:25 +0200344 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200345 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200346 storage_frontend_interface: { get_param: storage_frontend_interface }
347 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
348 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
349 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
sgudzb94b4c62020-02-05 13:21:25 +0200350
351 osds:
352 type: OS::Heat::ResourceGroup
353 depends_on:
354 - ucp
355 properties:
356 count: { get_param: osd_size }
357 resource_def:
Mateusz Lose2ad0772020-02-27 21:41:54 +0100358 type: MCP2::SrvInstancesCephOSD
sgudzb94b4c62020-02-05 13:21:25 +0200359 properties:
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200360 metadata: { get_param: osd_metadata }
361 node_type: "worker"
362 key_name: { get_param: "OS::stack_name" }
sgudzb94b4c62020-02-05 13:21:25 +0200363 image: { get_param: image }
sgudzfe58e8a2020-02-11 13:31:40 +0200364 flavor: { get_param: osds_flavor }
Mykyta Karpin5ed5fd82020-01-27 18:23:29 +0200365 docker_ee_url: { get_param: docker_ee_url }
366 docker_ee_release: { get_param: docker_ee_release }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200367 accessible_network: { get_attr: [accessible_network, public_network] }
368 private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] }
369 private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] }
370 private_floating_interface: { get_param: private_floating_interface }
371 private_floating_network_cidr: { get_param: private_floating_network_cidr }
372 accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
sgudzb94b4c62020-02-05 13:21:25 +0200373 public_net_id: { get_param: public_net_id }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200374 host_interface: { get_param: host_interface }
sgudzb94b4c62020-02-05 13:21:25 +0200375 ucp_master_host: { get_attr: [ucp, server_private_ip] }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200376 functions_override: { get_param: functions_override }
Oleh Hryhorovdccb1cd2020-03-04 15:52:55 +0200377 storage_frontend_interface: { get_param: storage_frontend_interface }
378 storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] }
379 storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] }
380 storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
381 storage_backend_interface: { get_param: storage_backend_interface }
382 storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] }
383 storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] }
384 storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100385
sgudz43eb82b2020-02-11 16:36:48 +0200386 ntws:
387 type: OS::Heat::ResourceGroup
388 depends_on:
389 - ucp
390 properties:
391 count: { get_param: ntw_size }
392 resource_def:
393 type: MCP2::SrvInstances
394 properties:
395 metadata: { get_param: ntw_metadata }
396 node_type: "worker"
397 key_name: { get_param: "OS::stack_name" }
398 image: { get_param: image }
399 flavor: { get_param: ntws_flavor }
400 docker_ee_url: { get_param: docker_ee_url }
401 docker_ee_release: { get_param: docker_ee_release }
402 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]}
408 public_net_id: { get_param: public_net_id }
409 host_interface: { get_param: host_interface }
410 ucp_master_host: { get_attr: [ucp, server_private_ip] }
411 functions_override: { get_param: functions_override }
412
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +0100413outputs:
414 ucp_ips:
415 description: Private IP addresses of the deployed ucp instances
416 value: { get_attr: [ucp, server_public_ip] }
417 masters_ips:
418 description: Private IP addresses of the deployed masters instances
419 value: { get_attr: [masters, server_public_ip] }
420 workers_ips:
421 description: Private IP addresses of the deployed worker instances
422 value: { get_attr: [workers, server_public_ip] }
423 cmps_ips:
424 description: Private IP addresses of the deployed cmp instances
425 value: { get_attr: [cmps, server_public_ip] }
426 gtws_ips:
427 description: Private IP addresses of the deployed gtw instances
428 value: { get_attr: [gtws, server_public_ip] }
sgudzb94b4c62020-02-05 13:21:25 +0200429 lmas_ips:
430 description: Private IP addresses of the deployed lma instances
431 value: { get_attr: [lmas, server_public_ip] }
432 osds_ips:
433 description: Private IP addresses of the deployed osd instances
434 value: { get_attr: [osds, server_public_ip] }
sgudz43eb82b2020-02-11 16:36:48 +0200435 ntws_ips:
436 description: Private IP addresses of the deployed contrail instances
437 value: { get_attr: [ntws, server_public_ip] }
Oleh Hryhorov404e9572020-01-21 18:57:22 +0200438 worker_private_floating_ips:
439 description: IPs might be used as gateway
440 value: { get_attr: [workers, server_private_floating_ip] }
Oleh Hryhorov0019f592020-01-23 11:50:12 +0200441 private_floating_cidr:
442 value: { get_param: private_floating_network_cidr }
Oleh Hryhorovb58460e2020-02-05 15:53:48 +0200443 private_floating_network_pool_start:
444 value: { get_param: private_floating_network_pool_start }
445 private_floating_network_pool_end:
446 value: { get_param: private_floating_network_pool_end }
447 private_floating_network_gateway:
448 value: { get_param: private_floating_network_gateway }
Oleh Hryhorov367e3ff2020-02-13 10:35:52 +0200449 tunnel_interface:
450 value: { get_param: tunnel_interface }
451 live_migration_interface:
452 value: { get_param: live_migration_interface }
453 metallb_address_pools:
454 value: { get_param: metallb_address_pools }