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