38048a8a9c8ece173239f0a2d8d01623fde19420
[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     aap_address_mode:\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: aap_address_mode\r
100       type: string\r
101       description: Address mode for the vDBE cluster IP\r
102     control_int_net_shared:\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: control_int_net_shared\r
113       type: boolean\r
114       description: control virtual network shared\r
115     vdbe_untrusted_v6_ip_1:\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: vdbe_untrusted_v6_ip_1\r
126       type: string\r
127       description: IPV6 address of the secondary vDBE VM on the VAN untrusted network\r
128     vdbe_untrusted_vmac_address:\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_vmac_address\r
139       type: string\r
140       description: Virtual MAC of the primary vDBE VM on the VAN untrusted network\r
141     control_int_net_flood_unknown_unicast:\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: control_int_net_flood_unknown_unicast\r
152       type: boolean\r
153       description: forwarding mode of the control virtual network\r
154     vdbe_aap_sec_untrusted_ip_prefix:\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: vdbe_aap_sec_untrusted_ip_prefix\r
165       type: string\r
166       description: ip prefix for secondary vDBE VM aap on the VAN untrusted network\r
167     vnf_id:\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: vnf_id\r
178       type: string\r
179       description: Unique ID for this VF inst\r
180     vdbe_name_1:\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: vdbe_name_1\r
191       type: string\r
192       description: VM Name for this vdbe node 1\r
193     availability_zone_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: availability_zone_1\r
204       type: string\r
205       description: The availability zone of secondary node1 vDBE vm in the local HA pair.\r
206     untrusted_vn_networks:\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: untrusted_vn_networks\r
217       type: list\r
218       description: List of subinterface virtual networks\r
219       entry_schema:\r
220         type: string\r
221     vdbe_image_name:\r
222       hidden: false\r
223       immutable: false\r
224       annotations:\r
225         source:\r
226           type: org.openecomp.annotations.Source\r
227           properties:\r
228             vf_module_label:\r
229             - main\r
230             source_type: HEAT\r
231             param_name: vdbe_image_name\r
232       type: string\r
233       description: Image to use for vDBE\r
234     oam_net_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: oam_net_name\r
245       type: string\r
246       description: Name of NSDNet network from which the management IP addresses will be allocated\r
247     vdbe_aap_sec_untrusted_ip_prefix_len:\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: vdbe_aap_sec_untrusted_ip_prefix_len\r
258       type: string\r
259       description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network\r
260     vdbe_aap_untrusted_v6_ip_prefix:\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_untrusted_v6_ip_prefix\r
271       type: string\r
272       description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network\r
273     vdbe_aap_untrusted_v6_ip_prefix_len:\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_len\r
284       type: string\r
285       description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network\r
286     untrusted_vlan_tags:\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: untrusted_vlan_tags\r
297       type: list\r
298       description: List of subinterface vlan tags\r
299       entry_schema:\r
300         type: string\r
301     vdbe_flavor_name:\r
302       hidden: false\r
303       immutable: false\r
304       annotations:\r
305         source:\r
306           type: org.openecomp.annotations.Source\r
307           properties:\r
308             vf_module_label:\r
309             - main\r
310             source_type: HEAT\r
311             param_name: vdbe_flavor_name\r
312       type: string\r
313       description: Flavor to use for vDBE\r
314     counter:\r
315       hidden: false\r
316       immutable: false\r
317       annotations:\r
318         source:\r
319           type: org.openecomp.annotations.Source\r
320           properties:\r
321             vf_module_label:\r
322             - main\r
323             source_type: HEAT\r
324             param_name: counter\r
325       type: float\r
326       description: Counter.\r
327     vdbe_hw_untr_mac_1:\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_hw_untr_mac_1\r
338       type: string\r
339       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network\r
340     untrusted_net_name:\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: untrusted_net_name\r
351       type: string\r
352       description: Name of public untrusted network into which this vDBE HA cluster is deployed\r
353     vdbe_device_name:\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: vdbe_device_name\r
364       type: string\r
365       description: VDBE device Name for this vdbe VNF\r
366     vdbe_aap_untrusted_ip_prefix:\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: vdbe_aap_untrusted_ip_prefix\r
377       type: string\r
378       description: ip prefix for primary vDBE VM on the VAN untrusted network\r
379   node_templates:\r
380     control_int_net:\r
381       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork\r
382       properties:\r
383         network_name:\r
384           str_replace:\r
385             template: VNF_NAME_control_net\r
386             params:\r
387               VNF_NAME:\r
388                 get_input: vnf_name\r
389     abstract_vdbe:\r
390       type: org.openecomp.resource.abstract.nodes.vdbe\r
391       directives:\r
392       - substitutable\r
393       properties:\r
394         subinterface_vlan1_aap_untrusted_v6_ip_prefix:\r
395         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
396         subinterface_vlan1_aap_sec_untrusted_ip_prefix:\r
397         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
398         subinterface_vlan1_vmac_address:\r
399         - get_input: vdbe_untrusted_vmac_address\r
400         compute_vdbe_availability_zone:\r
401         - get_input: availability_zone_1\r
402         vm_flavor_name:\r
403           get_input: vdbe_flavor_name\r
404         subinterface_vlan1_counter:\r
405         - get_input: counter\r
406         subinterface_vlan2_aap_untrusted_v6_ip_prefix:\r
407         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
408         vm_image_name:\r
409           get_input: vdbe_image_name\r
410         compute_vdbe_metadata:\r
411         - vf_module_id:\r
412             get_input: vf_module_id\r
413           vnf_id:\r
414             get_input: vnf_id\r
415           vnf_name:\r
416             get_input: vnf_name\r
417         subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:\r
418         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
419         subinterface_vlan2_ip_address:\r
420         - get_input: vdbe_untrusted_ip_1\r
421         subinterface_vlan2_ip_v6_address:\r
422         - get_input: vdbe_untrusted_v6_ip_1\r
423         subinterface_vlan2_parent_interface:\r
424         - vdbe_untr_1_port\r
425         subinterface_vlan2_aap_address_mode:\r
426         - get_input: aap_address_mode\r
427         subinterface_vlan1_mac_address:\r
428         - get_input: vdbe_hw_untr_mac_1\r
429         subinterface_vlan2_mac_address:\r
430         - get_input: vdbe_hw_untr_mac_1\r
431         subinterface_vlan1_aap_untrusted_ip_prefix_len:\r
432         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
433         subinterface_vlan1_ip_address:\r
434         - get_input: vdbe_untrusted_ip_1\r
435         subinterface_vlan2_aap_sec_untrusted_ip_prefix:\r
436         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
437         compute_vdbe_name:\r
438         - get_input: vdbe_name_1\r
439         subinterface_vlan2_aap_untrusted_ip_prefix:\r
440         - get_input: vdbe_aap_untrusted_ip_prefix\r
441         subinterface_vlan1_ip_v6_address:\r
442         - get_input: vdbe_untrusted_v6_ip_1\r
443         subinterface_vlan2_vmac_address:\r
444         - get_input: vdbe_untrusted_vmac_address\r
445         subinterface_vlan1_aap_untrusted_ip_prefix:\r
446         - get_input: vdbe_aap_untrusted_ip_prefix\r
447         subinterface_vlan2_vn_network_list:\r
448         - get_input: untrusted_vn_networks\r
449         subinterface_vlan1_subinterfaces_name_prefix:\r
450         - str_replace:\r
451             template: VM_NAMEDBE001p1n004\r
452             params:\r
453               DBE:\r
454                 get_input: vdbe_device_name\r
455               VM_NAME:\r
456                 get_input: vdbe_name_1\r
457         port_vdbe_untr_1_port_virtual_network_refs:\r
458         - - control_int_net\r
459         subinterface_vlan2_vlan_tag_list:\r
460         - get_input: untrusted_vlan_tags\r
461         subinterface_vlan1_vn_network_list:\r
462         - get_input: untrusted_vn_networks\r
463         subinterface_vlan2_aap_sec_untrusted_ip_prefix_len:\r
464         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
465         subinterface_vlan2_counter:\r
466         - get_input: counter\r
467         subinterface_vlan1_parent_interface:\r
468         - vdbe_untr_1_port\r
469         subinterface_vlan1_aap_address_mode:\r
470         - get_input: aap_address_mode\r
471         subinterface_vlan2_aap_untrusted_ip_prefix_len:\r
472         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
473         subinterface_vlan2_subinterfaces_name_prefix:\r
474         - str_replace:\r
475             template: VM_NAMEDBE001p1n004\r
476             params:\r
477               DBE:\r
478                 get_input: vdbe_device_name\r
479               VM_NAME:\r
480                 get_input: vdbe_name_1\r
481         subinterface_vlan2_aap_untrusted_v6_ip_prefix_len:\r
482         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
483         port_vdbe_untr_1_port_name:\r
484         - str_replace:\r
485             template: VM_NAMEDBE001p1n004\r
486             params:\r
487               DBE:\r
488                 get_input: vdbe_device_name\r
489               VM_NAME:\r
490                 get_input: vdbe_name_1\r
491         subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:\r
492         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
493         port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:\r
494         - - get_input: vdbe_hw_untr_mac_1\r
495         subinterface_vlan1_vlan_tag_list:\r
496         - get_input: untrusted_vlan_tags\r
497         service_template_filter:\r
498           substitute_service_template: Nested_vdbeServiceTemplate.yaml\r
499           count: 1\r
500         index_value:\r
501           get_property:\r
502           - SELF\r
503           - service_template_filter\r
504           - index_value\r
505       requirements:\r
506       - link_vdbe_vdbe_untr_1_port:\r
507           capability: tosca.capabilities.network.Linkable\r
508           node: control_int_net\r
509           relationship: tosca.relationships.network.LinksTo\r
510   groups:\r
511     main_group:\r
512       type: org.openecomp.groups.heat.HeatStack\r
513       properties:\r
514         heat_file: ../Artifacts/main.yml\r
515         description: |\r
516           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)\r
517       members:\r
518       - control_int_net\r
519       - abstract_vdbe\r