594705df401d588c85f5024573d531b5be248e15
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / oneComputeSamePortsAndGetAttrIn / out / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 node_types:
8   org.openecomp.resource.abstract.nodes.pd_server:
9     derived_from: org.openecomp.resource.abstract.nodes.VFC
10     properties:
11       port_pd01_port_0_mac_requirements:
12         type: org.openecomp.datatypes.network.MacRequirements
13         required: true
14         status: SUPPORTED
15       port_pd01_port_0_network:
16         type: list
17         required: true
18         status: SUPPORTED
19         entry_schema:
20           type: string
21       port_pd01_port_0_ip_requirements:
22         type: list
23         required: true
24         status: SUPPORTED
25         entry_schema:
26           type: org.openecomp.datatypes.network.IpRequirements
27       port_pd01_port_0_network_role_tag:
28         type: string
29         required: true
30         status: SUPPORTED
31       port_pd01_port_0_network_role:
32         type: list
33         required: true
34         status: SUPPORTED
35         entry_schema:
36           type: string
37       port_pd01_port_1_ip_requirements:
38         type: list
39         required: true
40         status: SUPPORTED
41         entry_schema:
42           type: org.openecomp.datatypes.network.IpRequirements
43       index_value:
44         type: integer
45         description: Index value of this substitution service template runtime instance
46         required: false
47         default: 0
48         status: SUPPORTED
49         constraints:
50         - greater_or_equal: 0
51       compute_pd_server_availability_zone:
52         type: list
53         required: true
54         status: SUPPORTED
55         entry_schema:
56           type: string
57       compute_pd_server_name:
58         type: list
59         required: true
60         status: SUPPORTED
61         entry_schema:
62           type: string
63       port_pd01_port_1_order:
64         type: list
65         required: true
66         status: SUPPORTED
67         entry_schema:
68           type: integer
69       vm_flavor_name:
70         type: string
71         required: true
72         status: SUPPORTED
73       port_pd01_port_0_exCP_naming:
74         type: list
75         required: true
76         status: SUPPORTED
77         entry_schema:
78           type: json
79       port_pd01_port_1_network_role:
80         type: list
81         required: true
82         status: SUPPORTED
83         entry_schema:
84           type: string
85       port_pd01_port_0_order:
86         type: list
87         required: true
88         status: SUPPORTED
89         entry_schema:
90           type: integer
91       port_pd01_port_1_vlan_requirements:
92         type: list
93         required: true
94         status: SUPPORTED
95         entry_schema:
96           type: json
97       port_pd01_port_1_mac_requirements:
98         type: org.openecomp.datatypes.network.MacRequirements
99         required: true
100         status: SUPPORTED
101       port_pd01_port_1_subnetpoolid:
102         type: list
103         required: true
104         status: SUPPORTED
105         entry_schema:
106           type: string
107       vm_image_name:
108         type: string
109         required: true
110         status: SUPPORTED
111       port_pd01_port_1_exCP_naming:
112         type: list
113         required: true
114         status: SUPPORTED
115         entry_schema:
116           type: json
117       port_pd01_port_1_network_role_tag:
118         type: string
119         required: true
120         status: SUPPORTED
121       port_pd01_port_0_vlan_requirements:
122         type: list
123         required: true
124         status: SUPPORTED
125         entry_schema:
126           type: json
127       port_pd01_port_0_subnetpoolid:
128         type: list
129         required: true
130         status: SUPPORTED
131         entry_schema:
132           type: string
133       port_pd01_port_1_network:
134         type: list
135         required: true
136         status: SUPPORTED
137         entry_schema:
138           type: string
139       compute_pd_server_user_data_format:
140         type: list
141         required: true
142         status: SUPPORTED
143         entry_schema:
144           type: string
145     attributes:
146       pd_server_accessIPv4:
147         type: list
148         status: SUPPORTED
149         entry_schema:
150           type: string
151       pd_server_pd01_port_1_device_owner:
152         type: list
153         status: SUPPORTED
154         entry_schema:
155           type: string
156       pd_server_pd01_port_0_device_owner:
157         type: list
158         status: SUPPORTED
159         entry_schema:
160           type: string
161     requirements:
162     - dependency_pd_server:
163         capability: tosca.capabilities.Node
164         node: tosca.nodes.Root
165         relationship: tosca.relationships.DependsOn
166         occurrences:
167         - 0
168         - UNBOUNDED
169     - local_storage_pd_server:
170         capability: tosca.capabilities.Attachment
171         node: tosca.nodes.BlockStorage
172         relationship: tosca.relationships.AttachesTo
173         occurrences:
174         - 0
175         - UNBOUNDED
176     - dependency_pd_server_pd01_port_1:
177         capability: tosca.capabilities.Node
178         node: tosca.nodes.Root
179         relationship: tosca.relationships.DependsOn
180         occurrences:
181         - 0
182         - UNBOUNDED
183     - link_pd_server_pd01_port_1:
184         capability: tosca.capabilities.network.Linkable
185         relationship: tosca.relationships.network.LinksTo
186         occurrences:
187         - 1
188         - 1
189     - dependency_pd_server_pd01_port_0:
190         capability: tosca.capabilities.Node
191         node: tosca.nodes.Root
192         relationship: tosca.relationships.DependsOn
193         occurrences:
194         - 0
195         - UNBOUNDED
196     - link_pd_server_pd01_port_0:
197         capability: tosca.capabilities.network.Linkable
198         relationship: tosca.relationships.network.LinksTo
199         occurrences:
200         - 1
201         - 1
202     capabilities:
203       binding_pd_server_pd01_port_0:
204         type: tosca.capabilities.network.Bindable
205         valid_source_types:
206         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
207         occurrences:
208         - 0
209         - UNBOUNDED
210       scalable_pd_server:
211         type: tosca.capabilities.Scalable
212         occurrences:
213         - 1
214         - UNBOUNDED
215       disk.read.bytes.rate_pd_server:
216         type: org.openecomp.capabilities.metric.Ceilometer
217         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
218         occurrences:
219         - 1
220         - UNBOUNDED
221       binding_pd_server_pd01_port_1:
222         type: tosca.capabilities.network.Bindable
223         valid_source_types:
224         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
225         occurrences:
226         - 0
227         - UNBOUNDED
228       memory.usage_pd_server:
229         type: org.openecomp.capabilities.metric.Ceilometer
230         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
231         occurrences:
232         - 1
233         - UNBOUNDED
234       memory_pd_server:
235         type: org.openecomp.capabilities.metric.Ceilometer
236         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
237         occurrences:
238         - 1
239         - UNBOUNDED
240       disk.device.usage_pd_server:
241         type: org.openecomp.capabilities.metric.Ceilometer
242         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
243         occurrences:
244         - 1
245         - UNBOUNDED
246       os_pd_server:
247         type: tosca.capabilities.OperatingSystem
248         occurrences:
249         - 1
250         - UNBOUNDED
251       disk.write.bytes.rate_pd_server:
252         type: org.openecomp.capabilities.metric.Ceilometer
253         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
254         occurrences:
255         - 1
256         - UNBOUNDED
257       cpu_pd_server:
258         type: org.openecomp.capabilities.metric.Ceilometer
259         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
260         occurrences:
261         - 1
262         - UNBOUNDED
263       cpu_util_pd_server:
264         type: org.openecomp.capabilities.metric.Ceilometer
265         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
266         occurrences:
267         - 1
268         - UNBOUNDED
269       disk.device.write.requests.rate_pd_server:
270         type: org.openecomp.capabilities.metric.Ceilometer
271         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
272         occurrences:
273         - 1
274         - UNBOUNDED
275       disk.read.bytes_pd_server:
276         type: org.openecomp.capabilities.metric.Ceilometer
277         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
278         occurrences:
279         - 1
280         - UNBOUNDED
281       disk.device.read.bytes.rate_pd_server:
282         type: org.openecomp.capabilities.metric.Ceilometer
283         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
284         occurrences:
285         - 1
286         - UNBOUNDED
287       network.incoming.packets_pd_server_pd01_port_0:
288         type: org.openecomp.capabilities.metric.Ceilometer
289         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
290         occurrences:
291         - 1
292         - UNBOUNDED
293       disk.iops_pd_server:
294         type: org.openecomp.capabilities.metric.Ceilometer
295         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
296         occurrences:
297         - 1
298         - UNBOUNDED
299       network.incoming.packets.rate_pd_server_pd01_port_1:
300         type: org.openecomp.capabilities.metric.Ceilometer
301         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
302         occurrences:
303         - 1
304         - UNBOUNDED
305       network.incoming.bytes.rate_pd_server_pd01_port_1:
306         type: org.openecomp.capabilities.metric.Ceilometer
307         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
308         occurrences:
309         - 1
310         - UNBOUNDED
311       memory.resident_pd_server:
312         type: org.openecomp.capabilities.metric.Ceilometer
313         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
314         occurrences:
315         - 1
316         - UNBOUNDED
317       cpu.delta_pd_server:
318         type: org.openecomp.capabilities.metric.Ceilometer
319         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
320         occurrences:
321         - 1
322         - UNBOUNDED
323       network.incoming.packets.rate_pd_server_pd01_port_0:
324         type: org.openecomp.capabilities.metric.Ceilometer
325         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
326         occurrences:
327         - 1
328         - UNBOUNDED
329       network.incoming.bytes.rate_pd_server_pd01_port_0:
330         type: org.openecomp.capabilities.metric.Ceilometer
331         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
332         occurrences:
333         - 1
334         - UNBOUNDED
335       attachment_pd_server_pd01_port_1:
336         type: tosca.capabilities.Attachment
337         occurrences:
338         - 1
339         - UNBOUNDED
340       network.outgoing.packets.rate_pd_server_pd01_port_1:
341         type: org.openecomp.capabilities.metric.Ceilometer
342         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
343         occurrences:
344         - 1
345         - UNBOUNDED
346       network.outgoing.packets.rate_pd_server_pd01_port_0:
347         type: org.openecomp.capabilities.metric.Ceilometer
348         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
349         occurrences:
350         - 1
351         - UNBOUNDED
352       vcpus_pd_server:
353         type: org.openecomp.capabilities.metric.Ceilometer
354         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
355         occurrences:
356         - 1
357         - UNBOUNDED
358       disk.device.write.bytes.rate_pd_server:
359         type: org.openecomp.capabilities.metric.Ceilometer
360         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
361         occurrences:
362         - 1
363         - UNBOUNDED
364       attachment_pd_server_pd01_port_0:
365         type: tosca.capabilities.Attachment
366         occurrences:
367         - 1
368         - UNBOUNDED
369       disk.device.write.requests_pd_server:
370         type: org.openecomp.capabilities.metric.Ceilometer
371         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
372         occurrences:
373         - 1
374         - UNBOUNDED
375       endpoint_pd_server:
376         type: tosca.capabilities.Endpoint.Admin
377         occurrences:
378         - 1
379         - UNBOUNDED
380       disk.capacity_pd_server:
381         type: org.openecomp.capabilities.metric.Ceilometer
382         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
383         occurrences:
384         - 1
385         - UNBOUNDED
386       network.incoming.packets_pd_server_pd01_port_1:
387         type: org.openecomp.capabilities.metric.Ceilometer
388         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
389         occurrences:
390         - 1
391         - UNBOUNDED
392       disk.device.allocation_pd_server:
393         type: org.openecomp.capabilities.metric.Ceilometer
394         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
395         occurrences:
396         - 1
397         - UNBOUNDED
398       disk.allocation_pd_server:
399         type: org.openecomp.capabilities.metric.Ceilometer
400         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
401         occurrences:
402         - 1
403         - UNBOUNDED
404       binding_pd_server:
405         type: tosca.capabilities.network.Bindable
406         occurrences:
407         - 1
408         - UNBOUNDED
409       disk.read.requests_pd_server:
410         type: org.openecomp.capabilities.metric.Ceilometer
411         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
412         occurrences:
413         - 1
414         - UNBOUNDED
415       network.outgoing.bytes.rate_pd_server_pd01_port_1:
416         type: org.openecomp.capabilities.metric.Ceilometer
417         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
418         occurrences:
419         - 1
420         - UNBOUNDED
421       network.outgoing.bytes.rate_pd_server_pd01_port_0:
422         type: org.openecomp.capabilities.metric.Ceilometer
423         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
424         occurrences:
425         - 1
426         - UNBOUNDED
427       feature_pd_server:
428         type: tosca.capabilities.Node
429         occurrences:
430         - 1
431         - UNBOUNDED
432       disk.usage_pd_server:
433         type: org.openecomp.capabilities.metric.Ceilometer
434         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
435         occurrences:
436         - 1
437         - UNBOUNDED
438       network.incoming.bytes_pd_server_pd01_port_1:
439         type: org.openecomp.capabilities.metric.Ceilometer
440         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
441         occurrences:
442         - 1
443         - UNBOUNDED
444       disk.write.bytes_pd_server:
445         type: org.openecomp.capabilities.metric.Ceilometer
446         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
447         occurrences:
448         - 1
449         - UNBOUNDED
450       network.outgoing.bytes_pd_server_pd01_port_0:
451         type: org.openecomp.capabilities.metric.Ceilometer
452         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
453         occurrences:
454         - 1
455         - UNBOUNDED
456       network.outgoing.bytes_pd_server_pd01_port_1:
457         type: org.openecomp.capabilities.metric.Ceilometer
458         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
459         occurrences:
460         - 1
461         - UNBOUNDED
462       network.incoming.bytes_pd_server_pd01_port_0:
463         type: org.openecomp.capabilities.metric.Ceilometer
464         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
465         occurrences:
466         - 1
467         - UNBOUNDED
468       disk.device.read.requests.rate_pd_server:
469         type: org.openecomp.capabilities.metric.Ceilometer
470         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
471         occurrences:
472         - 1
473         - UNBOUNDED
474       disk.root.size_pd_server:
475         type: org.openecomp.capabilities.metric.Ceilometer
476         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
477         occurrences:
478         - 1
479         - UNBOUNDED
480       disk.device.read.bytes_pd_server:
481         type: org.openecomp.capabilities.metric.Ceilometer
482         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
483         occurrences:
484         - 1
485         - UNBOUNDED
486       disk.device.write.bytes_pd_server:
487         type: org.openecomp.capabilities.metric.Ceilometer
488         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
489         occurrences:
490         - 1
491         - UNBOUNDED
492       network.outpoing.packets_pd_server_pd01_port_0:
493         type: org.openecomp.capabilities.metric.Ceilometer
494         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
495         occurrences:
496         - 1
497         - UNBOUNDED
498       network.outpoing.packets_pd_server_pd01_port_1:
499         type: org.openecomp.capabilities.metric.Ceilometer
500         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
501         occurrences:
502         - 1
503         - UNBOUNDED
504       disk.device.read.requests_pd_server:
505         type: org.openecomp.capabilities.metric.Ceilometer
506         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
507         occurrences:
508         - 1
509         - UNBOUNDED
510       instance_pd_server:
511         type: org.openecomp.capabilities.metric.Ceilometer
512         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
513         occurrences:
514         - 1
515         - UNBOUNDED
516       host_pd_server:
517         type: tosca.capabilities.Container
518         valid_source_types:
519         - tosca.nodes.SoftwareComponent
520         occurrences:
521         - 1
522         - UNBOUNDED
523       feature_pd_server_pd01_port_1:
524         type: tosca.capabilities.Node
525         occurrences:
526         - 1
527         - UNBOUNDED
528       feature_pd_server_pd01_port_0:
529         type: tosca.capabilities.Node
530         occurrences:
531         - 1
532         - UNBOUNDED
533       disk.write.requests.rate_pd_server:
534         type: org.openecomp.capabilities.metric.Ceilometer
535         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
536         occurrences:
537         - 1
538         - UNBOUNDED
539       disk.ephemeral.size_pd_server:
540         type: org.openecomp.capabilities.metric.Ceilometer
541         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
542         occurrences:
543         - 1
544         - UNBOUNDED
545       disk.write.requests_pd_server:
546         type: org.openecomp.capabilities.metric.Ceilometer
547         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
548         occurrences:
549         - 1
550         - UNBOUNDED
551       disk.device.latency_pd_server:
552         type: org.openecomp.capabilities.metric.Ceilometer
553         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
554         occurrences:
555         - 1
556         - UNBOUNDED
557       disk.latency_pd_server:
558         type: org.openecomp.capabilities.metric.Ceilometer
559         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
560         occurrences:
561         - 1
562         - UNBOUNDED
563       disk.device.capacity_pd_server:
564         type: org.openecomp.capabilities.metric.Ceilometer
565         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
566         occurrences:
567         - 1
568         - UNBOUNDED
569       disk.device.iops_pd_server:
570         type: org.openecomp.capabilities.metric.Ceilometer
571         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
572         occurrences:
573         - 1
574         - UNBOUNDED