56f3113e61457eec9436111f207a00af5240371e
[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     abstract_vdbe_0:
387       type: org.openecomp.resource.abstract.nodes.vdbe
388       directives:
389       - substitutable
390       properties:
391         subinterface_nested_parent_interface:
392         - vdbe_1_untr_port_1
393         subinterface_nested_aap_address_mode:
394         - get_input: aap_address_mode
395         subinterface_nested_vlan_tag_list:
396         - get_input: untrusted_vlan_tags
397         compute_vdbe_availability_zone:
398         - get_input: availability_zone_1
399         subinterface_nested_aap_untrusted_v6_ip_prefix_len:
400         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
401         vm_flavor_name:
402           get_input: vdbe_flavor_name
403         subinterface_nested_aap_untrusted_ip_prefix:
404         - get_input: vdbe_aap_untrusted_ip_prefix
405         vm_image_name:
406           get_input: vdbe_image_name
407         subinterface_nested_aap_sec_untrusted_ip_prefix_len:
408         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
409         subinterface_nested_aap_sec_untrusted_ip_prefix:
410         - get_input: vdbe_aap_sec_untrusted_ip_prefix
411         subinterface_nested_aap_untrusted_v6_ip_prefix:
412         - get_input: vdbe_aap_untrusted_v6_ip_prefix
413         compute_vdbe_metadata:
414         - vf_module_id:
415             get_input: vf_module_id
416           vnf_id:
417             get_input: vnf_id
418           vnf_name:
419             get_input: vnf_name
420         subinterface_nested_mac_address:
421         - get_input: vdbe_hw_untr_mac_1
422         subinterface_nested_ip_address:
423         - get_input: vdbe_untrusted_ip_1
424         subinterface_nested_ip_v6_address:
425         - get_input: vdbe_untrusted_v6_ip_1
426         port_vdbe_untr_port_mac_requirements:
427           mac_count_required:
428             is_required: false
429         subinterface_nested_vmac_address:
430         - get_input: vdbe_untrusted_vmac_address
431         subinterface_nested_vn_network_list:
432         - get_input: untrusted_vn_networks
433         port_vdbe_untr_port_name:
434         - str_replace:
435             template: VM_NAMEDBE001p1n004
436             params:
437               DBE:
438                 get_input: vdbe_device_name
439               VM_NAME:
440                 get_input: vdbe_name_1
441         subinterface_nested_aap_untrusted_ip_prefix_len:
442         - get_input: vdbe_aap_untrusted_ip_prefix_len
443         subinterface_nested_counter:
444         - get_property:
445           - SELF
446           - service_template_filter
447           - index_value
448         subinterface_nested_subinterfaces_name_prefix:
449         - str_replace:
450             template: VM_NAMEDBE001p1n004
451             params:
452               DBE:
453                 get_input: vdbe_device_name
454               VM_NAME:
455                 get_input: vdbe_name_1
456         compute_vdbe_name:
457         - get_input: vdbe_name_1
458         port_vdbe_untr_port_ip_requirements:
459         - ip_version: 4
460           ip_count_required:
461             is_required: false
462           floating_ip_count_required:
463             is_required: false
464         - ip_version: 6
465           ip_count_required:
466             is_required: false
467           floating_ip_count_required:
468             is_required: false
469         service_template_filter:
470           substitute_service_template: Nested_vdbeServiceTemplate.yaml
471           count: 1
472         index_value:
473           get_property:
474           - SELF
475           - service_template_filter
476           - index_value
477     control_int_net:
478       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
479       properties:
480         network_name:
481           str_replace:
482             template: VNF_NAME_control_net
483             params:
484               VNF_NAME:
485                 get_input: vnf_name
486     abstract_vdbe_1:
487       type: org.openecomp.resource.abstract.nodes.vdbe
488       directives:
489       - substitutable
490       properties:
491         subinterface_nested_parent_interface:
492         - vdbe_2_untr_port_2
493         subinterface_nested_aap_address_mode:
494         - get_input: aap_address_mode
495         subinterface_nested_vlan_tag_list:
496         - get_input: untrusted_vlan_tags
497         compute_vdbe_availability_zone:
498         - get_input: availability_zone_1
499         subinterface_nested_aap_untrusted_v6_ip_prefix_len:
500         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
501         vm_flavor_name:
502           get_input: vdbe_flavor_name
503         subinterface_nested_aap_untrusted_ip_prefix:
504         - get_input: vdbe_aap_untrusted_ip_prefix
505         vm_image_name:
506           get_input: vdbe_image_name
507         subinterface_nested_aap_sec_untrusted_ip_prefix_len:
508         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
509         subinterface_nested_aap_sec_untrusted_ip_prefix:
510         - get_input: vdbe_aap_sec_untrusted_ip_prefix
511         subinterface_nested_aap_untrusted_v6_ip_prefix:
512         - get_input: vdbe_aap_untrusted_v6_ip_prefix
513         compute_vdbe_metadata:
514         - vf_module_id:
515             get_input: vf_module_id
516           vnf_id:
517             get_input: vnf_id
518           vnf_name:
519             get_input: vnf_name
520         subinterface_nested_mac_address:
521         - get_input: vdbe_hw_untr_mac_1
522         subinterface_nested_ip_address:
523         - get_input: vdbe_untrusted_ip_1
524         subinterface_nested_ip_v6_address:
525         - get_input: vdbe_untrusted_v6_ip_1
526         port_vdbe_untr_port_mac_requirements:
527           mac_count_required:
528             is_required: false
529         subinterface_nested_vmac_address:
530         - get_input: vdbe_untrusted_vmac_address
531         subinterface_nested_vn_network_list:
532         - get_input: untrusted_vn_networks
533         port_vdbe_untr_port_name:
534         - str_replace:
535             template: VM_NAMEDBE001p1n004
536             params:
537               DBE:
538                 get_input: vdbe_device_name
539               VM_NAME:
540                 get_input: vdbe_name_1
541         subinterface_nested_aap_untrusted_ip_prefix_len:
542         - get_input: vdbe_aap_untrusted_ip_prefix_len
543         subinterface_nested_counter:
544         - get_input: counter
545         subinterface_nested_subinterfaces_name_prefix:
546         - str_replace:
547             template: VM_NAMEDBE001p1n004
548             params:
549               DBE:
550                 get_input: vdbe_device_name
551               VM_NAME:
552                 get_input: vdbe_name_1
553         compute_vdbe_name:
554         - get_input: vdbe_name_1
555         port_vdbe_untr_port_ip_requirements:
556         - ip_version: 4
557           ip_count_required:
558             is_required: false
559           floating_ip_count_required:
560             is_required: false
561         - ip_version: 6
562           ip_count_required:
563             is_required: false
564           floating_ip_count_required:
565             is_required: false
566         service_template_filter:
567           substitute_service_template: Nested_vdbeServiceTemplate.yaml
568           count: 1
569         index_value:
570           get_property:
571           - SELF
572           - service_template_filter
573           - index_value
574   groups:
575     main_group:
576       type: org.openecomp.groups.heat.HeatStack
577       properties:
578         heat_file: ../Artifacts/main.yml
579         description: |
580           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
581       members:
582       - control_int_net
583       - abstract_vdbe_0
584       - abstract_vdbe_1
585     untr_group:
586       type: org.openecomp.groups.VfcInstanceGroup
587       properties:
588         vfc_parent_port_role: untr
589         network_collection_function:
590           get_input: untr_network_collection_function
591         vfc_instance_group_function:
592           get_input: untr_vfc_instance_group_function
593         subinterface_role: untr
594       members:
595       - abstract_vdbe_0
596       - abstract_vdbe_1