9247ae594363fc5c17ada05365ee3049bc2099b5
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0\r
2 metadata:\r
3   template_name: Main\r
4 imports:\r
5 - openecomp_heat_index:\r
6     file: openecomp-heat/_index.yml\r
7 - GlobalSubstitutionTypes:\r
8     file: GlobalSubstitutionTypesServiceTemplate.yaml\r
9 topology_template:\r
10   inputs:\r
11     vf_module_id:\r
12       hidden: false\r
13       immutable: false\r
14       annotations:\r
15         source:\r
16           type: org.openecomp.annotations.Source\r
17           properties:\r
18             vf_module_label:\r
19             - main\r
20             source_type: HEAT\r
21             param_name: vf_module_id\r
22       type: string\r
23       description: Unique ID for this VF module inst\r
24     fabric_int_net_rpf:\r
25       hidden: false\r
26       immutable: false\r
27       annotations:\r
28         source:\r
29           type: org.openecomp.annotations.Source\r
30           properties:\r
31             vf_module_label:\r
32             - main\r
33             source_type: HEAT\r
34             param_name: fabric_int_net_rpf\r
35       type: string\r
36       description: Reverse Path Filtering enable or disable for the fabric virtual network\r
37     control_int_net_rpf:\r
38       hidden: false\r
39       immutable: false\r
40       annotations:\r
41         source:\r
42           type: org.openecomp.annotations.Source\r
43           properties:\r
44             vf_module_label:\r
45             - main\r
46             source_type: HEAT\r
47             param_name: control_int_net_rpf\r
48       type: string\r
49       description: Reverse Path Filtering enable or disable for the control virtual network\r
50     control_int_net_forwarding_mode:\r
51       hidden: false\r
52       immutable: false\r
53       annotations:\r
54         source:\r
55           type: org.openecomp.annotations.Source\r
56           properties:\r
57             vf_module_label:\r
58             - main\r
59             source_type: HEAT\r
60             param_name: control_int_net_forwarding_mode\r
61       type: string\r
62       description: forwarding mode of the control virtual network\r
63     vnf_name:\r
64       hidden: false\r
65       immutable: false\r
66       annotations:\r
67         source:\r
68           type: org.openecomp.annotations.Source\r
69           properties:\r
70             vf_module_label:\r
71             - main\r
72             source_type: HEAT\r
73             param_name: vnf_name\r
74       type: string\r
75       description: Unique name for this VF instance\r
76     vdbe_untrusted_ip_1:\r
77       hidden: false\r
78       immutable: false\r
79       annotations:\r
80         source:\r
81           type: org.openecomp.annotations.Source\r
82           properties:\r
83             vf_module_label:\r
84             - main\r
85             source_type: HEAT\r
86             param_name: vdbe_untrusted_ip_1\r
87       type: string\r
88       description: IPV4 address of the secondary vDBE VM on the VAN untrusted network\r
89     vdbe_aap_untrusted_ip_prefix_len:\r
90       hidden: false\r
91       immutable: false\r
92       annotations:\r
93         source:\r
94           type: org.openecomp.annotations.Source\r
95           properties:\r
96             vf_module_label:\r
97             - main\r
98             source_type: HEAT\r
99             param_name: vdbe_aap_untrusted_ip_prefix_len\r
100       type: string\r
101       description: ip prefix length for the primary vDBE VM on the VAN untrusted network\r
102     aap_address_mode:\r
103       hidden: false\r
104       immutable: false\r
105       annotations:\r
106         source:\r
107           type: org.openecomp.annotations.Source\r
108           properties:\r
109             vf_module_label:\r
110             - main\r
111             source_type: HEAT\r
112             param_name: aap_address_mode\r
113       type: string\r
114       description: Address mode for the vDBE cluster IP\r
115     control_int_net_shared:\r
116       hidden: false\r
117       immutable: false\r
118       annotations:\r
119         source:\r
120           type: org.openecomp.annotations.Source\r
121           properties:\r
122             vf_module_label:\r
123             - main\r
124             source_type: HEAT\r
125             param_name: control_int_net_shared\r
126       type: boolean\r
127       description: control virtual network shared\r
128     vdbe_untrusted_v6_ip_1:\r
129       hidden: false\r
130       immutable: false\r
131       annotations:\r
132         source:\r
133           type: org.openecomp.annotations.Source\r
134           properties:\r
135             vf_module_label:\r
136             - main\r
137             source_type: HEAT\r
138             param_name: vdbe_untrusted_v6_ip_1\r
139       type: string\r
140       description: IPV6 address of the secondary vDBE VM on the VAN untrusted network\r
141     vdbe_untrusted_vmac_address:\r
142       hidden: false\r
143       immutable: false\r
144       annotations:\r
145         source:\r
146           type: org.openecomp.annotations.Source\r
147           properties:\r
148             vf_module_label:\r
149             - main\r
150             source_type: HEAT\r
151             param_name: vdbe_untrusted_vmac_address\r
152       type: string\r
153       description: Virtual MAC of the primary vDBE VM on the VAN untrusted network\r
154     control_int_net_flood_unknown_unicast:\r
155       hidden: false\r
156       immutable: false\r
157       annotations:\r
158         source:\r
159           type: org.openecomp.annotations.Source\r
160           properties:\r
161             vf_module_label:\r
162             - main\r
163             source_type: HEAT\r
164             param_name: control_int_net_flood_unknown_unicast\r
165       type: boolean\r
166       description: forwarding mode of the control virtual network\r
167     vdbe_aap_sec_untrusted_ip_prefix:\r
168       hidden: false\r
169       immutable: false\r
170       annotations:\r
171         source:\r
172           type: org.openecomp.annotations.Source\r
173           properties:\r
174             vf_module_label:\r
175             - main\r
176             source_type: HEAT\r
177             param_name: vdbe_aap_sec_untrusted_ip_prefix\r
178       type: string\r
179       description: ip prefix for secondary vDBE VM aap on the VAN untrusted network\r
180     vnf_id:\r
181       hidden: false\r
182       immutable: false\r
183       annotations:\r
184         source:\r
185           type: org.openecomp.annotations.Source\r
186           properties:\r
187             vf_module_label:\r
188             - main\r
189             source_type: HEAT\r
190             param_name: vnf_id\r
191       type: string\r
192       description: Unique ID for this VF inst\r
193     vdbe_name_1:\r
194       hidden: false\r
195       immutable: false\r
196       annotations:\r
197         source:\r
198           type: org.openecomp.annotations.Source\r
199           properties:\r
200             vf_module_label:\r
201             - main\r
202             source_type: HEAT\r
203             param_name: vdbe_name_1\r
204       type: string\r
205       description: VM Name for this vdbe node 1\r
206     availability_zone_1:\r
207       hidden: false\r
208       immutable: false\r
209       annotations:\r
210         source:\r
211           type: org.openecomp.annotations.Source\r
212           properties:\r
213             vf_module_label:\r
214             - main\r
215             source_type: HEAT\r
216             param_name: availability_zone_1\r
217       type: string\r
218       description: The availability zone of secondary node1 vDBE vm in the local HA pair.\r
219     untrusted_vn_networks:\r
220       hidden: false\r
221       immutable: false\r
222       annotations:\r
223         source:\r
224           type: org.openecomp.annotations.Source\r
225           properties:\r
226             vf_module_label:\r
227             - main\r
228             source_type: HEAT\r
229             param_name: untrusted_vn_networks\r
230       type: list\r
231       description: List of subinterface virtual networks\r
232       entry_schema:\r
233         type: string\r
234     vdbe_image_name:\r
235       hidden: false\r
236       immutable: false\r
237       annotations:\r
238         source:\r
239           type: org.openecomp.annotations.Source\r
240           properties:\r
241             vf_module_label:\r
242             - main\r
243             source_type: HEAT\r
244             param_name: vdbe_image_name\r
245       type: string\r
246       description: Image to use for vDBE\r
247     oam_net_name:\r
248       hidden: false\r
249       immutable: false\r
250       annotations:\r
251         source:\r
252           type: org.openecomp.annotations.Source\r
253           properties:\r
254             vf_module_label:\r
255             - main\r
256             source_type: HEAT\r
257             param_name: oam_net_name\r
258       type: string\r
259       description: Name of NSDNet network from which the management IP addresses will be allocated\r
260     vdbe_aap_sec_untrusted_ip_prefix_len:\r
261       hidden: false\r
262       immutable: false\r
263       annotations:\r
264         source:\r
265           type: org.openecomp.annotations.Source\r
266           properties:\r
267             vf_module_label:\r
268             - main\r
269             source_type: HEAT\r
270             param_name: vdbe_aap_sec_untrusted_ip_prefix_len\r
271       type: string\r
272       description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network\r
273     vdbe_aap_untrusted_v6_ip_prefix:\r
274       hidden: false\r
275       immutable: false\r
276       annotations:\r
277         source:\r
278           type: org.openecomp.annotations.Source\r
279           properties:\r
280             vf_module_label:\r
281             - main\r
282             source_type: HEAT\r
283             param_name: vdbe_aap_untrusted_v6_ip_prefix\r
284       type: string\r
285       description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network\r
286     vdbe_aap_untrusted_v6_ip_prefix_len:\r
287       hidden: false\r
288       immutable: false\r
289       annotations:\r
290         source:\r
291           type: org.openecomp.annotations.Source\r
292           properties:\r
293             vf_module_label:\r
294             - main\r
295             source_type: HEAT\r
296             param_name: vdbe_aap_untrusted_v6_ip_prefix_len\r
297       type: string\r
298       description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network\r
299     fabric_int_net_flood_unknown_unicast:\r
300       hidden: false\r
301       immutable: false\r
302       annotations:\r
303         source:\r
304           type: org.openecomp.annotations.Source\r
305           properties:\r
306             vf_module_label:\r
307             - main\r
308             source_type: HEAT\r
309             param_name: fabric_int_net_flood_unknown_unicast\r
310       type: boolean\r
311       description: forwarding mode of the fabric virtual network\r
312     untrusted_vlan_tags:\r
313       hidden: false\r
314       immutable: false\r
315       annotations:\r
316         source:\r
317           type: org.openecomp.annotations.Source\r
318           properties:\r
319             vf_module_label:\r
320             - main\r
321             source_type: HEAT\r
322             param_name: untrusted_vlan_tags\r
323       type: list\r
324       description: List of subinterface vlan tags\r
325       entry_schema:\r
326         type: string\r
327     vdbe_flavor_name:\r
328       hidden: false\r
329       immutable: false\r
330       annotations:\r
331         source:\r
332           type: org.openecomp.annotations.Source\r
333           properties:\r
334             vf_module_label:\r
335             - main\r
336             source_type: HEAT\r
337             param_name: vdbe_flavor_name\r
338       type: string\r
339       description: Flavor to use for vDBE\r
340     counter:\r
341       hidden: false\r
342       immutable: false\r
343       annotations:\r
344         source:\r
345           type: org.openecomp.annotations.Source\r
346           properties:\r
347             vf_module_label:\r
348             - main\r
349             source_type: HEAT\r
350             param_name: counter\r
351       type: float\r
352       description: Counter.\r
353     fabric_int_net_forwarding_mode:\r
354       hidden: false\r
355       immutable: false\r
356       annotations:\r
357         source:\r
358           type: org.openecomp.annotations.Source\r
359           properties:\r
360             vf_module_label:\r
361             - main\r
362             source_type: HEAT\r
363             param_name: fabric_int_net_forwarding_mode\r
364       type: string\r
365       description: forwarding mode of the fabric virtual network\r
366     fabric_int_net_shared:\r
367       hidden: false\r
368       immutable: false\r
369       annotations:\r
370         source:\r
371           type: org.openecomp.annotations.Source\r
372           properties:\r
373             vf_module_label:\r
374             - main\r
375             source_type: HEAT\r
376             param_name: fabric_int_net_shared\r
377       description: fabric virtual network shared\r
378     vdbe_hw_untr_mac_1:\r
379       hidden: false\r
380       immutable: false\r
381       annotations:\r
382         source:\r
383           type: org.openecomp.annotations.Source\r
384           properties:\r
385             vf_module_label:\r
386             - main\r
387             source_type: HEAT\r
388             param_name: vdbe_hw_untr_mac_1\r
389       type: string\r
390       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network\r
391     untrusted_net_name:\r
392       hidden: false\r
393       immutable: false\r
394       annotations:\r
395         source:\r
396           type: org.openecomp.annotations.Source\r
397           properties:\r
398             vf_module_label:\r
399             - main\r
400             source_type: HEAT\r
401             param_name: untrusted_net_name\r
402       type: string\r
403       description: Name of public untrusted network into which this vDBE HA cluster is deployed\r
404     vdbe_device_name:\r
405       hidden: false\r
406       immutable: false\r
407       annotations:\r
408         source:\r
409           type: org.openecomp.annotations.Source\r
410           properties:\r
411             vf_module_label:\r
412             - main\r
413             source_type: HEAT\r
414             param_name: vdbe_device_name\r
415       type: string\r
416       description: VDBE device Name for this vdbe VNF\r
417     vdbe_aap_untrusted_ip_prefix:\r
418       hidden: false\r
419       immutable: false\r
420       annotations:\r
421         source:\r
422           type: org.openecomp.annotations.Source\r
423           properties:\r
424             vf_module_label:\r
425             - main\r
426             source_type: HEAT\r
427             param_name: vdbe_aap_untrusted_ip_prefix\r
428       type: string\r
429       description: ip prefix for primary vDBE VM on the VAN untrusted network\r
430   node_templates:\r
431     fabric_int_net:\r
432       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork\r
433       properties:\r
434         network_name:\r
435           str_replace:\r
436             template: template-fabric-int\r
437             params:\r
438               VNF_NAME:\r
439                 get_input: vnf_name\r
440     control_int_net:\r
441       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork\r
442       properties:\r
443         network_name:\r
444           str_replace:\r
445             template: VNF_NAME_control_net\r
446             params:\r
447               VNF_NAME:\r
448                 get_input: vnf_name\r
449     abstract_vdbe:\r
450       type: org.openecomp.resource.abstract.nodes.vdbe\r
451       directives:\r
452       - substitutable\r
453       properties:\r
454         subinterface_vlan1_aap_untrusted_v6_ip_prefix:\r
455         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
456         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
457         subinterface_vlan1_aap_sec_untrusted_ip_prefix:\r
458         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
459         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
460         subinterface_vlan1_vmac_address:\r
461         - get_input: vdbe_untrusted_vmac_address\r
462         - get_input: vdbe_untrusted_vmac_address\r
463         compute_vdbe_availability_zone:\r
464         - get_input: availability_zone_1\r
465         - get_input: availability_zone_1\r
466         port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:\r
467         - - get_input: vdbe_hw_untr_mac_1\r
468         - - get_input: vdbe_hw_untr_mac_1\r
469         vm_flavor_name:\r
470           get_input: vdbe_flavor_name\r
471         subinterface_vlan1_counter:\r
472         - get_input: counter\r
473         - get_input: counter\r
474         subinterface_vlan2_aap_untrusted_v6_ip_prefix:\r
475         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
476         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
477         vm_image_name:\r
478           get_input: vdbe_image_name\r
479         compute_vdbe_metadata:\r
480         - vf_module_id:\r
481             get_input: vf_module_id\r
482           vnf_id:\r
483             get_input: vnf_id\r
484           vnf_name:\r
485             get_input: vnf_name\r
486         - vf_module_id:\r
487             get_input: vf_module_id\r
488           vnf_id:\r
489             get_input: vnf_id\r
490           vnf_name:\r
491             get_input: vnf_name\r
492         subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:\r
493         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
494         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
495         subinterface_vlan2_ip_address:\r
496         - get_input: vdbe_untrusted_ip_1\r
497         - get_input: vdbe_untrusted_ip_1\r
498         subinterface_vlan2_ip_v6_address:\r
499         - get_input: vdbe_untrusted_v6_ip_1\r
500         - get_input: vdbe_untrusted_v6_ip_1\r
501         subinterface_vlan2_parent_interface:\r
502         - vdbe_untr_2_port_1\r
503         - vdbe_untr_2_port_2\r
504         subinterface_vlan2_aap_address_mode:\r
505         - get_input: aap_address_mode\r
506         - get_input: aap_address_mode\r
507         subinterface_vlan1_mac_address:\r
508         - get_input: vdbe_hw_untr_mac_1\r
509         - get_input: vdbe_hw_untr_mac_1\r
510         subinterface_vlan2_mac_address:\r
511         - get_input: vdbe_hw_untr_mac_1\r
512         - get_input: vdbe_hw_untr_mac_1\r
513         subinterface_vlan1_aap_untrusted_ip_prefix_len:\r
514         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
515         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
516         subinterface_vlan1_ip_address:\r
517         - get_input: vdbe_untrusted_ip_1\r
518         - get_input: vdbe_untrusted_ip_1\r
519         subinterface_vlan2_aap_sec_untrusted_ip_prefix:\r
520         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
521         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
522         compute_vdbe_name:\r
523         - get_input: vdbe_name_1\r
524         - get_input: vdbe_name_1\r
525         subinterface_vlan2_aap_untrusted_ip_prefix:\r
526         - get_input: vdbe_aap_untrusted_ip_prefix\r
527         - get_input: vdbe_aap_untrusted_ip_prefix\r
528         subinterface_vlan1_ip_v6_address:\r
529         - get_input: vdbe_untrusted_v6_ip_1\r
530         - get_input: vdbe_untrusted_v6_ip_1\r
531         subinterface_vlan2_vmac_address:\r
532         - get_input: vdbe_untrusted_vmac_address\r
533         - get_input: vdbe_untrusted_vmac_address\r
534         subinterface_vlan1_aap_untrusted_ip_prefix:\r
535         - get_input: vdbe_aap_untrusted_ip_prefix\r
536         - get_input: vdbe_aap_untrusted_ip_prefix\r
537         port_vdbe_untr_2_port_virtual_network_refs:\r
538         - - fabric_int_net\r
539         - - fabric_int_net\r
540         subinterface_vlan2_vn_network_list:\r
541         - fabric_int_net\r
542         - fabric_int_net\r
543         subinterface_vlan1_subinterfaces_name_prefix:\r
544         - str_replace:\r
545             template: VM_NAMEDBE001p1n004\r
546             params:\r
547               DBE:\r
548                 get_input: vdbe_device_name\r
549               VM_NAME:\r
550                 get_input: vdbe_name_1\r
551         - str_replace:\r
552             template: VM_NAMEDBE001p1n004\r
553             params:\r
554               DBE:\r
555                 get_input: vdbe_device_name\r
556               VM_NAME:\r
557                 get_input: vdbe_name_1\r
558         port_vdbe_untr_2_port_name:\r
559         - Port_2\r
560         - Port_4\r
561         port_vdbe_untr_1_port_virtual_network_refs:\r
562         - - control_int_net\r
563         - - control_int_net\r
564         subinterface_vlan2_vlan_tag_list:\r
565         - get_input: untrusted_vlan_tags\r
566         - get_input: untrusted_vlan_tags\r
567         subinterface_vlan1_vn_network_list:\r
568         - get_input: untrusted_vn_networks\r
569         - get_input: untrusted_vn_networks\r
570         subinterface_vlan2_aap_sec_untrusted_ip_prefix_len:\r
571         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
572         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
573         subinterface_vlan2_counter:\r
574         - get_input: counter\r
575         - get_input: counter\r
576         subinterface_vlan1_parent_interface:\r
577         - vdbe_untr_1_port_1\r
578         - vdbe_untr_1_port_2\r
579         subinterface_vlan1_aap_address_mode:\r
580         - get_input: aap_address_mode\r
581         - get_input: aap_address_mode\r
582         subinterface_vlan2_aap_untrusted_ip_prefix_len:\r
583         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
584         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
585         subinterface_vlan2_subinterfaces_name_prefix:\r
586         - str_replace:\r
587             template: VM_NAMEDBE001p1n004\r
588             params:\r
589               DBE:\r
590                 get_input: vdbe_device_name\r
591               VM_NAME:\r
592                 get_input: vdbe_name_1\r
593         - str_replace:\r
594             template: VM_NAMEDBE001p1n004\r
595             params:\r
596               DBE:\r
597                 get_input: vdbe_device_name\r
598               VM_NAME:\r
599                 get_input: vdbe_name_1\r
600         subinterface_vlan2_aap_untrusted_v6_ip_prefix_len:\r
601         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
602         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
603         port_vdbe_untr_1_port_name:\r
604         - str_replace:\r
605             template: VM_NAMEDBE001p1n004\r
606             params:\r
607               DBE:\r
608                 get_input: vdbe_device_name\r
609               VM_NAME:\r
610                 get_input: vdbe_name_1\r
611         - str_replace:\r
612             template: Port 3\r
613             params:\r
614               DBE:\r
615                 get_input: vdbe_device_name\r
616               VM_NAME:\r
617                 get_input: vdbe_name_1\r
618         subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:\r
619         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
620         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
621         port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:\r
622         - - get_input: vdbe_hw_untr_mac_1\r
623         - - get_input: vdbe_hw_untr_mac_1\r
624         subinterface_vlan1_vlan_tag_list:\r
625         - get_input: untrusted_vlan_tags\r
626         - get_input: untrusted_vlan_tags\r
627         service_template_filter:\r
628           substitute_service_template: Nested_vdbeServiceTemplate.yaml\r
629           count: 2\r
630         index_value:\r
631           get_property:\r
632           - SELF\r
633           - service_template_filter\r
634           - index_value\r
635       requirements:\r
636       - link_vdbe_vdbe_untr_1_port:\r
637           capability: tosca.capabilities.network.Linkable\r
638           node: control_int_net\r
639           relationship: tosca.relationships.network.LinksTo\r
640       - link_vdbe_vdbe_untr_2_port:\r
641           capability: tosca.capabilities.network.Linkable\r
642           node: fabric_int_net\r
643           relationship: tosca.relationships.network.LinksTo\r
644       - link_vdbe_untr_x_vlan2-Network-Role_vmi_subport_another_vdbe_vdbe_untr_2_port_vlan2:\r
645           capability: tosca.capabilities.network.Linkable\r
646           node: fabric_int_net\r
647           relationship: tosca.relationships.network.LinksTo\r
648   groups:\r
649     main_group:\r
650       type: org.openecomp.groups.heat.HeatStack\r
651       properties:\r
652         heat_file: ../Artifacts/main.yml\r
653         description: |\r
654           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)\r
655       members:\r
656       - fabric_int_net\r
657       - control_int_net\r
658       - abstract_vdbe\r