push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / nested3levels / 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     - link_cmaui_port_11_test_nested3_test_nested2:
84         capability: tosca.capabilities.network.Linkable
85         node: tosca.nodes.Root
86         relationship: tosca.relationships.network.LinksTo
87         occurrences:
88         - 1
89         - 1
90     - link_cmaui_port_22_test_nested3_test_nested2:
91         capability: tosca.capabilities.network.Linkable
92         node: tosca.nodes.Root
93         relationship: tosca.relationships.network.LinksTo
94         occurrences:
95         - 1
96         - 1
97     - local_storage_server_cmaui_test_nested3_test_nested2:
98         capability: tosca.capabilities.Attachment
99         node: tosca.nodes.BlockStorage
100         relationship: tosca.relationships.AttachesTo
101         occurrences:
102         - 0
103         - UNBOUNDED
104     - local_storage_server_cmaui_test_nested2:
105         capability: tosca.capabilities.Attachment
106         node: tosca.nodes.BlockStorage
107         relationship: tosca.relationships.AttachesTo
108         occurrences:
109         - 0
110         - UNBOUNDED
111     - local_storage_server_cmaui:
112         capability: tosca.capabilities.Attachment
113         node: tosca.nodes.BlockStorage
114         relationship: tosca.relationships.AttachesTo
115         occurrences:
116         - 0
117         - UNBOUNDED
118     - link_cmaui_port_1:
119         capability: tosca.capabilities.network.Linkable
120         node: tosca.nodes.Root
121         relationship: tosca.relationships.network.LinksTo
122         occurrences:
123         - 1
124         - 1
125     capabilities:
126       os_server_cmaui:
127         type: tosca.capabilities.OperatingSystem
128         occurrences:
129         - 1
130         - UNBOUNDED
131       binding_server_cmaui_test_nested3_test_nested2:
132         type: tosca.capabilities.network.Bindable
133         occurrences:
134         - 1
135         - UNBOUNDED
136       scalable_server_cmaui_test_nested3_test_nested2:
137         type: tosca.capabilities.Scalable
138         occurrences:
139         - 1
140         - UNBOUNDED
141       host_server_cmaui_test_nested3_test_nested2:
142         type: tosca.capabilities.Container
143         valid_source_types:
144         - tosca.nodes.SoftwareComponent
145         occurrences:
146         - 1
147         - UNBOUNDED
148       scalable_server_cmaui:
149         type: tosca.capabilities.Scalable
150         occurrences:
151         - 1
152         - UNBOUNDED
153       attachment_cmaui_port_22_test_nested3_test_nested2:
154         type: tosca.capabilities.Attachment
155         occurrences:
156         - 1
157         - UNBOUNDED
158       host_server_cmaui:
159         type: tosca.capabilities.Container
160         valid_source_types:
161         - tosca.nodes.SoftwareComponent
162         occurrences:
163         - 1
164         - UNBOUNDED
165       attachment_cmaui_port_11_test_nested3_test_nested2:
166         type: tosca.capabilities.Attachment
167         occurrences:
168         - 1
169         - UNBOUNDED
170       endpoint_server_cmaui:
171         type: tosca.capabilities.Endpoint.Admin
172         occurrences:
173         - 1
174         - UNBOUNDED
175       attachment_cmaui_port_11_test_nested2:
176         type: tosca.capabilities.Attachment
177         occurrences:
178         - 1
179         - UNBOUNDED
180       binding_server_cmaui:
181         type: tosca.capabilities.network.Bindable
182         occurrences:
183         - 1
184         - UNBOUNDED
185       attachment_cmaui_port_2:
186         type: tosca.capabilities.Attachment
187         occurrences:
188         - 1
189         - UNBOUNDED
190       endpoint_server_cmaui_test_nested2:
191         type: tosca.capabilities.Endpoint.Admin
192         occurrences:
193         - 1
194         - UNBOUNDED
195       endpoint_server_cmaui_test_nested3_test_nested2:
196         type: tosca.capabilities.Endpoint.Admin
197         occurrences:
198         - 1
199         - UNBOUNDED
200       scalable_server_cmaui_test_nested2:
201         type: tosca.capabilities.Scalable
202         occurrences:
203         - 1
204         - UNBOUNDED
205       host_server_cmaui_test_nested2:
206         type: tosca.capabilities.Container
207         valid_source_types:
208         - tosca.nodes.SoftwareComponent
209         occurrences:
210         - 1
211         - UNBOUNDED
212       binding_server_cmaui_test_nested2:
213         type: tosca.capabilities.network.Bindable
214         occurrences:
215         - 1
216         - UNBOUNDED
217       os_server_cmaui_test_nested2:
218         type: tosca.capabilities.OperatingSystem
219         occurrences:
220         - 1
221         - UNBOUNDED
222       attachment_cmaui_port_22_test_nested2:
223         type: tosca.capabilities.Attachment
224         occurrences:
225         - 1
226         - UNBOUNDED
227       os_server_cmaui_test_nested3_test_nested2:
228         type: tosca.capabilities.OperatingSystem
229         occurrences:
230         - 1
231         - UNBOUNDED
232       attachment_cmaui_port_1:
233         type: tosca.capabilities.Attachment
234         occurrences:
235         - 1
236         - UNBOUNDED
237   org.openecomp.resource.abstract.nodes.heat.nested3level:
238     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
239     properties:
240       cmaui_names:
241         type: list
242         description: CMAUI1, CMAUI2 server names
243         entry_schema:
244           type: string
245       p2:
246         type: string
247         description: UID of OAM network
248       cmaui_image:
249         type: string
250         description: Image for CMAUI server
251       cmaui_flavor:
252         type: string
253         description: Flavor for CMAUI server
254       availability_zone_0:
255         type: string
256         description: availabilityzone name
257       cmaui_oam_ips:
258         type: string
259         description: cmaui_port_1
260       net:
261         type: string
262         description: UID of OAM network
263       shared_security_group_id1:
264         type: string
265         description: UID of OAM network
266     requirements:
267     - link_cmaui_port_11:
268         capability: tosca.capabilities.network.Linkable
269         node: tosca.nodes.Root
270         relationship: tosca.relationships.network.LinksTo
271         occurrences:
272         - 1
273         - 1
274     - link_cmaui_port_22:
275         capability: tosca.capabilities.network.Linkable
276         node: tosca.nodes.Root
277         relationship: tosca.relationships.network.LinksTo
278         occurrences:
279         - 1
280         - 1
281     - local_storage_server_cmaui:
282         capability: tosca.capabilities.Attachment
283         node: tosca.nodes.BlockStorage
284         relationship: tosca.relationships.AttachesTo
285         occurrences:
286         - 0
287         - UNBOUNDED
288     capabilities:
289       host_server_cmaui:
290         type: tosca.capabilities.Container
291         valid_source_types:
292         - tosca.nodes.SoftwareComponent
293         occurrences:
294         - 1
295         - UNBOUNDED
296       os_server_cmaui:
297         type: tosca.capabilities.OperatingSystem
298         occurrences:
299         - 1
300         - UNBOUNDED
301       attachment_cmaui_port_11:
302         type: tosca.capabilities.Attachment
303         occurrences:
304         - 1
305         - UNBOUNDED
306       attachment_cmaui_port_22:
307         type: tosca.capabilities.Attachment
308         occurrences:
309         - 1
310         - UNBOUNDED
311       endpoint_server_cmaui:
312         type: tosca.capabilities.Endpoint.Admin
313         occurrences:
314         - 1
315         - UNBOUNDED
316       binding_server_cmaui:
317         type: tosca.capabilities.network.Bindable
318         occurrences:
319         - 1
320         - UNBOUNDED
321       scalable_server_cmaui:
322         type: tosca.capabilities.Scalable
323         occurrences:
324         - 1
325         - UNBOUNDED
326   org.openecomp.resource.abstract.nodes.heat.nested2level:
327     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
328     properties:
329       cmaui_names:
330         type: list
331         description: CMAUI1, CMAUI2 server names
332         entry_schema:
333           type: string
334       p2:
335         type: string
336         description: UID of OAM network
337       cmaui_image:
338         type: string
339         description: Image for CMAUI server
340       cmaui_flavor:
341         type: string
342         description: Flavor for CMAUI server
343       availability_zone_0:
344         type: string
345         description: availabilityzone name
346       cmaui_oam_ips:
347         type: string
348         description: cmaui_port_1
349       net:
350         type: string
351         description: UID of OAM network
352       shared_security_group_id1:
353         type: string
354         description: UID of OAM network
355     requirements:
356     - link_cmaui_port_11:
357         capability: tosca.capabilities.network.Linkable
358         node: tosca.nodes.Root
359         relationship: tosca.relationships.network.LinksTo
360         occurrences:
361         - 1
362         - 1
363     - link_cmaui_port_22:
364         capability: tosca.capabilities.network.Linkable
365         node: tosca.nodes.Root
366         relationship: tosca.relationships.network.LinksTo
367         occurrences:
368         - 1
369         - 1
370     - link_cmaui_port_11_test_nested3:
371         capability: tosca.capabilities.network.Linkable
372         node: tosca.nodes.Root
373         relationship: tosca.relationships.network.LinksTo
374         occurrences:
375         - 1
376         - 1
377     - link_cmaui_port_22_test_nested3:
378         capability: tosca.capabilities.network.Linkable
379         node: tosca.nodes.Root
380         relationship: tosca.relationships.network.LinksTo
381         occurrences:
382         - 1
383         - 1
384     - local_storage_server_cmaui_test_nested3:
385         capability: tosca.capabilities.Attachment
386         node: tosca.nodes.BlockStorage
387         relationship: tosca.relationships.AttachesTo
388         occurrences:
389         - 0
390         - UNBOUNDED
391     - local_storage_server_cmaui:
392         capability: tosca.capabilities.Attachment
393         node: tosca.nodes.BlockStorage
394         relationship: tosca.relationships.AttachesTo
395         occurrences:
396         - 0
397         - UNBOUNDED
398     capabilities:
399       os_server_cmaui:
400         type: tosca.capabilities.OperatingSystem
401         occurrences:
402         - 1
403         - UNBOUNDED
404       attachment_cmaui_port_22_test_nested3:
405         type: tosca.capabilities.Attachment
406         occurrences:
407         - 1
408         - UNBOUNDED
409       attachment_cmaui_port_11_test_nested3:
410         type: tosca.capabilities.Attachment
411         occurrences:
412         - 1
413         - UNBOUNDED
414       scalable_server_cmaui:
415         type: tosca.capabilities.Scalable
416         occurrences:
417         - 1
418         - UNBOUNDED
419       host_server_cmaui:
420         type: tosca.capabilities.Container
421         valid_source_types:
422         - tosca.nodes.SoftwareComponent
423         occurrences:
424         - 1
425         - UNBOUNDED
426       attachment_cmaui_port_11:
427         type: tosca.capabilities.Attachment
428         occurrences:
429         - 1
430         - UNBOUNDED
431       attachment_cmaui_port_22:
432         type: tosca.capabilities.Attachment
433         occurrences:
434         - 1
435         - UNBOUNDED
436       host_server_cmaui_test_nested3:
437         type: tosca.capabilities.Container
438         valid_source_types:
439         - tosca.nodes.SoftwareComponent
440         occurrences:
441         - 1
442         - UNBOUNDED
443       endpoint_server_cmaui:
444         type: tosca.capabilities.Endpoint.Admin
445         occurrences:
446         - 1
447         - UNBOUNDED
448       binding_server_cmaui:
449         type: tosca.capabilities.network.Bindable
450         occurrences:
451         - 1
452         - UNBOUNDED
453       endpoint_server_cmaui_test_nested3:
454         type: tosca.capabilities.Endpoint.Admin
455         occurrences:
456         - 1
457         - UNBOUNDED
458       os_server_cmaui_test_nested3:
459         type: tosca.capabilities.OperatingSystem
460         occurrences:
461         - 1
462         - UNBOUNDED
463       binding_server_cmaui_test_nested3:
464         type: tosca.capabilities.network.Bindable
465         occurrences:
466         - 1
467         - UNBOUNDED
468       scalable_server_cmaui_test_nested3:
469         type: tosca.capabilities.Scalable
470         occurrences:
471         - 1
472         - UNBOUNDED