9ca2cbfcbc6268c0702be24d93f36528c14c86ea
[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     vdbe_hw_untr_mac_1:\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: vdbe_hw_untr_mac_1\r
325       type: string\r
326       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network\r
327     untrusted_net_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: untrusted_net_name\r
338       type: string\r
339       description: Name of public untrusted network into which this vDBE HA cluster is deployed\r
340     vdbe_device_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: vdbe_device_name\r
351       type: string\r
352       description: VDBE device Name for this vdbe VNF\r
353     vdbe_aap_untrusted_ip_prefix:\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_aap_untrusted_ip_prefix\r
364       type: string\r
365       description: ip prefix for primary vDBE VM on the VAN untrusted network\r
366   node_templates:\r
367     control_int_net:\r
368       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork\r
369       properties:\r
370         network_name:\r
371           str_replace:\r
372             template: VNF_NAME_control_net\r
373             params:\r
374               VNF_NAME:\r
375                 get_input: vnf_name\r
376     abstract_vdbe:\r
377       type: org.openecomp.resource.abstract.nodes.vdbe\r
378       directives:\r
379       - substitutable\r
380       properties:\r
381         subinterface_nested_parent_interface:\r
382         - vdbe_untr_1_port\r
383         subinterface_nested_aap_address_mode:\r
384         - get_input: aap_address_mode\r
385         subinterface_nested_vlan_tag_list:\r
386         - get_input: untrusted_vlan_tags\r
387         compute_vdbe_availability_zone:\r
388         - get_input: availability_zone_1\r
389         subinterface_nested_aap_untrusted_v6_ip_prefix_len:\r
390         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
391         vm_flavor_name:\r
392           get_input: vdbe_flavor_name\r
393         subinterface_nested_aap_untrusted_ip_prefix:\r
394         - get_input: vdbe_aap_untrusted_ip_prefix\r
395         vm_image_name:\r
396           get_input: vdbe_image_name\r
397         subinterface_nested_aap_sec_untrusted_ip_prefix_len:\r
398         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
399         subinterface_nested_aap_sec_untrusted_ip_prefix:\r
400         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
401         subinterface_nested_aap_untrusted_v6_ip_prefix:\r
402         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
403         compute_vdbe_metadata:\r
404         - vf_module_id:\r
405             get_input: vf_module_id\r
406           vnf_id:\r
407             get_input: vnf_id\r
408           vnf_name:\r
409             get_input: vnf_name\r
410         subinterface_nested_mac_address:\r
411         - get_input: vdbe_hw_untr_mac_1\r
412         port_vdbe_untr_1_port_virtual_network_refs:\r
413         - - control_int_net\r
414         subinterface_nested_ip_address:\r
415         - get_input: vdbe_untrusted_ip_1\r
416         subinterface_nested_ip_v6_address:\r
417         - get_input: vdbe_untrusted_v6_ip_1\r
418         subinterface_nested_vmac_address:\r
419         - get_input: vdbe_untrusted_vmac_address\r
420         subinterface_nested_vn_network_list:\r
421         - get_input: untrusted_vn_networks\r
422         port_vdbe_untr_1_port_name:\r
423         - str_replace:\r
424             template: VM_NAMEDBE001p1n004\r
425             params:\r
426               DBE:\r
427                 get_input: vdbe_device_name\r
428               VM_NAME:\r
429                 get_input: vdbe_name_1\r
430         subinterface_nested_aap_untrusted_ip_prefix_len:\r
431         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
432         subinterface_nested_subinterfaces_name_prefix:\r
433         - str_replace:\r
434             template: VM_NAMEDBE001p1n004\r
435             params:\r
436               DBE:\r
437                 get_input: vdbe_device_name\r
438               VM_NAME:\r
439                 get_input: vdbe_name_1\r
440         compute_vdbe_name:\r
441         - get_input: vdbe_name_1\r
442         port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:\r
443         - - get_input: vdbe_hw_untr_mac_1\r
444         service_template_filter:\r
445           substitute_service_template: Nested_vdbeServiceTemplate.yaml\r
446           count: 1\r
447         index_value:\r
448           get_property:\r
449           - SELF\r
450           - service_template_filter\r
451           - index_value\r
452       requirements:\r
453       - link_vdbe_vdbe_untr_1_port:\r
454           capability: tosca.capabilities.network.Linkable\r
455           node: control_int_net\r
456           relationship: tosca.relationships.network.LinksTo\r
457   groups:\r
458     main_group:\r
459       type: org.openecomp.groups.heat.HeatStack\r
460       properties:\r
461         heat_file: ../Artifacts/main.yml\r
462         description: |\r
463           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)\r
464       members:\r
465       - control_int_net\r
466       - abstract_vdbe\r