push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / recursive / 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-pcm_v0.1_2:
33     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
34     properties:
35       pcm_flavor_name:
36         type: string
37         description: flavor name of PCRF CM instance
38       availabilityzone_name:
39         type: string
40         description: availabilityzone name
41       pcm_image_name:
42         type: string
43         description: PCRF CM image name
44       pcm_vol:
45         type: string
46         description: CPS Cluman Cinder Volume
47       security_group_name:
48         type: string
49         description: the name of security group
50       cps_net_ip:
51         type: string
52         description: CPS network ip
53       pcm_server_name:
54         type: string
55         description: PCRF CM server name
56       cps_net_name:
57         type: string
58         description: CPS network name
59       cps_net_mask:
60         type: string
61         description: CPS network mask
62       oam_net_ip:
63         type: string
64       oam_net_name:
65         type: string
66         description: OAM network name
67     attributes:
68       server_pcm_id:
69         type: string
70         description: the pcm nova service id
71     requirements:
72     - link_pcm_port_1:
73         capability: tosca.capabilities.network.Linkable
74         node: tosca.nodes.Root
75         relationship: tosca.relationships.network.LinksTo
76         occurrences:
77         - 1
78         - 1
79     - local_storage_server_pcm:
80         capability: tosca.capabilities.Attachment
81         node: tosca.nodes.BlockStorage
82         relationship: tosca.relationships.AttachesTo
83         occurrences:
84         - 0
85         - UNBOUNDED
86     - link_pcm_port_0:
87         capability: tosca.capabilities.network.Linkable
88         node: tosca.nodes.Root
89         relationship: tosca.relationships.network.LinksTo
90         occurrences:
91         - 1
92         - 1
93     capabilities:
94       endpoint_server_pcm:
95         type: tosca.capabilities.Endpoint.Admin
96         occurrences:
97         - 1
98         - UNBOUNDED
99       link_network:
100         type: tosca.capabilities.network.Linkable
101         occurrences:
102         - 1
103         - UNBOUNDED
104       os_server_pcm:
105         type: tosca.capabilities.OperatingSystem
106         occurrences:
107         - 1
108         - UNBOUNDED
109       host_server_pcm:
110         type: tosca.capabilities.Container
111         valid_source_types:
112         - tosca.nodes.SoftwareComponent
113         occurrences:
114         - 1
115         - UNBOUNDED
116       scalable_server_pcm:
117         type: tosca.capabilities.Scalable
118         occurrences:
119         - 1
120         - UNBOUNDED
121       attachment_network:
122         type: tosca.capabilities.Attachment
123         occurrences:
124         - 1
125         - UNBOUNDED
126       binding_server_pcm:
127         type: tosca.capabilities.network.Bindable
128         occurrences:
129         - 1
130         - UNBOUNDED
131       attachment_pcm_port_0:
132         type: tosca.capabilities.Attachment
133         occurrences:
134         - 1
135         - UNBOUNDED
136       attachment_pcm_port_1:
137         type: tosca.capabilities.Attachment
138         occurrences:
139         - 1
140         - UNBOUNDED
141   org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1:
142     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
143     properties:
144       availabilityzone_name:
145         type: string
146         description: availabilityzone name
147       oam_net_gw:
148         type: string
149         description: CPS network gateway
150       pcm_image_name:
151         type: string
152         description: PCRF CM image name
153       cps_net_ips:
154         type: string
155         description: CPS network ip
156       security_group_name:
157         type: string
158         description: the name of security group
159       cps_net_ip:
160         type: string
161         description: CPS network ip
162       pcm_volumes:
163         type: string
164         description: CPS Cluman Cinder Volume
165       pcm_flavor_name:
166         type: string
167         description: flavor name of PCRF CM instance
168       pcm_vol:
169         type: string
170         description: CPS Cluman Cinder Volume
171       pcm_server_name:
172         type: string
173         description: PCRF CM server name
174       cps_net_name:
175         type: string
176         description: CPS network name
177       cps_net_mask:
178         type: string
179         description: CPS network mask
180       oam_net_ip:
181         type: string
182         description: OAM network ip
183       oam_net_mask:
184         type: string
185         description: CPS network mask
186       oam_net_name:
187         type: string
188         description: OAM network name
189     attributes:
190       server_pcm_id:
191         type: string
192         description: the pcm nova service id
193     requirements:
194     - link_pcm_port_1:
195         capability: tosca.capabilities.network.Linkable
196         node: tosca.nodes.Root
197         relationship: tosca.relationships.network.LinksTo
198         occurrences:
199         - 1
200         - 1
201     - local_storage_server_pcm:
202         capability: tosca.capabilities.Attachment
203         node: tosca.nodes.BlockStorage
204         relationship: tosca.relationships.AttachesTo
205         occurrences:
206         - 0
207         - UNBOUNDED
208     - link_pcm_port_1_server_pcm_005:
209         capability: tosca.capabilities.network.Linkable
210         node: tosca.nodes.Root
211         relationship: tosca.relationships.network.LinksTo
212         occurrences:
213         - 1
214         - 1
215     - local_storage_server_pcm_server_pcm_005:
216         capability: tosca.capabilities.Attachment
217         node: tosca.nodes.BlockStorage
218         relationship: tosca.relationships.AttachesTo
219         occurrences:
220         - 0
221         - UNBOUNDED
222     - link_pcm_port_0_server_pcm_005:
223         capability: tosca.capabilities.network.Linkable
224         node: tosca.nodes.Root
225         relationship: tosca.relationships.network.LinksTo
226         occurrences:
227         - 1
228         - 1
229     - link_pcm_port_0:
230         capability: tosca.capabilities.network.Linkable
231         node: tosca.nodes.Root
232         relationship: tosca.relationships.network.LinksTo
233         occurrences:
234         - 1
235         - 1
236     capabilities:
237       endpoint_server_pcm:
238         type: tosca.capabilities.Endpoint.Admin
239         occurrences:
240         - 1
241         - UNBOUNDED
242       host_server_pcm:
243         type: tosca.capabilities.Container
244         valid_source_types:
245         - tosca.nodes.SoftwareComponent
246         occurrences:
247         - 1
248         - UNBOUNDED
249       host_server_pcm_server_pcm_005:
250         type: tosca.capabilities.Container
251         valid_source_types:
252         - tosca.nodes.SoftwareComponent
253         occurrences:
254         - 1
255         - UNBOUNDED
256       os_server_pcm_server_pcm_005:
257         type: tosca.capabilities.OperatingSystem
258         occurrences:
259         - 1
260         - UNBOUNDED
261       scalable_server_pcm_server_pcm_005:
262         type: tosca.capabilities.Scalable
263         occurrences:
264         - 1
265         - UNBOUNDED
266       binding_server_pcm_server_pcm_005:
267         type: tosca.capabilities.network.Bindable
268         occurrences:
269         - 1
270         - UNBOUNDED
271       endpoint_server_pcm_server_pcm_005:
272         type: tosca.capabilities.Endpoint.Admin
273         occurrences:
274         - 1
275         - UNBOUNDED
276       attachment_network_server_pcm_005:
277         type: tosca.capabilities.Attachment
278         occurrences:
279         - 1
280         - UNBOUNDED
281       attachment_network:
282         type: tosca.capabilities.Attachment
283         occurrences:
284         - 1
285         - UNBOUNDED
286       binding_server_pcm:
287         type: tosca.capabilities.network.Bindable
288         occurrences:
289         - 1
290         - UNBOUNDED
291       link_network:
292         type: tosca.capabilities.network.Linkable
293         occurrences:
294         - 1
295         - UNBOUNDED
296       attachment_pcm_port_0_server_pcm_005:
297         type: tosca.capabilities.Attachment
298         occurrences:
299         - 1
300         - UNBOUNDED
301       os_server_pcm:
302         type: tosca.capabilities.OperatingSystem
303         occurrences:
304         - 1
305         - UNBOUNDED
306       link_network_server_pcm_005:
307         type: tosca.capabilities.network.Linkable
308         occurrences:
309         - 1
310         - UNBOUNDED
311       scalable_server_pcm:
312         type: tosca.capabilities.Scalable
313         occurrences:
314         - 1
315         - UNBOUNDED
316       attachment_pcm_port_0:
317         type: tosca.capabilities.Attachment
318         occurrences:
319         - 1
320         - UNBOUNDED
321       attachment_pcm_port_1:
322         type: tosca.capabilities.Attachment
323         occurrences:
324         - 1
325         - UNBOUNDED
326       attachment_pcm_port_1_server_pcm_005:
327         type: tosca.capabilities.Attachment
328         occurrences:
329         - 1
330         - UNBOUNDED