[SDC-29] Amdocs OnBoard 1707 initial commit.
[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_nested:
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   groups:
125     base_group:
126       type: org.openecomp.groups.heat.HeatStack
127       properties:
128         heat_file: ../Artifacts/base.yml
129         description: ASC External Networks Template
130       members:
131       - Internal2-net
132       - Internal1-net
133       - test_nested
134     addOn_group:
135       type: org.openecomp.groups.heat.HeatStack
136       properties:
137         heat_file: ../Artifacts/addOn.yml
138         description: ASC External Networks Template
139       members:
140       - Internal2-net
141       - Internal1-net
142       - test_nested