[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 / VlanToNetConnection / shared / expectedoutputfiles / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5 - CommonGlobalTypes:
6     file: CommonGlobalTypesServiceTemplate.yaml
7 - NovaServerGlobalTypes:
8     file: NovaServerGlobalTypesServiceTemplate.yaml
9 - NeutronPortGlobalTypes:
10     file: NeutronPortGlobalTypesServiceTemplate.yaml
11 - NeutronSecurityRulesGlobalTypes:
12     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
13 - NeutronNetGlobalTypes:
14     file: NeutronNetGlobalTypesServiceTemplate.yaml
15 - CinderVolumeGlobalTypes:
16     file: CinderVolumeGlobalTypesServiceTemplate.yaml
17 - ContrailVirtualNetworkGlobalType:
18     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
19 - ContrailNetworkRuleGlobalType:
20     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
21 - AbstractSubstituteGlobalTypes:
22     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
23 - ContrailV2VirtualMachineInterfaceGlobalType:
24     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
25 - ContrailComputeGlobalTypes:
26     file: ContrailComputeGlobalTypesServiceTemplate.yaml
27 - ContrailPortGlobalTypes:
28     file: ContrailPortGlobalTypesServiceTemplate.yaml
29 - ContrailAbstractSubstituteGlobalTypes:
30     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
31 - ContrailV2VirtualNetworkGlobalType:
32     file: ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml
33 - ContrailV2NetworkRuleGlobalType:
34     file: ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml
35 - ContrailV2VLANSubInterfaceGlobalType:
36     file: ContrailV2VLANSubInterfaceGlobalTypeServiceTemplate.yaml
37 node_types:
38   org.openecomp.resource.abstract.nodes.heat.nested1:
39     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
40     properties:
41       cmaui_names:
42         type: list
43         description: CMAUI1, CMAUI2 server names
44         required: true
45         status: SUPPORTED
46         entry_schema:
47           type: string
48       p2:
49         type: string
50         description: UID of OAM network
51         required: true
52         status: SUPPORTED
53       abc_flavor:
54         type: string
55         description: Flavor for CMAUI server
56         required: true
57         status: SUPPORTED
58       template_PortTuple_LB1:
59         type: string
60         required: true
61         status: SUPPORTED
62       oam_sec_group_name:
63         type: string
64         required: true
65         status: SUPPORTED
66       lb_st_interface_type_oam:
67         type: string
68         required: true
69         status: SUPPORTED
70       virtual_ip_address:
71         type: string
72         required: true
73         status: SUPPORTED
74       abc_names:
75         type: list
76         description: CMAUI1, CMAUI2 server names
77         required: true
78         status: SUPPORTED
79         entry_schema:
80           type: string
81       security_group_name:
82         description: not impotrtant
83         required: true
84         status: SUPPORTED
85       vlan_ids:
86         type: string
87         required: true
88         status: SUPPORTED
89       shared_network_id1:
90         type: string
91         description: UID of OAM network
92         required: true
93         status: SUPPORTED
94       cmaui_image:
95         type: string
96         description: Image for CMAUI server
97         required: true
98         status: SUPPORTED
99       virtual_ipv6_address:
100         type: string
101         required: true
102         status: SUPPORTED
103       cmaui_flavor:
104         type: string
105         description: Flavor for CMAUI server
106         required: true
107         status: SUPPORTED
108       lb_st_vlan_type_oam:
109         type: string
110         description: dummy
111         required: true
112         status: SUPPORTED
113       mac_address:
114         type: string
115         required: true
116         status: SUPPORTED
117       availability_zone_0:
118         type: string
119         description: availabilityzone name
120         required: true
121         status: SUPPORTED
122       abc_oam_ips:
123         type: string
124         required: true
125         status: SUPPORTED
126       subinterface_name_prefix:
127         type: string
128         required: true
129         status: SUPPORTED
130       subinterface_instance_index:
131         type: float
132         required: true
133         status: SUPPORTED
134       cmaui_oam_ips:
135         type: string
136         required: true
137         status: SUPPORTED
138       abc_image:
139         type: string
140         description: Image for CMAUI server
141         required: true
142         status: SUPPORTED
143     requirements:
144     - link_template_VMInt_OAM_lb_1:
145         capability: tosca.capabilities.network.Linkable
146         node: tosca.nodes.Root
147         relationship: tosca.relationships.network.LinksTo
148         occurrences:
149         - 1
150         - 1
151     - link_template_VMInt_OAM_lb_2:
152         capability: tosca.capabilities.network.Linkable
153         node: tosca.nodes.Root
154         relationship: tosca.relationships.network.LinksTo
155         occurrences:
156         - 1
157         - 1
158     - link_template_VMInt_OAM_lb_3:
159         capability: tosca.capabilities.network.Linkable
160         node: tosca.nodes.Root
161         relationship: tosca.relationships.network.LinksTo
162         occurrences:
163         - 1
164         - 1
165     - local_storage_server_cmaui:
166         capability: tosca.capabilities.Attachment
167         node: tosca.nodes.BlockStorage
168         relationship: tosca.relationships.AttachesTo
169         occurrences:
170         - 0
171         - UNBOUNDED
172     - local_storage_server_abc:
173         capability: tosca.capabilities.Attachment
174         node: tosca.nodes.BlockStorage
175         relationship: tosca.relationships.AttachesTo
176         occurrences:
177         - 0
178         - UNBOUNDED
179     - link_template_Vlan_3:
180         capability: tosca.capabilities.network.Linkable
181         node: tosca.nodes.Root
182         relationship: tosca.relationships.network.LinksTo
183         occurrences:
184         - 1
185         - 1
186     - link_abc_port_1:
187         capability: tosca.capabilities.network.Linkable
188         node: tosca.nodes.Root
189         relationship: tosca.relationships.network.LinksTo
190         occurrences:
191         - 1
192         - 1
193     - link_template_Vlan_2:
194         capability: tosca.capabilities.network.Linkable
195         node: tosca.nodes.Root
196         relationship: tosca.relationships.network.LinksTo
197         occurrences:
198         - 1
199         - 1
200     - link_template_Vlan_1:
201         capability: tosca.capabilities.network.Linkable
202         node: tosca.nodes.Root
203         relationship: tosca.relationships.network.LinksTo
204         occurrences:
205         - 1
206         - 1
207     capabilities:
208       scalable_server_abc:
209         type: tosca.capabilities.Scalable
210         occurrences:
211         - 1
212         - UNBOUNDED
213       os_server_cmaui:
214         type: tosca.capabilities.OperatingSystem
215         occurrences:
216         - 1
217         - UNBOUNDED
218       binding_template_VMInt_OAM_lb_2:
219         type: tosca.capabilities.network.Bindable
220         valid_source_types:
221         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
222         occurrences:
223         - 0
224         - UNBOUNDED
225       binding_template_VMInt_OAM_lb_1:
226         type: tosca.capabilities.network.Bindable
227         valid_source_types:
228         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
229         occurrences:
230         - 0
231         - UNBOUNDED
232       attachment_abc_port_1:
233         type: tosca.capabilities.Attachment
234         occurrences:
235         - 1
236         - UNBOUNDED
237       scalable_server_cmaui:
238         type: tosca.capabilities.Scalable
239         occurrences:
240         - 1
241         - UNBOUNDED
242       host_server_abc:
243         type: tosca.capabilities.Container
244         valid_source_types:
245         - tosca.nodes.SoftwareComponent
246         occurrences:
247         - 1
248         - UNBOUNDED
249       os_server_abc:
250         type: tosca.capabilities.OperatingSystem
251         occurrences:
252         - 1
253         - UNBOUNDED
254       host_server_cmaui:
255         type: tosca.capabilities.Container
256         valid_source_types:
257         - tosca.nodes.SoftwareComponent
258         occurrences:
259         - 1
260         - UNBOUNDED
261       binding_server_abc:
262         type: tosca.capabilities.network.Bindable
263         occurrences:
264         - 1
265         - UNBOUNDED
266       endpoint_server_cmaui:
267         type: tosca.capabilities.Endpoint.Admin
268         occurrences:
269         - 1
270         - UNBOUNDED
271       binding_abc_port_1:
272         type: tosca.capabilities.network.Bindable
273         valid_source_types:
274         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
275         occurrences:
276         - 0
277         - UNBOUNDED
278       binding_server_cmaui:
279         type: tosca.capabilities.network.Bindable
280         occurrences:
281         - 1
282         - UNBOUNDED
283       endpoint_server_abc:
284         type: tosca.capabilities.Endpoint.Admin
285         occurrences:
286         - 1
287         - UNBOUNDED
288       binding_template_VMInt_OAM_lb_3:
289         type: tosca.capabilities.network.Bindable
290         valid_source_types:
291         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
292         occurrences:
293         - 0
294         - UNBOUNDED
295   org.openecomp.resource.abstract.nodes.heat.nested2:
296     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
297     properties:
298       cmaui_names:
299         type: list
300         description: CMAUI1, CMAUI2 server names
301         required: true
302         status: SUPPORTED
303         entry_schema:
304           type: string
305       p1:
306         type: string
307         description: UID of OAM network
308         required: true
309         status: SUPPORTED
310       virtual_ip_address:
311         type: string
312         required: true
313         status: SUPPORTED
314       security_group_name:
315         description: not impotrtant
316         required: true
317         status: SUPPORTED
318       vlan_ids:
319         type: string
320         required: true
321         status: SUPPORTED
322       cmaui_image:
323         type: string
324         description: Image for CMAUI server
325         required: true
326         status: SUPPORTED
327       virtual_ipv6_address:
328         type: string
329         required: true
330         status: SUPPORTED
331       cmaui_flavor:
332         type: string
333         description: Flavor for CMAUI server
334         required: true
335         status: SUPPORTED
336       lb_st_vlan_type_oam:
337         type: string
338         description: dummy
339         required: true
340         status: SUPPORTED
341       mac_address:
342         type: string
343         required: true
344         status: SUPPORTED
345       availability_zone_0:
346         type: string
347         description: availabilityzone name
348         required: true
349         status: SUPPORTED
350       abc_oam_ips:
351         type: string
352         required: true
353         status: SUPPORTED
354       subinterface_name_prefix:
355         type: string
356         required: true
357         status: SUPPORTED
358       subinterface_instance_index:
359         type: float
360         required: true
361         status: SUPPORTED
362       cmaui_oam_ips:
363         type: string
364         required: true
365         status: SUPPORTED
366     requirements:
367     - local_storage_server_cmaui:
368         capability: tosca.capabilities.Attachment
369         node: tosca.nodes.BlockStorage
370         relationship: tosca.relationships.AttachesTo
371         occurrences:
372         - 0
373         - UNBOUNDED
374     - link_template_Vlan_3:
375         capability: tosca.capabilities.network.Linkable
376         node: tosca.nodes.Root
377         relationship: tosca.relationships.network.LinksTo
378         occurrences:
379         - 1
380         - 1
381     - link_cmaui_port_1:
382         capability: tosca.capabilities.network.Linkable
383         node: tosca.nodes.Root
384         relationship: tosca.relationships.network.LinksTo
385         occurrences:
386         - 1
387         - 1
388     capabilities:
389       host_server_cmaui:
390         type: tosca.capabilities.Container
391         valid_source_types:
392         - tosca.nodes.SoftwareComponent
393         occurrences:
394         - 1
395         - UNBOUNDED
396       os_server_cmaui:
397         type: tosca.capabilities.OperatingSystem
398         occurrences:
399         - 1
400         - UNBOUNDED
401       binding_cmaui_port_1:
402         type: tosca.capabilities.network.Bindable
403         valid_source_types:
404         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
405         occurrences:
406         - 0
407         - UNBOUNDED
408       endpoint_server_cmaui:
409         type: tosca.capabilities.Endpoint.Admin
410         occurrences:
411         - 1
412         - UNBOUNDED
413       binding_server_cmaui:
414         type: tosca.capabilities.network.Bindable
415         occurrences:
416         - 1
417         - UNBOUNDED
418       scalable_server_cmaui:
419         type: tosca.capabilities.Scalable
420         occurrences:
421         - 1
422         - UNBOUNDED
423       attachment_cmaui_port_1:
424         type: tosca.capabilities.Attachment
425         occurrences:
426         - 1
427         - UNBOUNDED