push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / nested2levels / expectedoutputfiles / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5   ContrailComputeGlobalTypes:
6     file: ContrailComputeGlobalTypesServiceTemplate.yaml
7   CinderVolumeGlobalTypes:
8     file: CinderVolumeGlobalTypesServiceTemplate.yaml
9   ContrailVirtualNetworkGlobalType:
10     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
11   AbstractSubstituteGlobalTypes:
12     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
13   ContrailPortGlobalTypes:
14     file: ContrailPortGlobalTypesServiceTemplate.yaml
15   NeutronPortGlobalTypes:
16     file: NeutronPortGlobalTypesServiceTemplate.yaml
17   NeutronNetGlobalTypes:
18     file: NeutronNetGlobalTypesServiceTemplate.yaml
19   CommonGlobalTypes:
20     file: CommonGlobalTypesServiceTemplate.yaml
21   ContrailAbstractSubstituteGlobalTypes:
22     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
23   ContrailNetworkRuleGlobalType:
24     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
25   NeutronSecurityRulesGlobalTypes:
26     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
27   NovaServerGlobalTypes:
28     file: NovaServerGlobalTypesServiceTemplate.yaml
29   ContrailV2VirtualMachineInterfaceGlobalType:
30     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
31 node_types:
32   org.openecomp.resource.abstract.nodes.heat.nested:
33     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
34     properties:
35       cmaui_names:
36         type: list
37         description: CMAUI1, CMAUI2 server names
38         entry_schema:
39           type: string
40       p2:
41         type: string
42         description: UID of OAM network
43       cmaui_image:
44         type: string
45         description: Image for CMAUI server
46       cmaui_flavor:
47         type: string
48         description: Flavor for CMAUI server
49       availability_zone_0:
50         type: string
51         description: availabilityzone name
52       cmaui_oam_ips:
53         type: string
54         description: cmaui_port_1
55       net:
56         type: string
57         description: UID of OAM network
58       shared_security_group_id1:
59         type: string
60         description: UID of OAM network
61     requirements:
62     - link_cmaui_port_2:
63         capability: tosca.capabilities.network.Linkable
64         node: tosca.nodes.Root
65         relationship: tosca.relationships.network.LinksTo
66         occurrences:
67         - 1
68         - 1
69     - link_cmaui_port_11_test_nested2:
70         capability: tosca.capabilities.network.Linkable
71         node: tosca.nodes.Root
72         relationship: tosca.relationships.network.LinksTo
73         occurrences:
74         - 1
75         - 1
76     - link_cmaui_port_22_test_nested2:
77         capability: tosca.capabilities.network.Linkable
78         node: tosca.nodes.Root
79         relationship: tosca.relationships.network.LinksTo
80         occurrences:
81         - 1
82         - 1
83     - local_storage_server_cmaui_test_nested2:
84         capability: tosca.capabilities.Attachment
85         node: tosca.nodes.BlockStorage
86         relationship: tosca.relationships.AttachesTo
87         occurrences:
88         - 0
89         - UNBOUNDED
90     - local_storage_server_cmaui:
91         capability: tosca.capabilities.Attachment
92         node: tosca.nodes.BlockStorage
93         relationship: tosca.relationships.AttachesTo
94         occurrences:
95         - 0
96         - UNBOUNDED
97     - link_cmaui_port_1:
98         capability: tosca.capabilities.network.Linkable
99         node: tosca.nodes.Root
100         relationship: tosca.relationships.network.LinksTo
101         occurrences:
102         - 1
103         - 1
104     capabilities:
105       os_server_cmaui:
106         type: tosca.capabilities.OperatingSystem
107         occurrences:
108         - 1
109         - UNBOUNDED
110       scalable_server_cmaui:
111         type: tosca.capabilities.Scalable
112         occurrences:
113         - 1
114         - UNBOUNDED
115       host_server_cmaui:
116         type: tosca.capabilities.Container
117         valid_source_types:
118         - tosca.nodes.SoftwareComponent
119         occurrences:
120         - 1
121         - UNBOUNDED
122       endpoint_server_cmaui:
123         type: tosca.capabilities.Endpoint.Admin
124         occurrences:
125         - 1
126         - UNBOUNDED
127       attachment_cmaui_port_11_test_nested2:
128         type: tosca.capabilities.Attachment
129         occurrences:
130         - 1
131         - UNBOUNDED
132       binding_server_cmaui:
133         type: tosca.capabilities.network.Bindable
134         occurrences:
135         - 1
136         - UNBOUNDED
137       attachment_cmaui_port_2:
138         type: tosca.capabilities.Attachment
139         occurrences:
140         - 1
141         - UNBOUNDED
142       endpoint_server_cmaui_test_nested2:
143         type: tosca.capabilities.Endpoint.Admin
144         occurrences:
145         - 1
146         - UNBOUNDED
147       host_server_cmaui_test_nested2:
148         type: tosca.capabilities.Container
149         valid_source_types:
150         - tosca.nodes.SoftwareComponent
151         occurrences:
152         - 1
153         - UNBOUNDED
154       binding_server_cmaui_test_nested2:
155         type: tosca.capabilities.network.Bindable
156         occurrences:
157         - 1
158         - UNBOUNDED
159       scalable_server_cmaui_test_nested2:
160         type: tosca.capabilities.Scalable
161         occurrences:
162         - 1
163         - UNBOUNDED
164       os_server_cmaui_test_nested2:
165         type: tosca.capabilities.OperatingSystem
166         occurrences:
167         - 1
168         - UNBOUNDED
169       attachment_cmaui_port_22_test_nested2:
170         type: tosca.capabilities.Attachment
171         occurrences:
172         - 1
173         - UNBOUNDED
174       attachment_cmaui_port_1:
175         type: tosca.capabilities.Attachment
176         occurrences:
177         - 1
178         - UNBOUNDED
179   org.openecomp.resource.abstract.nodes.heat.nested2level:
180     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
181     properties:
182       cmaui_names:
183         type: list
184         description: CMAUI1, CMAUI2 server names
185         entry_schema:
186           type: string
187       p2:
188         type: string
189         description: UID of OAM network
190       cmaui_image:
191         type: string
192         description: Image for CMAUI server
193       cmaui_flavor:
194         type: string
195         description: Flavor for CMAUI server
196       availability_zone_0:
197         type: string
198         description: availabilityzone name
199       cmaui_oam_ips:
200         type: string
201         description: cmaui_port_1
202       net:
203         type: string
204         description: UID of OAM network
205       shared_security_group_id1:
206         type: string
207         description: UID of OAM network
208     requirements:
209     - link_cmaui_port_11:
210         capability: tosca.capabilities.network.Linkable
211         node: tosca.nodes.Root
212         relationship: tosca.relationships.network.LinksTo
213         occurrences:
214         - 1
215         - 1
216     - link_cmaui_port_22:
217         capability: tosca.capabilities.network.Linkable
218         node: tosca.nodes.Root
219         relationship: tosca.relationships.network.LinksTo
220         occurrences:
221         - 1
222         - 1
223     - local_storage_server_cmaui:
224         capability: tosca.capabilities.Attachment
225         node: tosca.nodes.BlockStorage
226         relationship: tosca.relationships.AttachesTo
227         occurrences:
228         - 0
229         - UNBOUNDED
230     capabilities:
231       host_server_cmaui:
232         type: tosca.capabilities.Container
233         valid_source_types:
234         - tosca.nodes.SoftwareComponent
235         occurrences:
236         - 1
237         - UNBOUNDED
238       os_server_cmaui:
239         type: tosca.capabilities.OperatingSystem
240         occurrences:
241         - 1
242         - UNBOUNDED
243       attachment_cmaui_port_11:
244         type: tosca.capabilities.Attachment
245         occurrences:
246         - 1
247         - UNBOUNDED
248       attachment_cmaui_port_22:
249         type: tosca.capabilities.Attachment
250         occurrences:
251         - 1
252         - UNBOUNDED
253       endpoint_server_cmaui:
254         type: tosca.capabilities.Endpoint.Admin
255         occurrences:
256         - 1
257         - UNBOUNDED
258       binding_server_cmaui:
259         type: tosca.capabilities.network.Bindable
260         occurrences:
261         - 1
262         - UNBOUNDED
263       scalable_server_cmaui:
264         type: tosca.capabilities.Scalable
265         occurrences:
266         - 1
267         - UNBOUNDED