d1dcbbf7a5b6cef0cde991f7b02438d757e40a11
[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     control_int_net:\r
385       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork\r
386       properties:\r
387         network_name:\r
388           str_replace:\r
389             template: VNF_NAME_control_net\r
390             params:\r
391               VNF_NAME:\r
392                 get_input: vnf_name\r
393     abstract_vdbe:\r
394       type: org.openecomp.resource.abstract.nodes.vdbe\r
395       directives:\r
396       - substitutable\r
397       properties:\r
398         subinterface_nested_parent_interface:\r
399         - vdbe_untr_1_port\r
400         subinterface_nested_aap_address_mode:\r
401         - get_input: aap_address_mode\r
402         subinterface_nested_vlan_tag_list:\r
403         - get_input: untrusted_vlan_tags\r
404         compute_vdbe_availability_zone:\r
405         - get_input: availability_zone_1\r
406         subinterface_nested_aap_untrusted_v6_ip_prefix_len:\r
407         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len\r
408         vm_flavor_name:\r
409           get_input: vdbe_flavor_name\r
410         subinterface_nested_aap_untrusted_ip_prefix:\r
411         - get_input: vdbe_aap_untrusted_ip_prefix\r
412         vm_image_name:\r
413           get_input: vdbe_image_name\r
414         subinterface_nested_aap_sec_untrusted_ip_prefix_len:\r
415         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len\r
416         subinterface_nested_aap_sec_untrusted_ip_prefix:\r
417         - get_input: vdbe_aap_sec_untrusted_ip_prefix\r
418         subinterface_nested_aap_untrusted_v6_ip_prefix:\r
419         - get_input: vdbe_aap_untrusted_v6_ip_prefix\r
420         compute_vdbe_metadata:\r
421         - vf_module_id:\r
422             get_input: vf_module_id\r
423           vnf_id:\r
424             get_input: vnf_id\r
425           vnf_name:\r
426             get_input: vnf_name\r
427         subinterface_nested_mac_address:\r
428         - get_input: vdbe_hw_untr_mac_1\r
429         port_vdbe_untr_1_port_virtual_network_refs:\r
430         - - control_int_net\r
431         subinterface_nested_ip_address:\r
432         - get_input: vdbe_untrusted_ip_1\r
433         subinterface_nested_ip_v6_address:\r
434         - get_input: vdbe_untrusted_v6_ip_1\r
435         subinterface_nested_vmac_address:\r
436         - get_input: vdbe_untrusted_vmac_address\r
437         subinterface_nested_vn_network_list:\r
438         - get_input: untrusted_vn_networks\r
439         port_vdbe_untr_1_port_name:\r
440         - str_replace:\r
441             template: VM_NAMEDBE001p1n004\r
442             params:\r
443               DBE:\r
444                 get_input: vdbe_device_name\r
445               VM_NAME:\r
446                 get_input: vdbe_name_1\r
447         subinterface_nested_aap_untrusted_ip_prefix_len:\r
448         - get_input: vdbe_aap_untrusted_ip_prefix_len\r
449         subinterface_nested_counter:\r
450         - 5\r
451         subinterface_nested_subinterfaces_name_prefix:\r
452         - str_replace:\r
453             template: VM_NAMEDBE001p1n004\r
454             params:\r
455               DBE:\r
456                 get_input: vdbe_device_name\r
457               VM_NAME:\r
458                 get_input: vdbe_name_1\r
459         compute_vdbe_name:\r
460         - get_input: vdbe_name_1\r
461         port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:\r
462         - - get_input: vdbe_hw_untr_mac_1\r
463         service_template_filter:\r
464           substitute_service_template: Nested_vdbeServiceTemplate.yaml\r
465           count: 1\r
466         index_value:\r
467           get_property:\r
468           - SELF\r
469           - service_template_filter\r
470           - index_value\r
471       requirements:\r
472       - link_vdbe_vdbe_untr_1_port:\r
473           capability: tosca.capabilities.network.Linkable\r
474           node: control_int_net\r
475           relationship: tosca.relationships.network.LinksTo\r
476   groups:\r
477     main_group:\r
478       type: org.openecomp.groups.heat.HeatStack\r
479       properties:\r
480         heat_file: ../Artifacts/main.yml\r
481         description: |\r
482           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)\r
483       members:\r
484       - control_int_net\r
485       - abstract_vdbe\r