6fd7b7bc2414b36eaa35f7797b7ded754b0188cb
[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     control_int_net_rpf:\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: control_int_net_rpf\r
22       type: string\r
23       description: Reverse Path Filtering enable or disable for the control virtual network\r
24     control_int_net_forwarding_mode:\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: control_int_net_forwarding_mode\r
35       type: string\r
36       description: forwarding mode of the control virtual network\r
37     vnf_name_1:\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: vnf_name_1\r
48       type: string\r
49       description: Unique name for this VF instance\r
50     vnf_name_2:\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: vnf_name_2\r
61       type: string\r
62       description: Unique name for this VF instance\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     vnf_id_1:\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: vnf_id_1\r
113       type: string\r
114       description: Unique ID for this VF inst\r
115     vnf_id_2:\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: vnf_id_2\r
126       type: string\r
127       description: Unique ID for this VF inst\r
128     untrusted_num_vn:\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: untrusted_num_vn\r
139       type: float\r
140       description: Number of vDBE subinterface virtual Networks\r
141       constraints:\r
142       - in_range:\r
143         - 1\r
144         - 77\r
145     aap_address_mode:\r
146       hidden: false\r
147       immutable: false\r
148       annotations:\r
149         source:\r
150           type: org.openecomp.annotations.Source\r
151           properties:\r
152             vf_module_label:\r
153             - main\r
154             source_type: HEAT\r
155             param_name: aap_address_mode\r
156       type: string\r
157       description: Address mode for the vDBE cluster IP\r
158     control_int_net_shared:\r
159       hidden: false\r
160       immutable: false\r
161       annotations:\r
162         source:\r
163           type: org.openecomp.annotations.Source\r
164           properties:\r
165             vf_module_label:\r
166             - main\r
167             source_type: HEAT\r
168             param_name: control_int_net_shared\r
169       type: boolean\r
170       description: control virtual network shared\r
171     vdbe_untrusted_v6_ip_1:\r
172       hidden: false\r
173       immutable: false\r
174       annotations:\r
175         source:\r
176           type: org.openecomp.annotations.Source\r
177           properties:\r
178             vf_module_label:\r
179             - main\r
180             source_type: HEAT\r
181             param_name: vdbe_untrusted_v6_ip_1\r
182       type: string\r
183       description: IPV6 address of the secondary vDBE VM on the VAN untrusted network\r
184     vdbe_untrusted_vmac_address:\r
185       hidden: false\r
186       immutable: false\r
187       annotations:\r
188         source:\r
189           type: org.openecomp.annotations.Source\r
190           properties:\r
191             vf_module_label:\r
192             - main\r
193             source_type: HEAT\r
194             param_name: vdbe_untrusted_vmac_address\r
195       type: string\r
196       description: Virtual MAC of the primary vDBE VM on the VAN untrusted network\r
197     control_int_net_flood_unknown_unicast:\r
198       hidden: false\r
199       immutable: false\r
200       annotations:\r
201         source:\r
202           type: org.openecomp.annotations.Source\r
203           properties:\r
204             vf_module_label:\r
205             - main\r
206             source_type: HEAT\r
207             param_name: control_int_net_flood_unknown_unicast\r
208       type: boolean\r
209       description: forwarding mode of the control virtual network\r
210     vdbe_aap_sec_untrusted_ip_prefix:\r
211       hidden: false\r
212       immutable: false\r
213       annotations:\r
214         source:\r
215           type: org.openecomp.annotations.Source\r
216           properties:\r
217             vf_module_label:\r
218             - main\r
219             source_type: HEAT\r
220             param_name: vdbe_aap_sec_untrusted_ip_prefix\r
221       type: string\r
222       description: ip prefix for secondary vDBE VM aap on the VAN untrusted network\r
223     vdbe_name_1:\r
224       hidden: false\r
225       immutable: false\r
226       annotations:\r
227         source:\r
228           type: org.openecomp.annotations.Source\r
229           properties:\r
230             vf_module_label:\r
231             - main\r
232             source_type: HEAT\r
233             param_name: vdbe_name_1\r
234       type: string\r
235       description: VM Name for this vdbe node 1\r
236     availability_zone_1:\r
237       hidden: false\r
238       immutable: false\r
239       annotations:\r
240         source:\r
241           type: org.openecomp.annotations.Source\r
242           properties:\r
243             vf_module_label:\r
244             - main\r
245             source_type: HEAT\r
246             param_name: availability_zone_1\r
247       type: string\r
248       description: The availability zone of secondary node1 vDBE vm in the local HA pair.\r
249     availability_zone_2:\r
250       hidden: false\r
251       immutable: false\r
252       annotations:\r
253         source:\r
254           type: org.openecomp.annotations.Source\r
255           properties:\r
256             vf_module_label:\r
257             - main\r
258             source_type: HEAT\r
259             param_name: availability_zone_2\r
260       type: string\r
261       description: The availability zone of secondary node2 vDBE vm in the local HA pair.\r
262     untrusted_vn_networks:\r
263       hidden: false\r
264       immutable: false\r
265       annotations:\r
266         source:\r
267           type: org.openecomp.annotations.Source\r
268           properties:\r
269             vf_module_label:\r
270             - main\r
271             source_type: HEAT\r
272             param_name: untrusted_vn_networks\r
273       type: list\r
274       description: List of subinterface virtual networks\r
275       entry_schema:\r
276         type: string\r
277     vdbe_image_name:\r
278       hidden: false\r
279       immutable: false\r
280       annotations:\r
281         source:\r
282           type: org.openecomp.annotations.Source\r
283           properties:\r
284             vf_module_label:\r
285             - main\r
286             source_type: HEAT\r
287             param_name: vdbe_image_name\r
288       type: string\r
289       description: Image to use for vDBE\r
290     oam_net_name:\r
291       hidden: false\r
292       immutable: false\r
293       annotations:\r
294         source:\r
295           type: org.openecomp.annotations.Source\r
296           properties:\r
297             vf_module_label:\r
298             - main\r
299             source_type: HEAT\r
300             param_name: oam_net_name\r
301       type: string\r
302       description: Name of NSDNet network from which the management IP addresses will be allocated\r
303     vdbe_name_2:\r
304       hidden: false\r
305       immutable: false\r
306       annotations:\r
307         source:\r
308           type: org.openecomp.annotations.Source\r
309           properties:\r
310             vf_module_label:\r
311             - main\r
312             source_type: HEAT\r
313             param_name: vdbe_name_2\r
314       type: string\r
315       description: VM Name for this vdbe node 2\r
316     vdbe_aap_sec_untrusted_ip_prefix_len:\r
317       hidden: false\r
318       immutable: false\r
319       annotations:\r
320         source:\r
321           type: org.openecomp.annotations.Source\r
322           properties:\r
323             vf_module_label:\r
324             - main\r
325             source_type: HEAT\r
326             param_name: vdbe_aap_sec_untrusted_ip_prefix_len\r
327       type: string\r
328       description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network\r
329     vdbe_aap_untrusted_v6_ip_prefix:\r
330       hidden: false\r
331       immutable: false\r
332       annotations:\r
333         source:\r
334           type: org.openecomp.annotations.Source\r
335           properties:\r
336             vf_module_label:\r
337             - main\r
338             source_type: HEAT\r
339             param_name: vdbe_aap_untrusted_v6_ip_prefix\r
340       type: string\r
341       description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network\r
342     vdbe_aap_untrusted_v6_ip_prefix_len:\r
343       hidden: false\r
344       immutable: false\r
345       annotations:\r
346         source:\r
347           type: org.openecomp.annotations.Source\r
348           properties:\r
349             vf_module_label:\r
350             - main\r
351             source_type: HEAT\r
352             param_name: vdbe_aap_untrusted_v6_ip_prefix_len\r
353       type: string\r
354       description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network\r
355     untrusted_vlan_tags:\r
356       hidden: false\r
357       immutable: false\r
358       annotations:\r
359         source:\r
360           type: org.openecomp.annotations.Source\r
361           properties:\r
362             vf_module_label:\r
363             - main\r
364             source_type: HEAT\r
365             param_name: untrusted_vlan_tags\r
366       type: list\r
367       description: List of subinterface vlan tags\r
368       entry_schema:\r
369         type: string\r
370     vdbe_flavor_name:\r
371       hidden: false\r
372       immutable: false\r
373       annotations:\r
374         source:\r
375           type: org.openecomp.annotations.Source\r
376           properties:\r
377             vf_module_label:\r
378             - main\r
379             source_type: HEAT\r
380             param_name: vdbe_flavor_name\r
381       type: string\r
382       description: Flavor to use for vDBE\r
383     counter:\r
384       hidden: false\r
385       immutable: false\r
386       annotations:\r
387         source:\r
388           type: org.openecomp.annotations.Source\r
389           properties:\r
390             vf_module_label:\r
391             - main\r
392             source_type: HEAT\r
393             param_name: counter\r
394       type: float\r
395       description: Counter.\r
396     vf_module_id_2:\r
397       hidden: false\r
398       immutable: false\r
399       annotations:\r
400         source:\r
401           type: org.openecomp.annotations.Source\r
402           properties:\r
403             vf_module_label:\r
404             - main\r
405             source_type: HEAT\r
406             param_name: vf_module_id_2\r
407       type: string\r
408       description: Unique ID for this VF module inst\r
409     vf_module_id_1:\r
410       hidden: false\r
411       immutable: false\r
412       annotations:\r
413         source:\r
414           type: org.openecomp.annotations.Source\r
415           properties:\r
416             vf_module_label:\r
417             - main\r
418             source_type: HEAT\r
419             param_name: vf_module_id_1\r
420       type: string\r
421       description: Unique ID for this VF module inst\r
422     vdbe_hw_untr_mac_1:\r
423       hidden: false\r
424       immutable: false\r
425       annotations:\r
426         source:\r
427           type: org.openecomp.annotations.Source\r
428           properties:\r
429             vf_module_label:\r
430             - main\r
431             source_type: HEAT\r
432             param_name: vdbe_hw_untr_mac_1\r
433       type: string\r
434       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network\r
435     untrusted_net_name:\r
436       hidden: false\r
437       immutable: false\r
438       annotations:\r
439         source:\r
440           type: org.openecomp.annotations.Source\r
441           properties:\r
442             vf_module_label:\r
443             - main\r
444             source_type: HEAT\r
445             param_name: untrusted_net_name\r
446       type: string\r
447       description: Name of public untrusted network into which this vDBE HA cluster is deployed\r
448     vdbe_device_name:\r
449       hidden: false\r
450       immutable: false\r
451       annotations:\r
452         source:\r
453           type: org.openecomp.annotations.Source\r
454           properties:\r
455             vf_module_label:\r
456             - main\r
457             source_type: HEAT\r
458             param_name: vdbe_device_name\r
459       type: string\r
460       description: VDBE device Name for this vdbe VNF\r
461     vdbe_aap_untrusted_ip_prefix:\r
462       hidden: false\r
463       immutable: false\r
464       annotations:\r
465         source:\r
466           type: org.openecomp.annotations.Source\r
467           properties:\r
468             vf_module_label:\r
469             - main\r
470             source_type: HEAT\r
471             param_name: vdbe_aap_untrusted_ip_prefix\r
472       type: string\r
473       description: ip prefix for primary vDBE VM on the VAN untrusted network\r
474   node_templates:\r
475     control_int_net:\r
476       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork\r
477       properties:\r
478         network_name:\r
479           str_replace:\r
480             template: VNF_NAME_control_net\r
481             params:\r
482               VNF_NAME:\r
483                 get_input: vnf_name\r
484     abstract_vdbe:\r
485       type: org.openecomp.resource.abstract.nodes.vdbe\r
486       directives:\r
487       - substitutable\r
488       properties:\r
489         subinterface_nested_parent_interface:\r
490         - vdbe_untr_port_1\r
491         - vdbe_untr_port_2\r
492         subinterface_nested_aap_address_mode:\r
493         - get_input: aap_address_mode\r
494         - get_input: aap_address_mode\r
495         subinterface_nested_vlan_tag_list:\r
496         - get_input: untrusted_vlan_tags\r
497         - get_input: untrusted_vlan_tags\r
498         compute_vdbe_availability_zone:\r
499         - get_input: availability_zone_1\r
500         - get_input: availability_zone_2\r
501         subinterface_nested_aap_untrusted_v6_ip_prefix_len:\r
502         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
503         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
504         vm_flavor_name:\r
505           get_input: vdbe_flavor_name\r
506         subinterface_nested_aap_untrusted_ip_prefix:\r
507         - get_input: vdbe_aap_untrusted_ip_prefix\r
508         - get_input: vdbe_aap_untrusted_ip_prefix\r
509         vm_image_name:\r
510           get_input: vdbe_image_name\r
511         subinterface_nested_aap_sec_untrusted_ip_prefix_len:\r
512         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
513         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
514         subinterface_nested_aap_sec_untrusted_ip_prefix:\r
515         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
516         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
517         subinterface_nested_aap_untrusted_v6_ip_prefix:\r
518         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
519         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
520         compute_vdbe_metadata:\r
521         - vf_module_id:\r
522             get_input: vf_module_id_1\r
523           vnf_id:\r
524             get_input: vnf_id_1\r
525           vnf_name:\r
526             get_input: vnf_name_1\r
527         - vf_module_id:\r
528             get_input: vf_module_id_2\r
529           vnf_id:\r
530             get_input: vnf_id_2\r
531           vnf_name:\r
532             get_input: vnf_name_2\r
533         subinterface_nested_mac_address:\r
534         - get_input: vdbe_hw_untr_mac_1\r
535         - get_input: vdbe_hw_untr_mac_1\r
536         subinterface_nested_ip_address:\r
537         - get_input: vdbe_untrusted_ip_1\r
538         - get_input: vdbe_untrusted_ip_1\r
539         port_vdbe_untr_port_virtual_network_refs:\r
540         - - control_int_net\r
541         - - control_int_net\r
542         subinterface_nested_ip_v6_address:\r
543         - get_input: vdbe_untrusted_v6_ip_1\r
544         - get_input: vdbe_untrusted_v6_ip_1\r
545         subinterface_nested_vmac_address:\r
546         - get_input: vdbe_untrusted_vmac_address\r
547         - get_input: vdbe_untrusted_vmac_address\r
548         subinterface_nested_vn_network_list:\r
549         - get_input: untrusted_vn_networks\r
550         - get_input: untrusted_vn_networks\r
551         port_vdbe_untr_port_name:\r
552         - Untr_Port_1\r
553         - Untr_Port_2\r
554         port_vdbe_untr_port_virtual_machine_interface_mac_addresses:\r
555         - - get_input: vdbe_hw_untr_mac_1\r
556         - - get_input: vdbe_hw_untr_mac_1\r
557         subinterface_nested_aap_untrusted_ip_prefix_len:\r
558         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
559         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
560         subinterface_nested_counter:\r
561         - 5\r
562         - get_input: counter\r
563         subinterface_nested_subinterfaces_name_prefix:\r
564         - str_replace:\r
565             template: VM_NAMEDBE001p1n004\r
566             params:\r
567               DBE:\r
568                 get_input: vdbe_device_name\r
569               VM_NAME:\r
570                 get_input: vdbe_name_1\r
571         - str_replace:\r
572             template: VM_NAMEDBE001p1n004\r
573             params:\r
574               DBE:\r
575                 get_input: vdbe_device_name\r
576               VM_NAME:\r
577                 get_input: vdbe_name_1\r
578         compute_vdbe_name:\r
579         - get_input: vdbe_name_1\r
580         - get_input: vdbe_name_2\r
581         subinterface_nested_optional_property_1:\r
582         - OPTIONAL_VALUE_SUBPORT_1\r
583         - null\r
584         subinterface_nested_optional_property_2:\r
585         - null\r
586         - OPTIONAL_VALUE_SUBPORT_2\r
587         service_template_filter:\r
588           substitute_service_template: Nested_vdbeServiceTemplate.yaml\r
589           count: 2\r
590         index_value:\r
591           get_property:\r
592           - SELF\r
593           - service_template_filter\r
594           - index_value\r
595       requirements:\r
596       - link_vdbe_vdbe_untr_port:\r
597           capability: tosca.capabilities.network.Linkable\r
598           node: control_int_net\r
599           relationship: tosca.relationships.network.LinksTo\r
600   groups:\r
601     main_group:\r
602       type: org.openecomp.groups.heat.HeatStack\r
603       properties:\r
604         heat_file: ../Artifacts/main.yml\r
605         description: |\r
606           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)\r
607       members:\r
608       - control_int_net\r
609       - abstract_vdbe\r