f09a44335d1f365df4fe4ba579bb008b28688c46
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     vf_module_id:
12       hidden: false
13       immutable: false
14       annotations:
15         source:
16           type: org.openecomp.annotations.Source
17           properties:
18             vf_module_label:
19             - main
20             source_type: HEAT
21             param_name: vf_module_id
22       type: string
23       description: Unique ID for this VF module inst
24     control_int_net_rpf:
25       hidden: false
26       immutable: false
27       annotations:
28         source:
29           type: org.openecomp.annotations.Source
30           properties:
31             vf_module_label:
32             - main
33             source_type: HEAT
34             param_name: control_int_net_rpf
35       type: string
36       description: Reverse Path Filtering enable or disable for the control virtual network
37     control_int_net_forwarding_mode:
38       hidden: false
39       immutable: false
40       annotations:
41         source:
42           type: org.openecomp.annotations.Source
43           properties:
44             vf_module_label:
45             - main
46             source_type: HEAT
47             param_name: control_int_net_forwarding_mode
48       type: string
49       description: forwarding mode of the control virtual network
50     vnf_name:
51       hidden: false
52       immutable: false
53       annotations:
54         source:
55           type: org.openecomp.annotations.Source
56           properties:
57             vf_module_label:
58             - main
59             source_type: HEAT
60             param_name: vnf_name
61       type: string
62       description: Unique name for this VF instance
63     vdbe_untrusted_ip_1:
64       hidden: false
65       immutable: false
66       annotations:
67         source:
68           type: org.openecomp.annotations.Source
69           properties:
70             vf_module_label:
71             - main
72             source_type: HEAT
73             param_name: vdbe_untrusted_ip_1
74       type: string
75       description: IPV4 address of the secondary vDBE VM on the VAN untrusted network
76     vdbe_aap_untrusted_ip_prefix_len:
77       hidden: false
78       immutable: false
79       annotations:
80         source:
81           type: org.openecomp.annotations.Source
82           properties:
83             vf_module_label:
84             - main
85             source_type: HEAT
86             param_name: vdbe_aap_untrusted_ip_prefix_len
87       type: string
88       description: ip prefix length for the primary vDBE VM on the VAN untrusted network
89     aap_address_mode:
90       hidden: false
91       immutable: false
92       annotations:
93         source:
94           type: org.openecomp.annotations.Source
95           properties:
96             vf_module_label:
97             - main
98             source_type: HEAT
99             param_name: aap_address_mode
100       type: string
101       description: Address mode for the vDBE cluster IP
102     control_int_net_shared:
103       hidden: false
104       immutable: false
105       annotations:
106         source:
107           type: org.openecomp.annotations.Source
108           properties:
109             vf_module_label:
110             - main
111             source_type: HEAT
112             param_name: control_int_net_shared
113       type: boolean
114       description: control virtual network shared
115     vdbe_untrusted_v6_ip_1:
116       hidden: false
117       immutable: false
118       annotations:
119         source:
120           type: org.openecomp.annotations.Source
121           properties:
122             vf_module_label:
123             - main
124             source_type: HEAT
125             param_name: vdbe_untrusted_v6_ip_1
126       type: string
127       description: IPV6 address of the secondary vDBE VM on the VAN untrusted network
128     vdbe_untrusted_vmac_address:
129       hidden: false
130       immutable: false
131       annotations:
132         source:
133           type: org.openecomp.annotations.Source
134           properties:
135             vf_module_label:
136             - main
137             source_type: HEAT
138             param_name: vdbe_untrusted_vmac_address
139       type: string
140       description: Virtual MAC of the primary vDBE VM on the VAN untrusted network
141     control_int_net_flood_unknown_unicast:
142       hidden: false
143       immutable: false
144       annotations:
145         source:
146           type: org.openecomp.annotations.Source
147           properties:
148             vf_module_label:
149             - main
150             source_type: HEAT
151             param_name: control_int_net_flood_unknown_unicast
152       type: boolean
153       description: forwarding mode of the control virtual network
154     vdbe_aap_sec_untrusted_ip_prefix:
155       hidden: false
156       immutable: false
157       annotations:
158         source:
159           type: org.openecomp.annotations.Source
160           properties:
161             vf_module_label:
162             - main
163             source_type: HEAT
164             param_name: vdbe_aap_sec_untrusted_ip_prefix
165       type: string
166       description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
167     vnf_id:
168       hidden: false
169       immutable: false
170       annotations:
171         source:
172           type: org.openecomp.annotations.Source
173           properties:
174             vf_module_label:
175             - main
176             source_type: HEAT
177             param_name: vnf_id
178       type: string
179       description: Unique ID for this VF inst
180     vdbe_name_1:
181       hidden: false
182       immutable: false
183       annotations:
184         source:
185           type: org.openecomp.annotations.Source
186           properties:
187             vf_module_label:
188             - main
189             source_type: HEAT
190             param_name: vdbe_name_1
191       type: string
192       description: VM Name for this vdbe node 1
193     availability_zone_1:
194       hidden: false
195       immutable: false
196       annotations:
197         source:
198           type: org.openecomp.annotations.Source
199           properties:
200             vf_module_label:
201             - main
202             source_type: HEAT
203             param_name: availability_zone_1
204       type: string
205       description: The availability zone of secondary node1 vDBE vm in the local HA pair.
206     untrusted_vn_networks:
207       hidden: false
208       immutable: false
209       annotations:
210         source:
211           type: org.openecomp.annotations.Source
212           properties:
213             vf_module_label:
214             - main
215             source_type: HEAT
216             param_name: untrusted_vn_networks
217       type: list
218       description: List of subinterface virtual networks
219       entry_schema:
220         type: string
221     vdbe_image_name:
222       hidden: false
223       immutable: false
224       annotations:
225         source:
226           type: org.openecomp.annotations.Source
227           properties:
228             vf_module_label:
229             - main
230             source_type: HEAT
231             param_name: vdbe_image_name
232       type: string
233       description: Image to use for vDBE
234     oam_net_name:
235       hidden: false
236       immutable: false
237       annotations:
238         source:
239           type: org.openecomp.annotations.Source
240           properties:
241             vf_module_label:
242             - main
243             source_type: HEAT
244             param_name: oam_net_name
245       type: string
246       description: Name of NSDNet network from which the management IP addresses will be allocated
247     vdbe_aap_sec_untrusted_ip_prefix_len:
248       hidden: false
249       immutable: false
250       annotations:
251         source:
252           type: org.openecomp.annotations.Source
253           properties:
254             vf_module_label:
255             - main
256             source_type: HEAT
257             param_name: vdbe_aap_sec_untrusted_ip_prefix_len
258       type: string
259       description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
260     vdbe_aap_untrusted_v6_ip_prefix:
261       hidden: false
262       immutable: false
263       annotations:
264         source:
265           type: org.openecomp.annotations.Source
266           properties:
267             vf_module_label:
268             - main
269             source_type: HEAT
270             param_name: vdbe_aap_untrusted_v6_ip_prefix
271       type: string
272       description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
273     vdbe_aap_untrusted_v6_ip_prefix_len:
274       hidden: false
275       immutable: false
276       annotations:
277         source:
278           type: org.openecomp.annotations.Source
279           properties:
280             vf_module_label:
281             - main
282             source_type: HEAT
283             param_name: vdbe_aap_untrusted_v6_ip_prefix_len
284       type: string
285       description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
286     untrusted_vlan_tags:
287       hidden: false
288       immutable: false
289       annotations:
290         source:
291           type: org.openecomp.annotations.Source
292           properties:
293             vf_module_label:
294             - main
295             source_type: HEAT
296             param_name: untrusted_vlan_tags
297       type: list
298       description: List of subinterface vlan tags
299       entry_schema:
300         type: string
301     untr_network_collection_function:
302       type: string
303       required: true
304     untr_vfc_instance_group_function:
305       type: string
306       required: true
307     vdbe_flavor_name:
308       hidden: false
309       immutable: false
310       annotations:
311         source:
312           type: org.openecomp.annotations.Source
313           properties:
314             vf_module_label:
315             - main
316             source_type: HEAT
317             param_name: vdbe_flavor_name
318       type: string
319       description: Flavor to use for vDBE
320     counter:
321       hidden: false
322       immutable: false
323       annotations:
324         source:
325           type: org.openecomp.annotations.Source
326           properties:
327             vf_module_label:
328             - main
329             source_type: HEAT
330             param_name: counter
331       type: float
332       description: Counter.
333     vdbe_hw_untr_mac_1:
334       hidden: false
335       immutable: false
336       annotations:
337         source:
338           type: org.openecomp.annotations.Source
339           properties:
340             vf_module_label:
341             - main
342             source_type: HEAT
343             param_name: vdbe_hw_untr_mac_1
344       type: string
345       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
346     untrusted_net_name:
347       hidden: false
348       immutable: false
349       annotations:
350         source:
351           type: org.openecomp.annotations.Source
352           properties:
353             vf_module_label:
354             - main
355             source_type: HEAT
356             param_name: untrusted_net_name
357       type: string
358       description: Name of public untrusted network into which this vDBE HA cluster is deployed
359     vdbe_device_name:
360       hidden: false
361       immutable: false
362       annotations:
363         source:
364           type: org.openecomp.annotations.Source
365           properties:
366             vf_module_label:
367             - main
368             source_type: HEAT
369             param_name: vdbe_device_name
370       type: string
371       description: VDBE device Name for this vdbe VNF
372     vdbe_aap_untrusted_ip_prefix:
373       hidden: false
374       immutable: false
375       annotations:
376         source:
377           type: org.openecomp.annotations.Source
378           properties:
379             vf_module_label:
380             - main
381             source_type: HEAT
382             param_name: vdbe_aap_untrusted_ip_prefix
383       type: string
384       description: ip prefix for primary vDBE VM on the VAN untrusted network
385   node_templates:
386     control_int_net:
387       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
388       properties:
389         network_name:
390           str_replace:
391             template: VNF_NAME_control_net
392             params:
393               VNF_NAME:
394                 get_input: vnf_name
395     abstract_vdbe:
396       type: org.openecomp.resource.abstract.nodes.vdbe
397       directives:
398       - substitutable
399       properties:
400         subinterface_vdbe_untr_1_subports_ip_address:
401         - get_input: vdbe_untrusted_ip_1
402         subinterface_vdbe_untr_2_subports_aap_untrusted_ip_prefix:
403         - get_input: vdbe_aap_untrusted_ip_prefix
404         subinterface_vdbe_untr_1_subports_aap_untrusted_ip_prefix:
405         - get_input: vdbe_aap_untrusted_ip_prefix
406         subinterface_vdbe_untr_1_subports_aap_sec_untrusted_ip_prefix:
407         - get_input: vdbe_aap_sec_untrusted_ip_prefix
408         subinterface_vdbe_untr_2_subports_aap_untrusted_v6_ip_prefix:
409         - get_input: vdbe_aap_untrusted_v6_ip_prefix
410         compute_vdbe_availability_zone:
411         - get_input: availability_zone_1
412         subinterface_vdbe_untr_2_subports_aap_address_mode:
413         - get_input: aap_address_mode
414         vm_flavor_name:
415           get_input: vdbe_flavor_name
416         subinterface_vdbe_untr_2_subports_aap_untrusted_ip_prefix_len:
417         - get_input: vdbe_aap_untrusted_ip_prefix_len
418         subinterface_vdbe_untr_1_subports_mac_address:
419         - get_input: vdbe_hw_untr_mac_1
420         subinterface_vdbe_untr_1_subports_ip_v6_address:
421         - get_input: vdbe_untrusted_v6_ip_1
422         subinterface_vdbe_untr_1_subports_subinterfaces_name_prefix:
423         - str_replace:
424             template: VM_NAMEDBE001p1n004
425             params:
426               DBE:
427                 get_input: vdbe_device_name
428               VM_NAME:
429                 get_input: vdbe_name_1
430         vm_image_name:
431           get_input: vdbe_image_name
432         subinterface_vdbe_untr_1_subports_aap_untrusted_v6_ip_prefix_len:
433         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
434         compute_vdbe_metadata:
435         - vf_module_id:
436             get_input: vf_module_id
437           vnf_id:
438             get_input: vnf_id
439           vnf_name:
440             get_input: vnf_name
441         subinterface_vdbe_untr_2_subports_counter:
442         - get_input: counter
443         subinterface_vdbe_untr_2_subports_vmac_address:
444         - get_input: vdbe_untrusted_vmac_address
445         subinterface_vdbe_untr_1_subports_aap_address_mode:
446         - get_input: aap_address_mode
447         subinterface_vdbe_untr_2_subports_vlan_tag_list:
448         - get_input: untrusted_vlan_tags
449         port_vdbe_untr_port_mac_requirements:
450           mac_count_required:
451             is_required: false
452         subinterface_vdbe_untr_1_subports_parent_interface:
453         - vdbe_1_untr_port_1
454         subinterface_vdbe_untr_1_subports_vn_network_list:
455         - get_input: untrusted_vn_networks
456         port_vdbe_untr_port_name:
457         - str_replace:
458             template: VM_NAMEDBE001p1n004
459             params:
460               DBE:
461                 get_input: vdbe_device_name
462               VM_NAME:
463                 get_input: vdbe_name_1
464         subinterface_vdbe_untr_2_subports_ip_address:
465         - get_input: vdbe_untrusted_ip_1
466         subinterface_vdbe_untr_1_subports_vmac_address:
467         - get_input: vdbe_untrusted_vmac_address
468         subinterface_vdbe_untr_2_subports_subinterfaces_name_prefix:
469         - str_replace:
470             template: VM_NAMEDBE001p1n004
471             params:
472               DBE:
473                 get_input: vdbe_device_name
474               VM_NAME:
475                 get_input: vdbe_name_1
476         subinterface_vdbe_untr_2_subports_vn_network_list:
477         - get_input: untrusted_vn_networks
478         subinterface_vdbe_untr_1_subports_aap_untrusted_v6_ip_prefix:
479         - get_input: vdbe_aap_untrusted_v6_ip_prefix
480         subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix:
481         - get_input: vdbe_aap_sec_untrusted_ip_prefix
482         subinterface_vdbe_untr_2_subports_ip_v6_address:
483         - get_input: vdbe_untrusted_v6_ip_1
484         subinterface_vdbe_untr_2_subports_mac_address:
485         - get_input: vdbe_hw_untr_mac_1
486         subinterface_vdbe_untr_2_subports_aap_untrusted_v6_ip_prefix_len:
487         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
488         subinterface_vdbe_untr_1_subports_aap_untrusted_ip_prefix_len:
489         - get_input: vdbe_aap_untrusted_ip_prefix_len
490         subinterface_vdbe_untr_2_subports_parent_interface:
491         - vdbe_1_untr_port_1
492         compute_vdbe_name:
493         - get_input: vdbe_name_1
494         subinterface_vdbe_untr_1_subports_aap_sec_untrusted_ip_prefix_len:
495         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
496         subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix_len:
497         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
498         port_vdbe_untr_port_ip_requirements:
499         - ip_version: 4
500           ip_count_required:
501             is_required: false
502           floating_ip_count_required:
503             is_required: false
504         - ip_version: 6
505           ip_count_required:
506             is_required: false
507           floating_ip_count_required:
508             is_required: false
509         subinterface_vdbe_untr_1_subports_vlan_tag_list:
510         - get_input: untrusted_vlan_tags
511         service_template_filter:
512           substitute_service_template: Nested_vdbeServiceTemplate.yaml
513           count: 1
514         index_value:
515           get_property:
516           - SELF
517           - service_template_filter
518           - index_value
519   groups:
520     main_group:
521       type: org.openecomp.groups.heat.HeatStack
522       properties:
523         heat_file: ../Artifacts/main.yml
524         description: |
525           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
526       members:
527       - control_int_net
528       - abstract_vdbe
529     untr_group:
530       type: org.openecomp.groups.VfcInstanceGroup
531       properties:
532         vfc_parent_port_role: untr
533         network_collection_function:
534           get_input: untr_network_collection_function
535         vfc_instance_group_function:
536           get_input: untr_vfc_instance_group_function
537         subinterface_role: untr
538       members:
539       - abstract_vdbe