[SDC-29] rebase continue work to align source
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / contrail2serviceinstance / connectToNetworkSharedMultiNested / expectedoutputfiles / MainServiceTemplate.yaml
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     Internal1_shared:
12       hidden: false
13       immutable: false
14       type: string
15     Internal1_forwarding_mode:
16       hidden: false
17       immutable: false
18       type: string
19     Internal2_net_name:
20       hidden: false
21       immutable: false
22       type: string
23     Internal2_forwarding_mode:
24       hidden: false
25       immutable: false
26       type: string
27     Internal2_shared:
28       hidden: false
29       immutable: false
30       type: string
31     Internal1_net_name:
32       hidden: false
33       immutable: false
34       type: string
35   node_templates:
36     Internal2-net:
37       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
38       properties:
39         shared:
40           get_input: Internal1_shared
41         forwarding_mode:
42           get_input: Internal1_forwarding_mode
43         network_name:
44           get_input: Internal1_net_name
45     Internal1-net:
46       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
47       properties:
48         shared:
49           get_input: Internal1_shared
50         forwarding_mode:
51           get_input: Internal1_forwarding_mode
52         network_name:
53           get_input: Internal1_net_name
54     test_nested0:
55       type: org.openecomp.resource.abstract.nodes.heat.OCS-fw
56       directives:
57       - substitutable
58       properties:
59         network_param2: Internal2-net
60         service_template_filter:
61           substitute_service_template: OCS-fwServiceTemplate.yaml
62         network_param1: Internal1-net
63       requirements:
64       - link_port_0_service_instance2:
65           capability: tosca.capabilities.network.Linkable
66           node: Internal2-net
67           relationship: tosca.relationships.network.LinksTo
68       - link_port_1_service_instance2:
69           capability: tosca.capabilities.network.Linkable
70           node: Internal1-net
71           relationship: tosca.relationships.network.LinksTo
72       - link_port_2_service_instance2:
73           capability: tosca.capabilities.network.Linkable
74           node: Internal2-net
75           relationship: tosca.relationships.network.LinksTo
76       - link_port_0_service_instance1:
77           capability: tosca.capabilities.network.Linkable
78           node: Internal1-net
79           relationship: tosca.relationships.network.LinksTo
80       - link_port_1_service_instance1:
81           capability: tosca.capabilities.network.Linkable
82           node: Internal1-net
83           relationship: tosca.relationships.network.LinksTo
84       - link_port_2_service_instance1:
85           capability: tosca.capabilities.network.Linkable
86           node: Internal2-net
87           relationship: tosca.relationships.network.LinksTo
88       - link_port_0_service_instance1_test_nested2:
89           capability: tosca.capabilities.network.Linkable
90           node: Internal2-net
91           relationship: tosca.relationships.network.LinksTo
92       - link_port_1_service_instance1_test_nested2:
93           capability: tosca.capabilities.network.Linkable
94           node: Internal1-net
95           relationship: tosca.relationships.network.LinksTo
96       - link_port_2_service_instance1_test_nested2:
97           capability: tosca.capabilities.network.Linkable
98           node: Internal2-net
99           relationship: tosca.relationships.network.LinksTo
100       - link_port_0_service_instance4_test_nested3_test_nested2:
101           capability: tosca.capabilities.network.Linkable
102           node: Internal1-net
103           relationship: tosca.relationships.network.LinksTo
104       - link_port_1_service_instance4_test_nested3_test_nested2:
105           capability: tosca.capabilities.network.Linkable
106           node: Internal1-net
107           relationship: tosca.relationships.network.LinksTo
108       - link_port_2_service_instance4_test_nested3_test_nested2:
109           capability: tosca.capabilities.network.Linkable
110           node: Internal1-net
111           relationship: tosca.relationships.network.LinksTo
112       - link_port_0_service_instance3_test_nested2:
113           capability: tosca.capabilities.network.Linkable
114           node: Internal1-net
115           relationship: tosca.relationships.network.LinksTo
116       - link_port_1_service_instance3_test_nested2:
117           capability: tosca.capabilities.network.Linkable
118           node: Internal1-net
119           relationship: tosca.relationships.network.LinksTo
120       - link_port_2_service_instance3_test_nested2:
121           capability: tosca.capabilities.network.Linkable
122           node: Internal2-net
123           relationship: tosca.relationships.network.LinksTo
124     test_nested1:
125       type: org.openecomp.resource.abstract.nodes.heat.OCS-fw
126       directives:
127       - substitutable
128       properties:
129         network_param2: Internal2-net
130         service_template_filter:
131           substitute_service_template: OCS-fwServiceTemplate.yaml
132         network_param1: Internal1-net
133       requirements:
134       - link_port_0_service_instance2:
135           capability: tosca.capabilities.network.Linkable
136           node: Internal2-net
137           relationship: tosca.relationships.network.LinksTo
138       - link_port_1_service_instance2:
139           capability: tosca.capabilities.network.Linkable
140           node: Internal1-net
141           relationship: tosca.relationships.network.LinksTo
142       - link_port_2_service_instance2:
143           capability: tosca.capabilities.network.Linkable
144           node: Internal2-net
145           relationship: tosca.relationships.network.LinksTo
146       - link_port_0_service_instance1:
147           capability: tosca.capabilities.network.Linkable
148           node: Internal1-net
149           relationship: tosca.relationships.network.LinksTo
150       - link_port_1_service_instance1:
151           capability: tosca.capabilities.network.Linkable
152           node: Internal1-net
153           relationship: tosca.relationships.network.LinksTo
154       - link_port_2_service_instance1:
155           capability: tosca.capabilities.network.Linkable
156           node: Internal2-net
157           relationship: tosca.relationships.network.LinksTo
158       - link_port_0_service_instance1_test_nested2:
159           capability: tosca.capabilities.network.Linkable
160           node: Internal2-net
161           relationship: tosca.relationships.network.LinksTo
162       - link_port_1_service_instance1_test_nested2:
163           capability: tosca.capabilities.network.Linkable
164           node: Internal1-net
165           relationship: tosca.relationships.network.LinksTo
166       - link_port_2_service_instance1_test_nested2:
167           capability: tosca.capabilities.network.Linkable
168           node: Internal2-net
169           relationship: tosca.relationships.network.LinksTo
170       - link_port_0_service_instance4_test_nested3_test_nested2:
171           capability: tosca.capabilities.network.Linkable
172           node: Internal1-net
173           relationship: tosca.relationships.network.LinksTo
174       - link_port_1_service_instance4_test_nested3_test_nested2:
175           capability: tosca.capabilities.network.Linkable
176           node: Internal1-net
177           relationship: tosca.relationships.network.LinksTo
178       - link_port_2_service_instance4_test_nested3_test_nested2:
179           capability: tosca.capabilities.network.Linkable
180           node: Internal1-net
181           relationship: tosca.relationships.network.LinksTo
182       - link_port_0_service_instance3_test_nested2:
183           capability: tosca.capabilities.network.Linkable
184           node: Internal1-net
185           relationship: tosca.relationships.network.LinksTo
186       - link_port_1_service_instance3_test_nested2:
187           capability: tosca.capabilities.network.Linkable
188           node: Internal1-net
189           relationship: tosca.relationships.network.LinksTo
190       - link_port_2_service_instance3_test_nested2:
191           capability: tosca.capabilities.network.Linkable
192           node: Internal2-net
193           relationship: tosca.relationships.network.LinksTo
194   groups:
195     base_group:
196       type: org.openecomp.groups.heat.HeatStack
197       properties:
198         heat_file: ../Artifacts/base.yml
199         description: ASC External Networks Template
200       members:
201       - Internal2-net
202       - Internal1-net
203       - test_nested0
204     addOn_group:
205       type: org.openecomp.groups.heat.HeatStack
206       properties:
207         heat_file: ../Artifacts/addOn.yml
208         description: ASC External Networks Template
209       members:
210       - Internal2-net
211       - Internal1-net
212       - test_nested1