8e88cf25d4586482b521ce765ea24c96186a224a
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     vf_module_id:
12       hidden: false
13       immutable: false
14       annotations:
15         source:
16           type: org.openecomp.annotations.Source
17           properties:
18             vf_module_label:
19             - main
20             source_type: HEAT
21             param_name: vf_module_id
22       type: string
23       description: Unique ID for this VF module inst
24     control_int_net_rpf:
25       hidden: false
26       immutable: false
27       annotations:
28         source:
29           type: org.openecomp.annotations.Source
30           properties:
31             vf_module_label:
32             - main
33             source_type: HEAT
34             param_name: control_int_net_rpf
35       type: string
36       description: Reverse Path Filtering enable or disable for the control virtual network
37     control_int_net_forwarding_mode:
38       hidden: false
39       immutable: false
40       annotations:
41         source:
42           type: org.openecomp.annotations.Source
43           properties:
44             vf_module_label:
45             - main
46             source_type: HEAT
47             param_name: control_int_net_forwarding_mode
48       type: string
49       description: forwarding mode of the control virtual network
50     vnf_name:
51       hidden: false
52       immutable: false
53       annotations:
54         source:
55           type: org.openecomp.annotations.Source
56           properties:
57             vf_module_label:
58             - main
59             source_type: HEAT
60             param_name: vnf_name
61       type: string
62       description: Unique name for this VF instance
63     vdbe_untrusted_ip_1:
64       hidden: false
65       immutable: false
66       annotations:
67         source:
68           type: org.openecomp.annotations.Source
69           properties:
70             vf_module_label:
71             - main
72             source_type: HEAT
73             param_name: vdbe_untrusted_ip_1
74       type: string
75       description: IPV4 address of the secondary vDBE VM on the VAN untrusted network
76     vdbe_aap_untrusted_ip_prefix_len:
77       hidden: false
78       immutable: false
79       annotations:
80         source:
81           type: org.openecomp.annotations.Source
82           properties:
83             vf_module_label:
84             - main
85             source_type: HEAT
86             param_name: vdbe_aap_untrusted_ip_prefix_len
87       type: string
88       description: ip prefix length for the primary vDBE VM on the VAN untrusted network
89     aap_address_mode:
90       hidden: false
91       immutable: false
92       annotations:
93         source:
94           type: org.openecomp.annotations.Source
95           properties:
96             vf_module_label:
97             - main
98             source_type: HEAT
99             param_name: aap_address_mode
100       type: string
101       description: Address mode for the vDBE cluster IP
102     control_int_net_shared:
103       hidden: false
104       immutable: false
105       annotations:
106         source:
107           type: org.openecomp.annotations.Source
108           properties:
109             vf_module_label:
110             - main
111             source_type: HEAT
112             param_name: control_int_net_shared
113       type: boolean
114       description: control virtual network shared
115     vdbe_untrusted_v6_ip_1:
116       hidden: false
117       immutable: false
118       annotations:
119         source:
120           type: org.openecomp.annotations.Source
121           properties:
122             vf_module_label:
123             - main
124             source_type: HEAT
125             param_name: vdbe_untrusted_v6_ip_1
126       type: string
127       description: IPV6 address of the secondary vDBE VM on the VAN untrusted network
128     vdbe_untrusted_vmac_address:
129       hidden: false
130       immutable: false
131       annotations:
132         source:
133           type: org.openecomp.annotations.Source
134           properties:
135             vf_module_label:
136             - main
137             source_type: HEAT
138             param_name: vdbe_untrusted_vmac_address
139       type: string
140       description: Virtual MAC of the primary vDBE VM on the VAN untrusted network
141     control_int_net_flood_unknown_unicast:
142       hidden: false
143       immutable: false
144       annotations:
145         source:
146           type: org.openecomp.annotations.Source
147           properties:
148             vf_module_label:
149             - main
150             source_type: HEAT
151             param_name: control_int_net_flood_unknown_unicast
152       type: boolean
153       description: forwarding mode of the control virtual network
154     vdbe_aap_sec_untrusted_ip_prefix:
155       hidden: false
156       immutable: false
157       annotations:
158         source:
159           type: org.openecomp.annotations.Source
160           properties:
161             vf_module_label:
162             - main
163             source_type: HEAT
164             param_name: vdbe_aap_sec_untrusted_ip_prefix
165       type: string
166       description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
167     vnf_id:
168       hidden: false
169       immutable: false
170       annotations:
171         source:
172           type: org.openecomp.annotations.Source
173           properties:
174             vf_module_label:
175             - main
176             source_type: HEAT
177             param_name: vnf_id
178       type: string
179       description: Unique ID for this VF inst
180     vdbe_name_1:
181       hidden: false
182       immutable: false
183       annotations:
184         source:
185           type: org.openecomp.annotations.Source
186           properties:
187             vf_module_label:
188             - main
189             source_type: HEAT
190             param_name: vdbe_name_1
191       type: string
192       description: VM Name for this vdbe node 1
193     availability_zone_1:
194       hidden: false
195       immutable: false
196       annotations:
197         source:
198           type: org.openecomp.annotations.Source
199           properties:
200             vf_module_label:
201             - main
202             source_type: HEAT
203             param_name: availability_zone_1
204       type: string
205       description: The availability zone of secondary node1 vDBE vm in the local HA pair.
206     untrusted_vn_networks:
207       hidden: false
208       immutable: false
209       annotations:
210         source:
211           type: org.openecomp.annotations.Source
212           properties:
213             vf_module_label:
214             - main
215             source_type: HEAT
216             param_name: untrusted_vn_networks
217       type: list
218       description: List of subinterface virtual networks
219       entry_schema:
220         type: string
221     vdbe_image_name:
222       hidden: false
223       immutable: false
224       annotations:
225         source:
226           type: org.openecomp.annotations.Source
227           properties:
228             vf_module_label:
229             - main
230             source_type: HEAT
231             param_name: vdbe_image_name
232       type: string
233       description: Image to use for vDBE
234     oam_net_name:
235       hidden: false
236       immutable: false
237       annotations:
238         source:
239           type: org.openecomp.annotations.Source
240           properties:
241             vf_module_label:
242             - main
243             source_type: HEAT
244             param_name: oam_net_name
245       type: string
246       description: Name of NSDNet network from which the management IP addresses will be allocated
247     vdbe_aap_sec_untrusted_ip_prefix_len:
248       hidden: false
249       immutable: false
250       annotations:
251         source:
252           type: org.openecomp.annotations.Source
253           properties:
254             vf_module_label:
255             - main
256             source_type: HEAT
257             param_name: vdbe_aap_sec_untrusted_ip_prefix_len
258       type: string
259       description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
260     vdbe_aap_untrusted_v6_ip_prefix:
261       hidden: false
262       immutable: false
263       annotations:
264         source:
265           type: org.openecomp.annotations.Source
266           properties:
267             vf_module_label:
268             - main
269             source_type: HEAT
270             param_name: vdbe_aap_untrusted_v6_ip_prefix
271       type: string
272       description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
273     vdbe_aap_untrusted_v6_ip_prefix_len:
274       hidden: false
275       immutable: false
276       annotations:
277         source:
278           type: org.openecomp.annotations.Source
279           properties:
280             vf_module_label:
281             - main
282             source_type: HEAT
283             param_name: vdbe_aap_untrusted_v6_ip_prefix_len
284       type: string
285       description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
286     untrusted_vlan_tags:
287       hidden: false
288       immutable: false
289       annotations:
290         source:
291           type: org.openecomp.annotations.Source
292           properties:
293             vf_module_label:
294             - main
295             source_type: HEAT
296             param_name: untrusted_vlan_tags
297       type: list
298       description: List of subinterface vlan tags
299       entry_schema:
300         type: string
301     vdbe_flavor_name:
302       hidden: false
303       immutable: false
304       annotations:
305         source:
306           type: org.openecomp.annotations.Source
307           properties:
308             vf_module_label:
309             - main
310             source_type: HEAT
311             param_name: vdbe_flavor_name
312       type: string
313       description: Flavor to use for vDBE
314     vdbe_hw_untr_mac_1:
315       hidden: false
316       immutable: false
317       annotations:
318         source:
319           type: org.openecomp.annotations.Source
320           properties:
321             vf_module_label:
322             - main
323             source_type: HEAT
324             param_name: vdbe_hw_untr_mac_1
325       type: string
326       description: Secondary MAC address of the secondary vDBE VM on the VAN untrusted network
327     untrusted_net_name:
328       hidden: false
329       immutable: false
330       annotations:
331         source:
332           type: org.openecomp.annotations.Source
333           properties:
334             vf_module_label:
335             - main
336             source_type: HEAT
337             param_name: untrusted_net_name
338       type: string
339       description: Name of public untrusted network into which this vDBE HA cluster is deployed
340     vdbe_device_name:
341       hidden: false
342       immutable: false
343       annotations:
344         source:
345           type: org.openecomp.annotations.Source
346           properties:
347             vf_module_label:
348             - main
349             source_type: HEAT
350             param_name: vdbe_device_name
351       type: string
352       description: VDBE device Name for this vdbe VNF
353     vdbe_aap_untrusted_ip_prefix:
354       hidden: false
355       immutable: false
356       annotations:
357         source:
358           type: org.openecomp.annotations.Source
359           properties:
360             vf_module_label:
361             - main
362             source_type: HEAT
363             param_name: vdbe_aap_untrusted_ip_prefix
364       type: string
365       description: ip prefix for primary vDBE VM on the VAN untrusted network
366   node_templates:
367     control_int_net:
368       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
369       properties:
370         network_name:
371           str_replace:
372             template: VNF_NAME_control_net
373             params:
374               VNF_NAME:
375                 get_input: vnf_name
376     abstract_vdbe:
377       type: org.openecomp.resource.abstract.nodes.vdbe
378       directives:
379       - substitutable
380       properties:
381         subinterface_nested_parent_interface:
382         - vdbe_1_untr_vmi_1
383         subinterface_nested_aap_address_mode:
384         - get_input: aap_address_mode
385         subinterface_nested_vlan_tag_list:
386         - get_input: untrusted_vlan_tags
387         compute_vdbe_availability_zone:
388         - get_input: availability_zone_1
389         subinterface_nested_aap_untrusted_v6_ip_prefix_len:
390         - get_input: vdbe_aap_untrusted_v6_ip_prefix_len
391         vm_flavor_name:
392           get_input: vdbe_flavor_name
393         port_vdbe_untr_vmi_virtual_machine_interface_mac_addresses:
394         - - get_input: vdbe_hw_untr_mac_1
395         subinterface_nested_aap_untrusted_ip_prefix:
396         - get_input: vdbe_aap_untrusted_ip_prefix
397         vm_image_name:
398           get_input: vdbe_image_name
399         subinterface_nested_aap_sec_untrusted_ip_prefix_len:
400         - get_input: vdbe_aap_sec_untrusted_ip_prefix_len
401         subinterface_nested_aap_sec_untrusted_ip_prefix:
402         - get_input: vdbe_aap_sec_untrusted_ip_prefix
403         subinterface_nested_aap_untrusted_v6_ip_prefix:
404         - get_input: vdbe_aap_untrusted_v6_ip_prefix
405         compute_vdbe_metadata:
406         - vf_module_id:
407             get_input: vf_module_id
408           vnf_id:
409             get_input: vnf_id
410           vnf_name:
411             get_input: vnf_name
412         subinterface_nested_mac_address:
413         - get_input: vdbe_hw_untr_mac_1
414         port_vdbe_untr_vmi_virtual_network_refs:
415         - - control_int_net
416         subinterface_nested_ip_address:
417         - get_input: vdbe_untrusted_ip_1
418         subinterface_nested_ip_v6_address:
419         - get_input: vdbe_untrusted_v6_ip_1
420         subinterface_nested_vmac_address:
421         - get_input: vdbe_untrusted_vmac_address
422         subinterface_nested_vn_network_list:
423         - get_input: untrusted_vn_networks
424         subinterface_nested_aap_untrusted_ip_prefix_len:
425         - get_input: vdbe_aap_untrusted_ip_prefix_len
426         port_vdbe_untr_vmi_name:
427         - str_replace:
428             template: VM_NAMEDBE001p1n004
429             params:
430               DBE:
431                 get_input: vdbe_device_name
432               VM_NAME:
433                 get_input: vdbe_name_1
434         subinterface_nested_subinterfaces_name_prefix:
435         - str_replace:
436             template: VM_NAMEDBE001p1n004
437             params:
438               DBE:
439                 get_input: vdbe_device_name
440               VM_NAME:
441                 get_input: vdbe_name_1
442         compute_vdbe_name:
443         - get_input: vdbe_name_1
444         service_template_filter:
445           substitute_service_template: Nested_vdbeServiceTemplate.yaml
446           count: 1
447         index_value:
448           get_property:
449           - SELF
450           - service_template_filter
451           - index_value
452       requirements:
453       - link_vdbe_vdbe_untr_vmi:
454           capability: tosca.capabilities.network.Linkable
455           node: control_int_net
456           relationship: tosca.relationships.network.LinksTo
457   groups:
458     main_group:
459       type: org.openecomp.groups.heat.HeatStack
460       properties:
461         heat_file: ../Artifacts/main.yml
462         description: |
463           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
464       members:
465       - control_int_net
466       - abstract_vdbe