97275e472c2bf570b16d1ada0474434ed2d507d8
[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     oam_network_collection_function:
287       type: string
288       required: true
289     untrusted_vlan_tags:
290       hidden: false
291       immutable: false
292       annotations:
293         source:
294           type: org.openecomp.annotations.Source
295           properties:
296             vf_module_label:
297             - main
298             source_type: HEAT
299             param_name: untrusted_vlan_tags
300       type: list
301       description: List of subinterface vlan tags
302       entry_schema:
303         type: string
304     untr_network_collection_function:
305       type: string
306       required: true
307     untr_vfc_instance_group_function:
308       type: string
309       required: true
310     vdbe_flavor_name:
311       hidden: false
312       immutable: false
313       annotations:
314         source:
315           type: org.openecomp.annotations.Source
316           properties:
317             vf_module_label:
318             - main
319             source_type: HEAT
320             param_name: vdbe_flavor_name
321       type: string
322       description: Flavor to use for vDBE
323     counter:
324       hidden: false
325       immutable: false
326       annotations:
327         source:
328           type: org.openecomp.annotations.Source
329           properties:
330             vf_module_label:
331             - main
332             source_type: HEAT
333             param_name: counter
334       type: float
335       description: Counter.
336     oam_vfc_instance_group_function:
337       type: string
338       required: true
339     vdbe_hw_untr_mac_1:
340       hidden: false
341       immutable: false
342       annotations:
343         source:
344           type: org.openecomp.annotations.Source
345           properties:
346             vf_module_label:
347             - main
348             source_type: HEAT
349             param_name: vdbe_hw_untr_mac_1
350       type: string
351       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
352     untrusted_net_name:
353       hidden: false
354       immutable: false
355       annotations:
356         source:
357           type: org.openecomp.annotations.Source
358           properties:
359             vf_module_label:
360             - main
361             source_type: HEAT
362             param_name: untrusted_net_name
363       type: string
364       description: Name of public untrusted network into which this vDBE HA cluster is deployed
365     vdbe_device_name:
366       hidden: false
367       immutable: false
368       annotations:
369         source:
370           type: org.openecomp.annotations.Source
371           properties:
372             vf_module_label:
373             - main
374             source_type: HEAT
375             param_name: vdbe_device_name
376       type: string
377       description: VDBE device Name for this vdbe VNF
378     vdbe_aap_untrusted_ip_prefix:
379       hidden: false
380       immutable: false
381       annotations:
382         source:
383           type: org.openecomp.annotations.Source
384           properties:
385             vf_module_label:
386             - main
387             source_type: HEAT
388             param_name: vdbe_aap_untrusted_ip_prefix
389       type: string
390       description: ip prefix for primary vDBE VM on the VAN untrusted network
391   node_templates:
392     control_int_net:
393       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
394       properties:
395         network_name:
396           str_replace:
397             template: VNF_NAME_control_net
398             params:
399               VNF_NAME:
400                 get_input: vnf_name
401     abstract_vdbe_1:
402       type: org.openecomp.resource.abstract.nodes.vdbe_1
403       directives:
404       - substitutable
405       properties:
406         subinterface_nested2_subinterfaces_name_prefix:
407         - str_replace:
408             template: VM_NAMEDBE001p1n004
409             params:
410               DBE:
411                 get_input: vdbe_device_name
412               VM_NAME:
413                 get_input: vdbe_name_1
414         compute_vdbe_availability_zone:
415         - get_input: availability_zone_1
416         subinterface_nested2_aap_untrusted_v6_ip_prefix:
417         - get_input: vdbe_aap_untrusted_v6_ip_prefix
418         vm_flavor_name:
419           get_input: vdbe_flavor_name
420         subinterface_nested2_parent_interface:
421         - vdbe_2_untr_port_2
422         subinterface_nested2_aap_sec_untrusted_ip_prefix:
423         - get_input: vdbe_aap_sec_untrusted_ip_prefix
424         subinterface_nested2_vmac_address:
425         - get_input: vdbe_untrusted_vmac_address
426         vm_image_name:
427           get_input: vdbe_image_name
428         compute_vdbe_metadata:
429         - vf_module_id:
430             get_input: vf_module_id
431           vnf_id:
432             get_input: vnf_id
433           vnf_name:
434             get_input: vnf_name
435         subinterface_nested2_aap_sec_untrusted_ip_prefix_len:
436         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
437         subinterface_nested2_mac_address:
438         - get_input: vdbe_hw_untr_mac_1
439         port_vdbe_untr_port_mac_requirements:
440           mac_count_required:
441             is_required: false
442         subinterface_nested2_ip_address:
443         - get_input: vdbe_untrusted_ip_1
444         port_vdbe_untr_port_name:
445         - str_replace:
446             template: VM_NAMEDBE001p1n004
447             params:
448               DBE:
449                 get_input: vdbe_device_name
450               VM_NAME:
451                 get_input: vdbe_name_1
452         subinterface_nested2_vlan_tag_list:
453         - get_input: untrusted_vlan_tags
454         subinterface_nested2_aap_untrusted_ip_prefix_len:
455         - get_input: vdbe_aap_untrusted_ip_prefix_len
456         subinterface_nested2_counter:
457         - get_input: counter
458         subinterface_nested2_aap_untrusted_v6_ip_prefix_len:
459         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
460         subinterface_nested2_ip_v6_address:
461         - get_input: vdbe_untrusted_v6_ip_1
462         compute_vdbe_name:
463         - get_input: vdbe_name_1
464         subinterface_nested2_aap_untrusted_ip_prefix:
465         - get_input: vdbe_aap_untrusted_ip_prefix
466         subinterface_nested2_aap_address_mode:
467         - get_input: aap_address_mode
468         subinterface_nested2_vn_network_list:
469         - get_input: untrusted_vn_networks
470         port_vdbe_untr_port_ip_requirements:
471         - ip_version: 4
472           ip_count_required:
473             is_required: false
474           floating_ip_count_required:
475             is_required: false
476         - ip_version: 6
477           ip_count_required:
478             is_required: false
479           floating_ip_count_required:
480             is_required: false
481         service_template_filter:
482           substitute_service_template: Nested_vdbe_1ServiceTemplate.yaml
483           count: 1
484         index_value:
485           get_property:
486           - SELF
487           - service_template_filter
488           - index_value
489     abstract_vdbe:
490       type: org.openecomp.resource.abstract.nodes.vdbe
491       directives:
492       - substitutable
493       properties:
494         subinterface_nested1_aap_untrusted_v6_ip_prefix_len:
495         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
496         subinterface_nested1_aap_address_mode:
497         - get_input: aap_address_mode
498         subinterface_nested1_vn_network_list:
499         - get_input: untrusted_vn_networks
500         compute_vdbe_availability_zone:
501         - get_input: availability_zone_1
502         vm_flavor_name:
503           get_input: vdbe_flavor_name
504         vm_image_name:
505           get_input: vdbe_image_name
506         subinterface_nested1_vmac_address:
507         - get_input: vdbe_untrusted_vmac_address
508         subinterface_nested1_ip_address:
509         - get_input: vdbe_untrusted_ip_1
510         subinterface_nested1_subinterfaces_name_prefix:
511         - str_replace:
512             template: VM_NAMEDBE001p1n004
513             params:
514               DBE:
515                 get_input: vdbe_device_name
516               VM_NAME:
517                 get_input: vdbe_name_1
518         compute_vdbe_metadata:
519         - vf_module_id:
520             get_input: vf_module_id
521           vnf_id:
522             get_input: vnf_id
523           vnf_name:
524             get_input: vnf_name
525         subinterface_nested1_aap_untrusted_v6_ip_prefix:
526         - get_input: vdbe_aap_untrusted_v6_ip_prefix
527         subinterface_nested1_parent_interface:
528         - vdbe_1_untr_port_1
529         subinterface_nested1_aap_untrusted_ip_prefix_len:
530         - get_input: vdbe_aap_untrusted_ip_prefix_len
531         subinterface_nested1_ip_v6_address:
532         - get_input: vdbe_untrusted_v6_ip_1
533         port_vdbe_untr_port_mac_requirements:
534           mac_count_required:
535             is_required: false
536         port_vdbe_untr_port_name:
537         - str_replace:
538             template: VM_NAMEDBE001p1n004
539             params:
540               DBE:
541                 get_input: vdbe_device_name
542               VM_NAME:
543                 get_input: vdbe_name_1
544         subinterface_nested1_mac_address:
545         - get_input: vdbe_hw_untr_mac_1
546         subinterface_nested1_aap_untrusted_ip_prefix:
547         - get_input: vdbe_aap_untrusted_ip_prefix
548         subinterface_nested1_aap_sec_untrusted_ip_prefix_len:
549         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
550         subinterface_nested1_vlan_tag_list:
551         - get_input: untrusted_vlan_tags
552         compute_vdbe_name:
553         - get_input: vdbe_name_1
554         subinterface_nested1_aap_sec_untrusted_ip_prefix:
555         - get_input: vdbe_aap_sec_untrusted_ip_prefix
556         port_vdbe_untr_port_ip_requirements:
557         - ip_version: 4
558           ip_count_required:
559             is_required: false
560           floating_ip_count_required:
561             is_required: false
562         - ip_version: 6
563           ip_count_required:
564             is_required: false
565           floating_ip_count_required:
566             is_required: false
567         service_template_filter:
568           substitute_service_template: Nested_vdbeServiceTemplate.yaml
569           count: 1
570         index_value:
571           get_property:
572           - SELF
573           - service_template_filter
574           - index_value
575   groups:
576     main_group:
577       type: org.openecomp.groups.heat.HeatStack
578       properties:
579         heat_file: ../Artifacts/main.yml
580         description: |
581           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
582       members:
583       - control_int_net
584       - abstract_vdbe
585       - abstract_vdbe_1
586     untr_group:
587       type: org.openecomp.groups.VfcInstanceGroup
588       properties:
589         vfc_parent_port_role: untr
590         network_collection_function:
591           get_input: untr_network_collection_function
592         vfc_instance_group_function:
593           get_input: untr_vfc_instance_group_function
594         subinterface_role: untr
595       members:
596       - abstract_vdbe
597     oam_group:
598       type: org.openecomp.groups.VfcInstanceGroup
599       properties:
600         vfc_parent_port_role: untr
601         network_collection_function:
602           get_input: oam_network_collection_function
603         vfc_instance_group_function:
604           get_input: oam_vfc_instance_group_function
605         subinterface_role: oam
606       members:
607       - abstract_vdbe_1