78ed2205d4864a55d9eebc67d44730f0b9a26332
[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     control_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: control_int_net_rpf\r
35       type: string\r
36       description: Reverse Path Filtering enable or disable for the control virtual network\r
37     control_int_net_forwarding_mode:\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_forwarding_mode\r
48       type: string\r
49       description: forwarding mode of the control virtual network\r
50     vnf_name:\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\r
61       type: string\r
62       description: Unique name for this VF instance\r
63     vdbe_untrusted_ip_1:\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: vdbe_untrusted_ip_1\r
74       type: string\r
75       description: IPV4 address of the secondary vDBE VM on the VAN untrusted network\r
76     vdbe_aap_untrusted_ip_prefix_len:\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_aap_untrusted_ip_prefix_len\r
87       type: string\r
88       description: ip prefix length for the primary vDBE VM on the VAN untrusted network\r
89     untrusted_num_vn:\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: untrusted_num_vn\r
100       type: float\r
101       description: Number of vDBE subinterface virtual Networks\r
102       constraints:\r
103       - in_range:\r
104         - 1\r
105         - 77\r
106     aap_address_mode:\r
107       hidden: false\r
108       immutable: false\r
109       annotations:\r
110         source:\r
111           type: org.openecomp.annotations.Source\r
112           properties:\r
113             vf_module_label:\r
114             - main\r
115             source_type: HEAT\r
116             param_name: aap_address_mode\r
117       type: string\r
118       description: Address mode for the vDBE cluster IP\r
119     control_int_net_shared:\r
120       hidden: false\r
121       immutable: false\r
122       annotations:\r
123         source:\r
124           type: org.openecomp.annotations.Source\r
125           properties:\r
126             vf_module_label:\r
127             - main\r
128             source_type: HEAT\r
129             param_name: control_int_net_shared\r
130       type: boolean\r
131       description: control virtual network shared\r
132     vdbe_untrusted_v6_ip_1:\r
133       hidden: false\r
134       immutable: false\r
135       annotations:\r
136         source:\r
137           type: org.openecomp.annotations.Source\r
138           properties:\r
139             vf_module_label:\r
140             - main\r
141             source_type: HEAT\r
142             param_name: vdbe_untrusted_v6_ip_1\r
143       type: string\r
144       description: IPV6 address of the secondary vDBE VM on the VAN untrusted network\r
145     vdbe_untrusted_vmac_address:\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: vdbe_untrusted_vmac_address\r
156       type: string\r
157       description: Virtual MAC of the primary vDBE VM on the VAN untrusted network\r
158     control_int_net_flood_unknown_unicast:\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_flood_unknown_unicast\r
169       type: boolean\r
170       description: forwarding mode of the control virtual network\r
171     vdbe_aap_sec_untrusted_ip_prefix:\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_aap_sec_untrusted_ip_prefix\r
182       type: string\r
183       description: ip prefix for secondary vDBE VM aap on the VAN untrusted network\r
184     vnf_id:\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: vnf_id\r
195       type: string\r
196       description: Unique ID for this VF inst\r
197     vdbe_name_1:\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: vdbe_name_1\r
208       type: string\r
209       description: VM Name for this vdbe node 1\r
210     availability_zone_1:\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: availability_zone_1\r
221       type: string\r
222       description: The availability zone of secondary node1 vDBE vm in the local HA pair.\r
223     untrusted_vn_networks:\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: untrusted_vn_networks\r
234       type: list\r
235       description: List of subinterface virtual networks\r
236       entry_schema:\r
237         type: string\r
238     vdbe_image_name:\r
239       hidden: false\r
240       immutable: false\r
241       annotations:\r
242         source:\r
243           type: org.openecomp.annotations.Source\r
244           properties:\r
245             vf_module_label:\r
246             - main\r
247             source_type: HEAT\r
248             param_name: vdbe_image_name\r
249       type: string\r
250       description: Image to use for vDBE\r
251     oam_net_name:\r
252       hidden: false\r
253       immutable: false\r
254       annotations:\r
255         source:\r
256           type: org.openecomp.annotations.Source\r
257           properties:\r
258             vf_module_label:\r
259             - main\r
260             source_type: HEAT\r
261             param_name: oam_net_name\r
262       type: string\r
263       description: Name of NSDNet network from which the management IP addresses will be allocated\r
264     vdbe_aap_sec_untrusted_ip_prefix_len:\r
265       hidden: false\r
266       immutable: false\r
267       annotations:\r
268         source:\r
269           type: org.openecomp.annotations.Source\r
270           properties:\r
271             vf_module_label:\r
272             - main\r
273             source_type: HEAT\r
274             param_name: vdbe_aap_sec_untrusted_ip_prefix_len\r
275       type: string\r
276       description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network\r
277     vdbe_aap_untrusted_v6_ip_prefix:\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_aap_untrusted_v6_ip_prefix\r
288       type: string\r
289       description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network\r
290     vdbe_aap_untrusted_v6_ip_prefix_len:\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: vdbe_aap_untrusted_v6_ip_prefix_len\r
301       type: string\r
302       description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network\r
303     untrusted_vlan_tags:\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: untrusted_vlan_tags\r
314       type: list\r
315       description: List of subinterface vlan tags\r
316       entry_schema:\r
317         type: string\r
318     vdbe_flavor_name:\r
319       hidden: false\r
320       immutable: false\r
321       annotations:\r
322         source:\r
323           type: org.openecomp.annotations.Source\r
324           properties:\r
325             vf_module_label:\r
326             - main\r
327             source_type: HEAT\r
328             param_name: vdbe_flavor_name\r
329       type: string\r
330       description: Flavor to use for vDBE\r
331     vdbe_hw_untr_mac_1:\r
332       hidden: false\r
333       immutable: false\r
334       annotations:\r
335         source:\r
336           type: org.openecomp.annotations.Source\r
337           properties:\r
338             vf_module_label:\r
339             - main\r
340             source_type: HEAT\r
341             param_name: vdbe_hw_untr_mac_1\r
342       type: string\r
343       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network\r
344     untrusted_net_name:\r
345       hidden: false\r
346       immutable: false\r
347       annotations:\r
348         source:\r
349           type: org.openecomp.annotations.Source\r
350           properties:\r
351             vf_module_label:\r
352             - main\r
353             source_type: HEAT\r
354             param_name: untrusted_net_name\r
355       type: string\r
356       description: Name of public untrusted network into which this vDBE HA cluster is deployed\r
357     vdbe_device_name:\r
358       hidden: false\r
359       immutable: false\r
360       annotations:\r
361         source:\r
362           type: org.openecomp.annotations.Source\r
363           properties:\r
364             vf_module_label:\r
365             - main\r
366             source_type: HEAT\r
367             param_name: vdbe_device_name\r
368       type: string\r
369       description: VDBE device Name for this vdbe VNF\r
370     vdbe_aap_untrusted_ip_prefix:\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_aap_untrusted_ip_prefix\r
381       type: string\r
382       description: ip prefix for primary vDBE VM on the VAN untrusted network\r
383   node_templates:\r
384     suport_missing_vlan_tag_property:\r
385       type: org.openecomp.resource.abstract.nodes.heat.nested3\r
386       directives:\r
387       - substitutable\r
388       properties:\r
389         aap_untrusted_ip_prefix:\r
390           get_input: vdbe_aap_untrusted_ip_prefix\r
391         aap_sec_untrusted_ip_prefix:\r
392           get_input: vdbe_aap_sec_untrusted_ip_prefix\r
393         ip_v6_address:\r
394           get_input: vdbe_untrusted_v6_ip_1\r
395         counter: 5\r
396         ip_address:\r
397           get_input: vdbe_untrusted_ip_1\r
398         subinterfaces_name_prefix:\r
399           str_replace:\r
400             template: VM_NAMEDBE001p1n004\r
401             params:\r
402               DBE:\r
403                 get_input: vdbe_device_name\r
404               VM_NAME:\r
405                 get_input: vdbe_name_1\r
406         aap_address_mode:\r
407           get_input: aap_address_mode\r
408         service_template_filter:\r
409           substitute_service_template: nested3ServiceTemplate.yaml\r
410           count:\r
411             get_input: untrusted_num_vn\r
412           mandatory: false\r
413         aap_untrusted_v6_ip_prefix:\r
414           get_input: vdbe_aap_untrusted_v6_ip_prefix\r
415         parent_interface: vdbe_untr_1_port\r
416         vn_network_list:\r
417           get_input: untrusted_vn_networks\r
418         mac_address:\r
419           get_input: vdbe_hw_untr_mac_1\r
420         vlan_tag_list:\r
421           get_input: untrusted_vlan_tags\r
422         aap_sec_untrusted_ip_prefix_len:\r
423           get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
424         vmac_address:\r
425           get_input: vdbe_untrusted_vmac_address\r
426         aap_untrusted_v6_ip_prefix_len:\r
427           get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
428         aap_untrusted_ip_prefix_len:\r
429           get_input: vdbe_aap_untrusted_ip_prefix_len\r
430     control_int_net:\r
431       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork\r
432       properties:\r
433         network_name:\r
434           str_replace:\r
435             template: VNF_NAME_control_net\r
436             params:\r
437               VNF_NAME:\r
438                 get_input: vnf_name\r
439     subport_get_param_parent:\r
440       type: org.openecomp.resource.abstract.nodes.heat.nested\r
441       directives:\r
442       - substitutable\r
443       properties:\r
444         aap_untrusted_ip_prefix:\r
445           get_input: vdbe_aap_untrusted_ip_prefix\r
446         aap_sec_untrusted_ip_prefix:\r
447           get_input: vdbe_aap_sec_untrusted_ip_prefix\r
448         ip_v6_address:\r
449           get_input: vdbe_untrusted_v6_ip_1\r
450         counter: 5\r
451         ip_address:\r
452           get_input: vdbe_untrusted_ip_1\r
453         subinterfaces_name_prefix:\r
454           str_replace:\r
455             template: VM_NAMEDBE001p1n004\r
456             params:\r
457               DBE:\r
458                 get_input: vdbe_device_name\r
459               VM_NAME:\r
460                 get_input: vdbe_name_1\r
461         aap_address_mode:\r
462           get_input: aap_address_mode\r
463         service_template_filter:\r
464           substitute_service_template: nestedServiceTemplate.yaml\r
465           count:\r
466             get_input: untrusted_num_vn\r
467           mandatory: false\r
468         aap_untrusted_v6_ip_prefix:\r
469           get_input: vdbe_aap_untrusted_v6_ip_prefix\r
470         parent_interface:\r
471           get_input: vdbe_hw_untr_mac_1\r
472         vn_network_list:\r
473           get_input: untrusted_vn_networks\r
474         mac_address:\r
475           get_input: vdbe_hw_untr_mac_1\r
476         vlan_tag_list:\r
477           get_input: untrusted_vlan_tags\r
478         aap_sec_untrusted_ip_prefix_len:\r
479           get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
480         vmac_address:\r
481           get_input: vdbe_untrusted_vmac_address\r
482         aap_untrusted_v6_ip_prefix_len:\r
483           get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
484         aap_untrusted_ip_prefix_len:\r
485           get_input: vdbe_aap_untrusted_ip_prefix_len\r
486     abstract_vdbe:\r
487       type: org.openecomp.resource.abstract.nodes.vdbe\r
488       directives:\r
489       - substitutable\r
490       properties:\r
491         compute_vdbe_availability_zone:\r
492         - get_input: availability_zone_1\r
493         vm_flavor_name:\r
494           get_input: vdbe_flavor_name\r
495         port_vdbe_untr_1_port_name:\r
496         - str_replace:\r
497             template: VM_NAMEDBE001p1n004\r
498             params:\r
499               DBE:\r
500                 get_input: vdbe_device_name\r
501               VM_NAME:\r
502                 get_input: vdbe_name_1\r
503         vm_image_name:\r
504           get_input: vdbe_image_name\r
505         compute_vdbe_metadata:\r
506         - vf_module_id:\r
507             get_input: vf_module_id\r
508           vnf_id:\r
509             get_input: vnf_id\r
510           vnf_name:\r
511             get_input: vnf_name\r
512         port_vdbe_untr_1_port_virtual_network_refs:\r
513         - - control_int_net\r
514         compute_vdbe_name:\r
515         - get_input: vdbe_name_1\r
516         port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:\r
517         - - get_input: vdbe_hw_untr_mac_1\r
518         service_template_filter:\r
519           substitute_service_template: Nested_vdbeServiceTemplate.yaml\r
520           count: 1\r
521         index_value:\r
522           get_property:\r
523           - SELF\r
524           - service_template_filter\r
525           - index_value\r
526       requirements:\r
527       - link_vdbe_vdbe_untr_1_port:\r
528           capability: tosca.capabilities.network.Linkable\r
529           node: control_int_net\r
530           relationship: tosca.relationships.network.LinksTo\r
531   groups:\r
532     main_group:\r
533       type: org.openecomp.groups.heat.HeatStack\r
534       properties:\r
535         heat_file: ../Artifacts/main.yml\r
536         description: |\r
537           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)\r
538       members:\r
539       - suport_missing_vlan_tag_property\r
540       - control_int_net\r
541       - subport_get_param_parent\r
542       - abstract_vdbe\r