push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / VMInterfaceToNettworkConnection / shared / 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.nested1:
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       abc_flavor:
44         type: string
45         description: Flavor for CMAUI server
46       template_PortTuple_LB1:
47         type: string
48       oam_sec_group_name:
49         type: string
50       lb_st_interface_type_oam:
51         type: string
52       abc_names:
53         type: list
54         description: CMAUI1, CMAUI2 server names
55         entry_schema:
56           type: string
57       security_group_name:
58         description: not impotrtant
59       shared_network_id1:
60         type: string
61         description: UID of OAM network
62       cmaui_image:
63         type: string
64         description: Image for CMAUI server
65       cmaui_flavor:
66         type: string
67         description: Flavor for CMAUI server
68       availability_zone_0:
69         type: string
70         description: availabilityzone name
71       abc_oam_ips:
72         type: string
73       cmaui_oam_ips:
74         type: string
75       abc_image:
76         type: string
77         description: Image for CMAUI server
78     requirements:
79     - link_template_VMInt_OAM_lb_1:
80         capability: tosca.capabilities.network.Linkable
81         node: tosca.nodes.Root
82         relationship: tosca.relationships.network.LinksTo
83         occurrences:
84         - 1
85         - 1
86     - link_template_VMInt_OAM_lb_2:
87         capability: tosca.capabilities.network.Linkable
88         node: tosca.nodes.Root
89         relationship: tosca.relationships.network.LinksTo
90         occurrences:
91         - 1
92         - 1
93     - link_template_VMInt_OAM_lb_3:
94         capability: tosca.capabilities.network.Linkable
95         node: tosca.nodes.Root
96         relationship: tosca.relationships.network.LinksTo
97         occurrences:
98         - 1
99         - 1
100     - local_storage_server_cmaui:
101         capability: tosca.capabilities.Attachment
102         node: tosca.nodes.BlockStorage
103         relationship: tosca.relationships.AttachesTo
104         occurrences:
105         - 0
106         - UNBOUNDED
107     - local_storage_server_abc:
108         capability: tosca.capabilities.Attachment
109         node: tosca.nodes.BlockStorage
110         relationship: tosca.relationships.AttachesTo
111         occurrences:
112         - 0
113         - UNBOUNDED
114     - link_abc_port_1:
115         capability: tosca.capabilities.network.Linkable
116         node: tosca.nodes.Root
117         relationship: tosca.relationships.network.LinksTo
118         occurrences:
119         - 1
120         - 1
121     capabilities:
122       scalable_server_abc:
123         type: tosca.capabilities.Scalable
124         occurrences:
125         - 1
126         - UNBOUNDED
127       host_server_cmaui:
128         type: tosca.capabilities.Container
129         valid_source_types:
130         - tosca.nodes.SoftwareComponent
131         occurrences:
132         - 1
133         - UNBOUNDED
134       os_server_cmaui:
135         type: tosca.capabilities.OperatingSystem
136         occurrences:
137         - 1
138         - UNBOUNDED
139       binding_server_abc:
140         type: tosca.capabilities.network.Bindable
141         occurrences:
142         - 1
143         - UNBOUNDED
144       endpoint_server_cmaui:
145         type: tosca.capabilities.Endpoint.Admin
146         occurrences:
147         - 1
148         - UNBOUNDED
149       attachment_abc_port_1:
150         type: tosca.capabilities.Attachment
151         occurrences:
152         - 1
153         - UNBOUNDED
154       binding_server_cmaui:
155         type: tosca.capabilities.network.Bindable
156         occurrences:
157         - 1
158         - UNBOUNDED
159       endpoint_server_abc:
160         type: tosca.capabilities.Endpoint.Admin
161         occurrences:
162         - 1
163         - UNBOUNDED
164       scalable_server_cmaui:
165         type: tosca.capabilities.Scalable
166         occurrences:
167         - 1
168         - UNBOUNDED
169       host_server_abc:
170         type: tosca.capabilities.Container
171         valid_source_types:
172         - tosca.nodes.SoftwareComponent
173         occurrences:
174         - 1
175         - UNBOUNDED
176       os_server_abc:
177         type: tosca.capabilities.OperatingSystem
178         occurrences:
179         - 1
180         - UNBOUNDED
181   org.openecomp.resource.abstract.nodes.heat.nested2:
182     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
183     properties:
184       cmaui_names:
185         type: list
186         description: CMAUI1, CMAUI2 server names
187         entry_schema:
188           type: string
189       p1:
190         type: string
191         description: UID of OAM network
192       cmaui_image:
193         type: string
194         description: Image for CMAUI server
195       cmaui_flavor:
196         type: string
197         description: Flavor for CMAUI server
198       security_group_name:
199         description: not impotrtant
200       availability_zone_0:
201         type: string
202         description: availabilityzone name
203       abc_oam_ips:
204         type: string
205       cmaui_oam_ips:
206         type: string
207     requirements:
208     - local_storage_server_cmaui:
209         capability: tosca.capabilities.Attachment
210         node: tosca.nodes.BlockStorage
211         relationship: tosca.relationships.AttachesTo
212         occurrences:
213         - 0
214         - UNBOUNDED
215     - link_cmaui_port_1:
216         capability: tosca.capabilities.network.Linkable
217         node: tosca.nodes.Root
218         relationship: tosca.relationships.network.LinksTo
219         occurrences:
220         - 1
221         - 1
222     capabilities:
223       host_server_cmaui:
224         type: tosca.capabilities.Container
225         valid_source_types:
226         - tosca.nodes.SoftwareComponent
227         occurrences:
228         - 1
229         - UNBOUNDED
230       os_server_cmaui:
231         type: tosca.capabilities.OperatingSystem
232         occurrences:
233         - 1
234         - UNBOUNDED
235       endpoint_server_cmaui:
236         type: tosca.capabilities.Endpoint.Admin
237         occurrences:
238         - 1
239         - UNBOUNDED
240       binding_server_cmaui:
241         type: tosca.capabilities.network.Bindable
242         occurrences:
243         - 1
244         - UNBOUNDED
245       scalable_server_cmaui:
246         type: tosca.capabilities.Scalable
247         occurrences:
248         - 1
249         - UNBOUNDED
250       attachment_cmaui_port_1:
251         type: tosca.capabilities.Attachment
252         occurrences:
253         - 1
254         - UNBOUNDED