[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 / unifiedComposition / pattern4 / twoNestedWithOneCompute / out / 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.compute:
39     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
40     properties:
41       compute_compute_user_data_format:
42         type: list
43         required: true
44         status: SUPPORTED
45         entry_schema:
46           type: string
47       vm_image_name:
48         type: string
49         required: true
50         status: SUPPORTED
51       index_value:
52         type: integer
53         description: Index value of this substitution service template runtime instance
54         required: false
55         default: 0
56         status: SUPPORTED
57         constraints:
58         - greater_or_equal: 0
59       compute_compute_name:
60         type: list
61         required: true
62         status: SUPPORTED
63         entry_schema:
64           type: string
65       vm_flavor_name:
66         type: string
67         required: true
68         status: SUPPORTED
69       compute_compute_config_drive:
70         type: list
71         required: true
72         status: SUPPORTED
73         entry_schema:
74           type: string
75     requirements:
76     - local_storage_compute:
77         capability: tosca.capabilities.Attachment
78         node: tosca.nodes.BlockStorage
79         relationship: tosca.relationships.AttachesTo
80         occurrences:
81         - 0
82         - UNBOUNDED
83     capabilities:
84       os_compute:
85         type: tosca.capabilities.OperatingSystem
86         occurrences:
87         - 1
88         - UNBOUNDED
89       scalable_compute:
90         type: tosca.capabilities.Scalable
91         occurrences:
92         - 1
93         - UNBOUNDED
94       endpoint_compute:
95         type: tosca.capabilities.Endpoint.Admin
96         occurrences:
97         - 1
98         - UNBOUNDED
99       host_compute:
100         type: tosca.capabilities.Container
101         valid_source_types:
102         - tosca.nodes.SoftwareComponent
103         occurrences:
104         - 1
105         - UNBOUNDED
106       feature_compute:
107         type: tosca.capabilities.Node
108         occurrences:
109         - 1
110         - UNBOUNDED
111       binding_compute:
112         type: tosca.capabilities.network.Bindable
113         occurrences:
114         - 1
115         - UNBOUNDED
116   org.openecomp.resource.abstract.nodes.heat.pcm_server:
117     derived_from: org.openecomp.resource.abstract.nodes.VFC
118     properties:
119       availabilityzone_name:
120         type: string
121         description: availabilityzone name
122         required: true
123         status: SUPPORTED
124       oam_net_gw:
125         type: string
126         description: CPS network gateway
127         required: true
128         status: SUPPORTED
129       pcm_image_name:
130         type: string
131         description: PCRF CM image name
132         required: true
133         status: SUPPORTED
134       security_group_name:
135         type: string
136         description: the name of security group
137         required: true
138         status: SUPPORTED
139       cps_net_ip:
140         type: string
141         description: CPS network ip
142         required: true
143         status: SUPPORTED
144       pcm_flavor_name:
145         type: string
146         description: flavor name of PCRF CM instance
147         required: true
148         status: SUPPORTED
149       pcm_vol:
150         type: string
151         description: CPS Cluman Cinder Volume
152         required: true
153         status: SUPPORTED
154       pcm_server_name:
155         type: string
156         description: PCRF CM server name
157         required: true
158         status: SUPPORTED
159       cps_net_name:
160         type: string
161         description: CPS network name
162         required: true
163         status: SUPPORTED
164       cps_net_mask:
165         type: string
166         description: CPS network mask
167         required: true
168         status: SUPPORTED
169       oam_net_ip:
170         type: string
171         description: OAM network ip
172         required: true
173         status: SUPPORTED
174       oam_net_mask:
175         type: string
176         description: CPS network mask
177         required: true
178         status: SUPPORTED
179       oam_net_name:
180         type: string
181         description: OAM network name
182         required: true
183         status: SUPPORTED
184     attributes:
185       server_pcm_id:
186         type: string
187         description: the pcm nova service id
188         status: SUPPORTED
189     requirements:
190     - link_pcm_port_1:
191         capability: tosca.capabilities.network.Linkable
192         node: tosca.nodes.Root
193         relationship: tosca.relationships.network.LinksTo
194         occurrences:
195         - 1
196         - 1
197     - local_storage_server_pcm:
198         capability: tosca.capabilities.Attachment
199         node: tosca.nodes.BlockStorage
200         relationship: tosca.relationships.AttachesTo
201         occurrences:
202         - 0
203         - UNBOUNDED
204     - link_pcm_port_0:
205         capability: tosca.capabilities.network.Linkable
206         node: tosca.nodes.Root
207         relationship: tosca.relationships.network.LinksTo
208         occurrences:
209         - 1
210         - 1
211     capabilities:
212       endpoint_server_pcm:
213         type: tosca.capabilities.Endpoint.Admin
214         occurrences:
215         - 1
216         - UNBOUNDED
217       os_server_pcm:
218         type: tosca.capabilities.OperatingSystem
219         occurrences:
220         - 1
221         - UNBOUNDED
222       host_server_pcm:
223         type: tosca.capabilities.Container
224         valid_source_types:
225         - tosca.nodes.SoftwareComponent
226         occurrences:
227         - 1
228         - UNBOUNDED
229       feature_server_pcm:
230         type: tosca.capabilities.Node
231         occurrences:
232         - 1
233         - UNBOUNDED
234       feature_pcm_port_1:
235         type: tosca.capabilities.Node
236         occurrences:
237         - 1
238         - UNBOUNDED
239       scalable_server_pcm:
240         type: tosca.capabilities.Scalable
241         occurrences:
242         - 1
243         - UNBOUNDED
244       feature_pcm_port_0:
245         type: tosca.capabilities.Node
246         occurrences:
247         - 1
248         - UNBOUNDED
249       binding_server_pcm:
250         type: tosca.capabilities.network.Bindable
251         occurrences:
252         - 1
253         - UNBOUNDED
254       attachment_pcm_port_0:
255         type: tosca.capabilities.Attachment
256         occurrences:
257         - 1
258         - UNBOUNDED
259       attachment_pcm_port_1:
260         type: tosca.capabilities.Attachment
261         occurrences:
262         - 1
263         - UNBOUNDED
264       binding_pcm_port_0:
265         type: tosca.capabilities.network.Bindable
266         valid_source_types:
267         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
268         occurrences:
269         - 0
270         - UNBOUNDED
271       binding_pcm_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   org.openecomp.resource.abstract.nodes.heat.oam_server:
279     derived_from: org.openecomp.resource.abstract.nodes.VFC
280     properties:
281       availabilityzone_name:
282         type: string
283         description: availabilityzone name
284         required: true
285         status: SUPPORTED
286       oam_net_gw:
287         type: string
288         description: CPS network gateway
289         required: true
290         status: SUPPORTED
291       oam_flavor_name:
292         type: string
293         description: flavor name of PCRF CM instance
294         required: true
295         status: SUPPORTED
296       security_group_name:
297         type: string
298         description: the name of security group
299         required: true
300         status: SUPPORTED
301       cps_net_ip:
302         type: string
303         description: CPS network ip
304         required: true
305         status: SUPPORTED
306       oam_server_name:
307         type: string
308         description: oam server name
309         required: true
310         status: SUPPORTED
311       pcm_vol:
312         type: string
313         description: CPS Cluman Cinder Volume
314         required: true
315         status: SUPPORTED
316       oam_image_name:
317         type: string
318         description: oam image name
319         required: true
320         status: SUPPORTED
321       cps_net_name:
322         type: string
323         description: CPS network name
324         required: true
325         status: SUPPORTED
326       cps_net_mask:
327         type: string
328         description: CPS network mask
329         required: true
330         status: SUPPORTED
331       oam_net_ip:
332         type: string
333         description: OAM network ip
334         required: true
335         status: SUPPORTED
336       oam_net_mask:
337         type: string
338         description: CPS network mask
339         required: true
340         status: SUPPORTED
341       oam_net_name:
342         type: string
343         description: OAM network name
344         required: true
345         status: SUPPORTED
346     attributes:
347       server_oam_id:
348         type: string
349         description: the oam nova service id
350         status: SUPPORTED
351     requirements:
352     - local_storage_server_oam:
353         capability: tosca.capabilities.Attachment
354         node: tosca.nodes.BlockStorage
355         relationship: tosca.relationships.AttachesTo
356         occurrences:
357         - 0
358         - UNBOUNDED
359     - link_pcm_port_1:
360         capability: tosca.capabilities.network.Linkable
361         node: tosca.nodes.Root
362         relationship: tosca.relationships.network.LinksTo
363         occurrences:
364         - 1
365         - 1
366     - link_pcm_port_0:
367         capability: tosca.capabilities.network.Linkable
368         node: tosca.nodes.Root
369         relationship: tosca.relationships.network.LinksTo
370         occurrences:
371         - 1
372         - 1
373     capabilities:
374       host_server_oam:
375         type: tosca.capabilities.Container
376         valid_source_types:
377         - tosca.nodes.SoftwareComponent
378         occurrences:
379         - 1
380         - UNBOUNDED
381       endpoint_server_oam:
382         type: tosca.capabilities.Endpoint.Admin
383         occurrences:
384         - 1
385         - UNBOUNDED
386       os_server_oam:
387         type: tosca.capabilities.OperatingSystem
388         occurrences:
389         - 1
390         - UNBOUNDED
391       feature_server_oam:
392         type: tosca.capabilities.Node
393         occurrences:
394         - 1
395         - UNBOUNDED
396       feature_pcm_port_1:
397         type: tosca.capabilities.Node
398         occurrences:
399         - 1
400         - UNBOUNDED
401       scalable_server_oam:
402         type: tosca.capabilities.Scalable
403         occurrences:
404         - 1
405         - UNBOUNDED
406       feature_pcm_port_0:
407         type: tosca.capabilities.Node
408         occurrences:
409         - 1
410         - UNBOUNDED
411       binding_server_oam:
412         type: tosca.capabilities.network.Bindable
413         occurrences:
414         - 1
415         - UNBOUNDED
416       attachment_pcm_port_0:
417         type: tosca.capabilities.Attachment
418         occurrences:
419         - 1
420         - UNBOUNDED
421       attachment_pcm_port_1:
422         type: tosca.capabilities.Attachment
423         occurrences:
424         - 1
425         - UNBOUNDED
426       binding_pcm_port_0:
427         type: tosca.capabilities.network.Bindable
428         valid_source_types:
429         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
430         occurrences:
431         - 0
432         - UNBOUNDED
433       binding_pcm_port_1:
434         type: tosca.capabilities.network.Bindable
435         valid_source_types:
436         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
437         occurrences:
438         - 0
439         - UNBOUNDED