7701a8128255ebd5265f9ece0de97a2b1960cdad
[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:\r
437               get_attribute:\r
438               - abstract_vdbe\r
439               - vdbe_vdbe_untr_1_port_vlan1_vlan_tag_list\r
440             params:\r
441               VNF_NAME:\r
442                 get_input: vnf_name\r
443     control_int_net:\r
444       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork\r
445       properties:\r
446         network_name:\r
447           str_replace:\r
448             template: VNF_NAME_control_net\r
449             params:\r
450               VNF_NAME:\r
451                 get_input: vnf_name\r
452     abstract_vdbe:\r
453       type: org.openecomp.resource.abstract.nodes.vdbe\r
454       directives:\r
455       - substitutable\r
456       properties:\r
457         subinterface_vlan1_aap_untrusted_v6_ip_prefix:\r
458         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
459         subinterface_vlan1_aap_sec_untrusted_ip_prefix:\r
460         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
461         subinterface_vlan1_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         port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses:\r
466         - - get_input: vdbe_hw_untr_mac_1\r
467         vm_flavor_name:\r
468           get_input: vdbe_flavor_name\r
469         subinterface_vlan1_counter:\r
470         - get_input: counter\r
471         subinterface_vlan2_aap_untrusted_v6_ip_prefix:\r
472         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
473         vm_image_name:\r
474           get_input: vdbe_image_name\r
475         compute_vdbe_metadata:\r
476         - vf_module_id:\r
477             get_input: vf_module_id\r
478           vnf_id:\r
479             get_input: vnf_id\r
480           vnf_name:\r
481             get_input: vnf_name\r
482         subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:\r
483         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
484         subinterface_vlan2_ip_address:\r
485         - get_input: vdbe_untrusted_ip_1\r
486         subinterface_vlan2_ip_v6_address:\r
487         - get_input: vdbe_untrusted_v6_ip_1\r
488         subinterface_vlan2_parent_interface:\r
489         - vdbe_untr_2_port\r
490         subinterface_vlan2_aap_address_mode:\r
491         - get_input: aap_address_mode\r
492         subinterface_vlan1_mac_address:\r
493         - get_input: vdbe_hw_untr_mac_1\r
494         subinterface_vlan2_mac_address:\r
495         - get_input: vdbe_hw_untr_mac_1\r
496         subinterface_vlan1_aap_untrusted_ip_prefix_len:\r
497         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
498         subinterface_vlan1_ip_address:\r
499         - get_input: vdbe_untrusted_ip_1\r
500         subinterface_vlan2_aap_sec_untrusted_ip_prefix:\r
501         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
502         compute_vdbe_name:\r
503         - get_input: vdbe_name_1\r
504         subinterface_vlan2_aap_untrusted_ip_prefix:\r
505         - get_input: vdbe_aap_untrusted_ip_prefix\r
506         subinterface_vlan1_ip_v6_address:\r
507         - get_input: vdbe_untrusted_v6_ip_1\r
508         subinterface_vlan2_vmac_address:\r
509         - get_input: vdbe_untrusted_vmac_address\r
510         subinterface_vlan1_aap_untrusted_ip_prefix:\r
511         - get_input: vdbe_aap_untrusted_ip_prefix\r
512         port_vdbe_untr_2_port_virtual_network_refs:\r
513         - - fabric_int_net\r
514         subinterface_vlan2_vn_network_list:\r
515         - fabric_int_net\r
516         subinterface_vlan1_subinterfaces_name_prefix:\r
517         - str_replace:\r
518             template: VM_NAMEDBE001p1n004\r
519             params:\r
520               DBE:\r
521                 get_input: vdbe_device_name\r
522               VM_NAME:\r
523                 get_input: vdbe_name_1\r
524         port_vdbe_untr_2_port_name:\r
525         - Port_2\r
526         port_vdbe_untr_1_port_virtual_network_refs:\r
527         - - control_int_net\r
528         subinterface_vlan2_vlan_tag_list:\r
529         - get_input: untrusted_vlan_tags\r
530         subinterface_vlan1_vn_network_list:\r
531         - get_input: untrusted_vn_networks\r
532         subinterface_vlan2_aap_sec_untrusted_ip_prefix_len:\r
533         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
534         subinterface_vlan2_counter:\r
535         - get_input: counter\r
536         subinterface_vlan1_parent_interface:\r
537         - vdbe_untr_1_port\r
538         subinterface_vlan1_aap_address_mode:\r
539         - get_attribute:\r
540           - fabric_int_net\r
541           - network_name\r
542         subinterface_vlan2_aap_untrusted_ip_prefix_len:\r
543         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
544         subinterface_vlan2_subinterfaces_name_prefix:\r
545         - str_replace:\r
546             template: VM_NAMEDBE001p1n004\r
547             params:\r
548               DBE:\r
549                 get_input: vdbe_device_name\r
550               VM_NAME:\r
551                 get_input: vdbe_name_1\r
552         subinterface_vlan2_aap_untrusted_v6_ip_prefix_len:\r
553         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
554         port_vdbe_untr_1_port_name:\r
555         - str_replace:\r
556             template: VM_NAMEDBE001p1n004\r
557             params:\r
558               DBE:\r
559                 get_input: vdbe_device_name\r
560               VM_NAME:\r
561                 get_input: vdbe_name_1\r
562         subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:\r
563         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
564         port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:\r
565         - - get_input: vdbe_hw_untr_mac_1\r
566         subinterface_vlan1_vlan_tag_list:\r
567         - get_input: untrusted_vlan_tags\r
568         service_template_filter:\r
569           substitute_service_template: Nested_vdbeServiceTemplate.yaml\r
570           count: 1\r
571         index_value:\r
572           get_property:\r
573           - SELF\r
574           - service_template_filter\r
575           - index_value\r
576       requirements:\r
577       - link_vdbe_vdbe_untr_1_port:\r
578           capability: tosca.capabilities.network.Linkable\r
579           node: control_int_net\r
580           relationship: tosca.relationships.network.LinksTo\r
581       - link_vdbe_vdbe_untr_2_port:\r
582           capability: tosca.capabilities.network.Linkable\r
583           node: fabric_int_net\r
584           relationship: tosca.relationships.network.LinksTo\r
585       - link_vdbe_untr_x_subport_another_vdbe_vdbe_untr_2_port_vlan2:\r
586           capability: tosca.capabilities.network.Linkable\r
587           node: fabric_int_net\r
588           relationship: tosca.relationships.network.LinksTo\r
589   groups:\r
590     main_group:\r
591       type: org.openecomp.groups.heat.HeatStack\r
592       properties:\r
593         heat_file: ../Artifacts/main.yml\r
594         description: |\r
595           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)\r
596       members:\r
597       - fabric_int_net\r
598       - control_int_net\r
599       - abstract_vdbe\r