Merge "Fix for missing parameters in validation message"
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / computeWithDiffPortTypeNodeConnectedIn / 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.vfc.nodes.heat.pd_server:
9     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
10     properties:
11       compute_pd_server_availability_zone:
12         type: list
13         required: true
14         status: SUPPORTED
15         entry_schema:
16           type: string
17       compute_pd_server_name:
18         type: list
19         required: true
20         status: SUPPORTED
21         entry_schema:
22           type: string
23       port_pd01_port_replacement_policy:
24         type: list
25         required: true
26         status: SUPPORTED
27         entry_schema:
28           type: string
29       vm_flavor_name:
30         type: string
31         required: true
32         status: SUPPORTED
33       port_pd01_port_security_groups:
34         type: list
35         required: true
36         status: SUPPORTED
37         entry_schema:
38           type: json
39       port_pd02_port_network_role_tag:
40         type: string
41         required: true
42         status: SUPPORTED
43       port_pd01_port_mac_requirements:
44         type: org.openecomp.datatypes.network.MacRequirements
45         required: true
46         status: SUPPORTED
47       vm_image_name:
48         type: string
49         required: true
50         status: SUPPORTED
51       port_pd02_port_replacement_policy:
52         type: list
53         required: true
54         status: SUPPORTED
55         entry_schema:
56           type: string
57       port_pd01_port_ip_requirements:
58         type: list
59         required: true
60         status: SUPPORTED
61         entry_schema:
62           type: org.openecomp.datatypes.network.IpRequirements
63       port_pd02_port_network_role:
64         type: string
65         required: true
66         status: SUPPORTED
67       port_pd01_port_vlan_requirements:
68         type: list
69         required: true
70         status: SUPPORTED
71         entry_schema:
72           type: org.openecomp.datatypes.network.VlanRequirements
73       compute_pd_server_user_data_format:
74         type: list
75         required: true
76         status: SUPPORTED
77         entry_schema:
78           type: string
79       index_value:
80         type: integer
81         description: Index value of this substitution service template runtime instance
82         required: false
83         default: 0
84         status: SUPPORTED
85         constraints:
86         - greater_or_equal: 0
87       port_pd02_port_mac_requirements:
88         type: org.openecomp.datatypes.network.MacRequirements
89         required: true
90         status: SUPPORTED
91       port_pd01_port_exCP_naming:
92         type: org.openecomp.datatypes.Naming
93         required: true
94         status: SUPPORTED
95       port_pd02_port_order:
96         type: integer
97         required: true
98         status: SUPPORTED
99       port_pd02_port_subnetpoolid:
100         type: string
101         required: true
102         status: SUPPORTED
103       port_pd02_port_vlan_requirements:
104         type: list
105         required: true
106         status: SUPPORTED
107         entry_schema:
108           type: org.openecomp.datatypes.network.VlanRequirements
109       port_pd02_port_security_groups:
110         type: list
111         required: true
112         status: SUPPORTED
113         entry_schema:
114           type: json
115       port_pd01_port_network:
116         type: list
117         required: true
118         status: SUPPORTED
119         entry_schema:
120           type: string
121       port_pd01_port_order:
122         type: integer
123         required: true
124         status: SUPPORTED
125       port_pd01_port_subnetpoolid:
126         type: string
127         required: true
128         status: SUPPORTED
129       port_pd02_port_exCP_naming:
130         type: org.openecomp.datatypes.Naming
131         required: true
132         status: SUPPORTED
133       port_pd01_port_network_role:
134         type: string
135         required: true
136         status: SUPPORTED
137       port_pd02_port_ip_requirements:
138         type: list
139         required: true
140         status: SUPPORTED
141         entry_schema:
142           type: org.openecomp.datatypes.network.IpRequirements
143       port_pd01_port_network_role_tag:
144         type: string
145         required: true
146         status: SUPPORTED
147       port_pd02_port_network:
148         type: list
149         required: true
150         status: SUPPORTED
151         entry_schema:
152           type: string
153   org.openecomp.resource.abstract.nodes.pd_server:
154     derived_from: org.openecomp.resource.abstract.nodes.VFC
155     properties:
156       compute_pd_server_availability_zone:
157         type: list
158         required: true
159         status: SUPPORTED
160         entry_schema:
161           type: string
162       compute_pd_server_name:
163         type: list
164         required: true
165         status: SUPPORTED
166         entry_schema:
167           type: string
168       port_pd01_port_replacement_policy:
169         type: list
170         required: true
171         status: SUPPORTED
172         entry_schema:
173           type: string
174       vm_flavor_name:
175         type: string
176         required: true
177         status: SUPPORTED
178       port_pd01_port_security_groups:
179         type: list
180         required: true
181         status: SUPPORTED
182         entry_schema:
183           type: json
184       port_pd02_port_network_role_tag:
185         type: string
186         required: true
187         status: SUPPORTED
188       port_pd01_port_mac_requirements:
189         type: org.openecomp.datatypes.network.MacRequirements
190         required: true
191         status: SUPPORTED
192       vm_image_name:
193         type: string
194         required: true
195         status: SUPPORTED
196       port_pd02_port_replacement_policy:
197         type: list
198         required: true
199         status: SUPPORTED
200         entry_schema:
201           type: string
202       port_pd01_port_ip_requirements:
203         type: list
204         required: true
205         status: SUPPORTED
206         entry_schema:
207           type: org.openecomp.datatypes.network.IpRequirements
208       port_pd02_port_network_role:
209         type: string
210         required: true
211         status: SUPPORTED
212       port_pd01_port_vlan_requirements:
213         type: list
214         required: true
215         status: SUPPORTED
216         entry_schema:
217           type: org.openecomp.datatypes.network.VlanRequirements
218       compute_pd_server_user_data_format:
219         type: list
220         required: true
221         status: SUPPORTED
222         entry_schema:
223           type: string
224       index_value:
225         type: integer
226         description: Index value of this substitution service template runtime instance
227         required: false
228         default: 0
229         status: SUPPORTED
230         constraints:
231         - greater_or_equal: 0
232       port_pd02_port_mac_requirements:
233         type: org.openecomp.datatypes.network.MacRequirements
234         required: true
235         status: SUPPORTED
236       port_pd01_port_exCP_naming:
237         type: org.openecomp.datatypes.Naming
238         required: true
239         status: SUPPORTED
240       port_pd02_port_order:
241         type: integer
242         required: true
243         status: SUPPORTED
244       port_pd02_port_subnetpoolid:
245         type: string
246         required: true
247         status: SUPPORTED
248       port_pd02_port_vlan_requirements:
249         type: list
250         required: true
251         status: SUPPORTED
252         entry_schema:
253           type: org.openecomp.datatypes.network.VlanRequirements
254       port_pd02_port_security_groups:
255         type: list
256         required: true
257         status: SUPPORTED
258         entry_schema:
259           type: json
260       port_pd01_port_network:
261         type: list
262         required: true
263         status: SUPPORTED
264         entry_schema:
265           type: string
266       port_pd01_port_order:
267         type: integer
268         required: true
269         status: SUPPORTED
270       port_pd01_port_subnetpoolid:
271         type: string
272         required: true
273         status: SUPPORTED
274       port_pd02_port_exCP_naming:
275         type: org.openecomp.datatypes.Naming
276         required: true
277         status: SUPPORTED
278       port_pd01_port_network_role:
279         type: string
280         required: true
281         status: SUPPORTED
282       port_pd02_port_ip_requirements:
283         type: list
284         required: true
285         status: SUPPORTED
286         entry_schema:
287           type: org.openecomp.datatypes.network.IpRequirements
288       port_pd01_port_network_role_tag:
289         type: string
290         required: true
291         status: SUPPORTED
292       port_pd02_port_network:
293         type: list
294         required: true
295         status: SUPPORTED
296         entry_schema:
297           type: string
298     requirements:
299     - dependency_pd_server:
300         capability: tosca.capabilities.Node
301         node: tosca.nodes.Root
302         relationship: tosca.relationships.DependsOn
303         occurrences:
304         - 0
305         - UNBOUNDED
306     - local_storage_pd_server:
307         capability: tosca.capabilities.Attachment
308         node: tosca.nodes.BlockStorage
309         relationship: tosca.relationships.AttachesTo
310         occurrences:
311         - 0
312         - UNBOUNDED
313     - dependency_pd_server_pd01_port:
314         capability: tosca.capabilities.Node
315         node: tosca.nodes.Root
316         relationship: tosca.relationships.DependsOn
317         occurrences:
318         - 0
319         - UNBOUNDED
320     - link_pd_server_pd01_port:
321         capability: tosca.capabilities.network.Linkable
322         relationship: tosca.relationships.network.LinksTo
323         occurrences:
324         - 1
325         - 1
326     - dependency_pd_server_pd02_port:
327         capability: tosca.capabilities.Node
328         node: tosca.nodes.Root
329         relationship: tosca.relationships.DependsOn
330         occurrences:
331         - 0
332         - UNBOUNDED
333     - link_pd_server_pd02_port:
334         capability: tosca.capabilities.network.Linkable
335         relationship: tosca.relationships.network.LinksTo
336         occurrences:
337         - 1
338         - 1
339     capabilities:
340       scalable_pd_server:
341         type: tosca.capabilities.Scalable
342         occurrences:
343         - 1
344         - UNBOUNDED
345       disk.read.bytes.rate_pd_server:
346         type: org.openecomp.capabilities.metric.Ceilometer
347         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
348         occurrences:
349         - 1
350         - UNBOUNDED
351       memory.usage_pd_server:
352         type: org.openecomp.capabilities.metric.Ceilometer
353         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
354         occurrences:
355         - 1
356         - UNBOUNDED
357       memory_pd_server:
358         type: org.openecomp.capabilities.metric.Ceilometer
359         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
360         occurrences:
361         - 1
362         - UNBOUNDED
363       disk.device.usage_pd_server:
364         type: org.openecomp.capabilities.metric.Ceilometer
365         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
366         occurrences:
367         - 1
368         - UNBOUNDED
369       network.outgoing.packets.rate_pd_server_pd01_port:
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       os_pd_server:
376         type: tosca.capabilities.OperatingSystem
377         occurrences:
378         - 1
379         - UNBOUNDED
380       disk.write.bytes.rate_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.bytes_pd_server_pd01_port:
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       cpu_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       cpu_util_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       disk.device.write.requests.rate_pd_server:
405         type: org.openecomp.capabilities.metric.Ceilometer
406         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
407         occurrences:
408         - 1
409         - UNBOUNDED
410       disk.read.bytes_pd_server:
411         type: org.openecomp.capabilities.metric.Ceilometer
412         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
413         occurrences:
414         - 1
415         - UNBOUNDED
416       disk.device.read.bytes.rate_pd_server:
417         type: org.openecomp.capabilities.metric.Ceilometer
418         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
419         occurrences:
420         - 1
421         - UNBOUNDED
422       binding_pd_server_pd02_port:
423         type: tosca.capabilities.network.Bindable
424         valid_source_types:
425         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
426         occurrences:
427         - 0
428         - UNBOUNDED
429       network.outgoing.bytes_pd_server_pd01_port:
430         type: org.openecomp.capabilities.metric.Ceilometer
431         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
432         occurrences:
433         - 1
434         - UNBOUNDED
435       network.outgoing.packets.rate_pd_server_pd02_port:
436         type: org.openecomp.capabilities.metric.Ceilometer
437         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
438         occurrences:
439         - 1
440         - UNBOUNDED
441       disk.iops_pd_server:
442         type: org.openecomp.capabilities.metric.Ceilometer
443         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
444         occurrences:
445         - 1
446         - UNBOUNDED
447       memory.resident_pd_server:
448         type: org.openecomp.capabilities.metric.Ceilometer
449         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
450         occurrences:
451         - 1
452         - UNBOUNDED
453       cpu.delta_pd_server:
454         type: org.openecomp.capabilities.metric.Ceilometer
455         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
456         occurrences:
457         - 1
458         - UNBOUNDED
459       network.incoming.packets.rate_pd_server_pd01_port:
460         type: org.openecomp.capabilities.metric.Ceilometer
461         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
462         occurrences:
463         - 1
464         - UNBOUNDED
465       network.outgoing.bytes_pd_server_pd02_port:
466         type: org.openecomp.capabilities.metric.Ceilometer
467         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
468         occurrences:
469         - 1
470         - UNBOUNDED
471       feature_pd_server_pd02_port:
472         type: tosca.capabilities.Node
473         occurrences:
474         - 1
475         - UNBOUNDED
476       network.incoming.bytes.rate_pd_server_pd02_port:
477         type: org.openecomp.capabilities.metric.Ceilometer
478         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
479         occurrences:
480         - 1
481         - UNBOUNDED
482       network.outgoing.bytes.rate_pd_server_pd02_port:
483         type: org.openecomp.capabilities.metric.Ceilometer
484         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
485         occurrences:
486         - 1
487         - UNBOUNDED
488       vcpus_pd_server:
489         type: org.openecomp.capabilities.metric.Ceilometer
490         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
491         occurrences:
492         - 1
493         - UNBOUNDED
494       disk.device.write.bytes.rate_pd_server:
495         type: org.openecomp.capabilities.metric.Ceilometer
496         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
497         occurrences:
498         - 1
499         - UNBOUNDED
500       disk.device.write.requests_pd_server:
501         type: org.openecomp.capabilities.metric.Ceilometer
502         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
503         occurrences:
504         - 1
505         - UNBOUNDED
506       endpoint_pd_server:
507         type: tosca.capabilities.Endpoint.Admin
508         occurrences:
509         - 1
510         - UNBOUNDED
511       attachment_pd_server_pd01_port:
512         type: tosca.capabilities.Attachment
513         occurrences:
514         - 1
515         - UNBOUNDED
516       disk.capacity_pd_server:
517         type: org.openecomp.capabilities.metric.Ceilometer
518         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
519         occurrences:
520         - 1
521         - UNBOUNDED
522       disk.device.allocation_pd_server:
523         type: org.openecomp.capabilities.metric.Ceilometer
524         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
525         occurrences:
526         - 1
527         - UNBOUNDED
528       disk.allocation_pd_server:
529         type: org.openecomp.capabilities.metric.Ceilometer
530         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
531         occurrences:
532         - 1
533         - UNBOUNDED
534       network.incoming.packets_pd_server_pd02_port:
535         type: org.openecomp.capabilities.metric.Ceilometer
536         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
537         occurrences:
538         - 1
539         - UNBOUNDED
540       binding_pd_server:
541         type: tosca.capabilities.network.Bindable
542         occurrences:
543         - 1
544         - UNBOUNDED
545       disk.read.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       feature_pd_server:
552         type: tosca.capabilities.Node
553         occurrences:
554         - 1
555         - UNBOUNDED
556       disk.usage_pd_server:
557         type: org.openecomp.capabilities.metric.Ceilometer
558         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
559         occurrences:
560         - 1
561         - UNBOUNDED
562       network.outpoing.packets_pd_server_pd02_port:
563         type: org.openecomp.capabilities.metric.Ceilometer
564         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
565         occurrences:
566         - 1
567         - UNBOUNDED
568       binding_pd_server_pd01_port:
569         type: tosca.capabilities.network.Bindable
570         valid_source_types:
571         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
572         occurrences:
573         - 0
574         - UNBOUNDED
575       disk.write.bytes_pd_server:
576         type: org.openecomp.capabilities.metric.Ceilometer
577         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
578         occurrences:
579         - 1
580         - UNBOUNDED
581       network.incoming.bytes.rate_pd_server_pd01_port:
582         type: org.openecomp.capabilities.metric.Ceilometer
583         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
584         occurrences:
585         - 1
586         - UNBOUNDED
587       network.incoming.packets_pd_server_pd01_port:
588         type: org.openecomp.capabilities.metric.Ceilometer
589         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
590         occurrences:
591         - 1
592         - UNBOUNDED
593       disk.device.read.requests.rate_pd_server:
594         type: org.openecomp.capabilities.metric.Ceilometer
595         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
596         occurrences:
597         - 1
598         - UNBOUNDED
599       disk.root.size_pd_server:
600         type: org.openecomp.capabilities.metric.Ceilometer
601         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
602         occurrences:
603         - 1
604         - UNBOUNDED
605       disk.device.read.bytes_pd_server:
606         type: org.openecomp.capabilities.metric.Ceilometer
607         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
608         occurrences:
609         - 1
610         - UNBOUNDED
611       disk.device.write.bytes_pd_server:
612         type: org.openecomp.capabilities.metric.Ceilometer
613         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
614         occurrences:
615         - 1
616         - UNBOUNDED
617       disk.device.read.requests_pd_server:
618         type: org.openecomp.capabilities.metric.Ceilometer
619         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
620         occurrences:
621         - 1
622         - UNBOUNDED
623       instance_pd_server:
624         type: org.openecomp.capabilities.metric.Ceilometer
625         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
626         occurrences:
627         - 1
628         - UNBOUNDED
629       host_pd_server:
630         type: tosca.capabilities.Container
631         valid_source_types:
632         - tosca.nodes.SoftwareComponent
633         occurrences:
634         - 1
635         - UNBOUNDED
636       network.outpoing.packets_pd_server_pd01_port:
637         type: org.openecomp.capabilities.metric.Ceilometer
638         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
639         occurrences:
640         - 1
641         - UNBOUNDED
642       attachment_pd_server_pd02_port:
643         type: tosca.capabilities.Attachment
644         occurrences:
645         - 1
646         - UNBOUNDED
647       disk.write.requests.rate_pd_server:
648         type: org.openecomp.capabilities.metric.Ceilometer
649         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
650         occurrences:
651         - 1
652         - UNBOUNDED
653       disk.ephemeral.size_pd_server:
654         type: org.openecomp.capabilities.metric.Ceilometer
655         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
656         occurrences:
657         - 1
658         - UNBOUNDED
659       disk.write.requests_pd_server:
660         type: org.openecomp.capabilities.metric.Ceilometer
661         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
662         occurrences:
663         - 1
664         - UNBOUNDED
665       feature_pd_server_pd01_port:
666         type: tosca.capabilities.Node
667         occurrences:
668         - 1
669         - UNBOUNDED
670       disk.device.latency_pd_server:
671         type: org.openecomp.capabilities.metric.Ceilometer
672         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
673         occurrences:
674         - 1
675         - UNBOUNDED
676       network.incoming.packets.rate_pd_server_pd02_port:
677         type: org.openecomp.capabilities.metric.Ceilometer
678         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
679         occurrences:
680         - 1
681         - UNBOUNDED
682       disk.latency_pd_server:
683         type: org.openecomp.capabilities.metric.Ceilometer
684         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
685         occurrences:
686         - 1
687         - UNBOUNDED
688       disk.device.capacity_pd_server:
689         type: org.openecomp.capabilities.metric.Ceilometer
690         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
691         occurrences:
692         - 1
693         - UNBOUNDED
694       network.outgoing.bytes.rate_pd_server_pd01_port:
695         type: org.openecomp.capabilities.metric.Ceilometer
696         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
697         occurrences:
698         - 1
699         - UNBOUNDED
700       disk.device.iops_pd_server:
701         type: org.openecomp.capabilities.metric.Ceilometer
702         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
703         occurrences:
704         - 1
705         - UNBOUNDED
706       network.incoming.bytes_pd_server_pd02_port:
707         type: org.openecomp.capabilities.metric.Ceilometer
708         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
709         occurrences:
710         - 1
711         - UNBOUNDED