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