[sdc] update code of sdc
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / computeWithDiffPortType / 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       index_value:
12         type: integer
13         description: Index value of this substitution service template runtime instance
14         required: false
15         default: 0
16         status: SUPPORTED
17         constraints:
18         - greater_or_equal: 0
19       compute_pd_server_availability_zone:
20         type: list
21         required: true
22         status: SUPPORTED
23         entry_schema:
24           type: string
25       compute_pd_server_name:
26         type: list
27         required: true
28         status: SUPPORTED
29         entry_schema:
30           type: string
31       port_pd02_port_mac_requirements:
32         type: org.openecomp.datatypes.network.MacRequirements
33         required: true
34         status: SUPPORTED
35       port_pd01_port_exCP_naming:
36         type: list
37         required: true
38         status: SUPPORTED
39         entry_schema:
40           type: json
41       vm_flavor_name:
42         type: string
43         required: true
44         status: SUPPORTED
45       port_pd02_port_order:
46         type: list
47         required: true
48         status: SUPPORTED
49         entry_schema:
50           type: integer
51       port_pd02_port_subnetpoolid:
52         type: list
53         required: true
54         status: SUPPORTED
55         entry_schema:
56           type: string
57       port_pd02_port_network_role_tag:
58         type: string
59         required: true
60         status: SUPPORTED
61       port_pd01_port_mac_requirements:
62         type: org.openecomp.datatypes.network.MacRequirements
63         required: true
64         status: SUPPORTED
65       port_pd02_port_vlan_requirements:
66         type: list
67         required: true
68         status: SUPPORTED
69         entry_schema:
70           type: json
71       vm_image_name:
72         type: string
73         required: true
74         status: SUPPORTED
75       port_pd01_port_ip_requirements:
76         type: list
77         required: true
78         status: SUPPORTED
79         entry_schema:
80           type: org.openecomp.datatypes.network.IpRequirements
81       port_pd01_port_network:
82         type: list
83         required: true
84         status: SUPPORTED
85         entry_schema:
86           type: string
87       port_pd02_port_network_role:
88         type: list
89         required: true
90         status: SUPPORTED
91         entry_schema:
92           type: string
93       port_pd01_port_order:
94         type: list
95         required: true
96         status: SUPPORTED
97         entry_schema:
98           type: integer
99       port_pd01_port_subnetpoolid:
100         type: list
101         required: true
102         status: SUPPORTED
103         entry_schema:
104           type: string
105       port_pd02_port_exCP_naming:
106         type: list
107         required: true
108         status: SUPPORTED
109         entry_schema:
110           type: json
111       port_pd01_port_network_role:
112         type: list
113         required: true
114         status: SUPPORTED
115         entry_schema:
116           type: string
117       port_pd02_port_ip_requirements:
118         type: list
119         required: true
120         status: SUPPORTED
121         entry_schema:
122           type: org.openecomp.datatypes.network.IpRequirements
123       port_pd01_port_network_role_tag:
124         type: string
125         required: true
126         status: SUPPORTED
127       port_pd01_port_vlan_requirements:
128         type: list
129         required: true
130         status: SUPPORTED
131         entry_schema:
132           type: json
133       port_pd02_port_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     requirements:
146     - dependency_pd_server:
147         capability: tosca.capabilities.Node
148         node: tosca.nodes.Root
149         relationship: tosca.relationships.DependsOn
150         occurrences:
151         - 0
152         - UNBOUNDED
153     - local_storage_pd_server:
154         capability: tosca.capabilities.Attachment
155         node: tosca.nodes.BlockStorage
156         relationship: tosca.relationships.AttachesTo
157         occurrences:
158         - 0
159         - UNBOUNDED
160     - dependency_pd_server_pd01_port:
161         capability: tosca.capabilities.Node
162         node: tosca.nodes.Root
163         relationship: tosca.relationships.DependsOn
164         occurrences:
165         - 0
166         - UNBOUNDED
167     - link_pd_server_pd01_port:
168         capability: tosca.capabilities.network.Linkable
169         relationship: tosca.relationships.network.LinksTo
170         occurrences:
171         - 1
172         - 1
173     - dependency_pd_server_pd02_port:
174         capability: tosca.capabilities.Node
175         node: tosca.nodes.Root
176         relationship: tosca.relationships.DependsOn
177         occurrences:
178         - 0
179         - UNBOUNDED
180     - link_pd_server_pd02_port:
181         capability: tosca.capabilities.network.Linkable
182         relationship: tosca.relationships.network.LinksTo
183         occurrences:
184         - 1
185         - 1
186     capabilities:
187       scalable_pd_server:
188         type: tosca.capabilities.Scalable
189         occurrences:
190         - 1
191         - UNBOUNDED
192       disk.read.bytes.rate_pd_server:
193         type: org.openecomp.capabilities.metric.Ceilometer
194         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
195         occurrences:
196         - 1
197         - UNBOUNDED
198       memory.usage_pd_server:
199         type: org.openecomp.capabilities.metric.Ceilometer
200         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
201         occurrences:
202         - 1
203         - UNBOUNDED
204       memory_pd_server:
205         type: org.openecomp.capabilities.metric.Ceilometer
206         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
207         occurrences:
208         - 1
209         - UNBOUNDED
210       disk.device.usage_pd_server:
211         type: org.openecomp.capabilities.metric.Ceilometer
212         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
213         occurrences:
214         - 1
215         - UNBOUNDED
216       network.outgoing.packets.rate_pd_server_pd01_port:
217         type: org.openecomp.capabilities.metric.Ceilometer
218         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
219         occurrences:
220         - 1
221         - UNBOUNDED
222       os_pd_server:
223         type: tosca.capabilities.OperatingSystem
224         occurrences:
225         - 1
226         - UNBOUNDED
227       disk.write.bytes.rate_pd_server:
228         type: org.openecomp.capabilities.metric.Ceilometer
229         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
230         occurrences:
231         - 1
232         - UNBOUNDED
233       network.incoming.bytes_pd_server_pd01_port:
234         type: org.openecomp.capabilities.metric.Ceilometer
235         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
236         occurrences:
237         - 1
238         - UNBOUNDED
239       cpu_pd_server:
240         type: org.openecomp.capabilities.metric.Ceilometer
241         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
242         occurrences:
243         - 1
244         - UNBOUNDED
245       cpu_util_pd_server:
246         type: org.openecomp.capabilities.metric.Ceilometer
247         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
248         occurrences:
249         - 1
250         - UNBOUNDED
251       disk.device.write.requests.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       disk.read.bytes_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       disk.device.read.bytes.rate_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       binding_pd_server_pd02_port:
270         type: tosca.capabilities.network.Bindable
271         valid_source_types:
272         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
273         occurrences:
274         - 0
275         - UNBOUNDED
276       network.outgoing.bytes_pd_server_pd01_port:
277         type: org.openecomp.capabilities.metric.Ceilometer
278         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
279         occurrences:
280         - 1
281         - UNBOUNDED
282       network.outgoing.packets.rate_pd_server_pd02_port:
283         type: org.openecomp.capabilities.metric.Ceilometer
284         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
285         occurrences:
286         - 1
287         - UNBOUNDED
288       disk.iops_pd_server:
289         type: org.openecomp.capabilities.metric.Ceilometer
290         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
291         occurrences:
292         - 1
293         - UNBOUNDED
294       memory.resident_pd_server:
295         type: org.openecomp.capabilities.metric.Ceilometer
296         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
297         occurrences:
298         - 1
299         - UNBOUNDED
300       cpu.delta_pd_server:
301         type: org.openecomp.capabilities.metric.Ceilometer
302         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
303         occurrences:
304         - 1
305         - UNBOUNDED
306       network.incoming.packets.rate_pd_server_pd01_port:
307         type: org.openecomp.capabilities.metric.Ceilometer
308         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
309         occurrences:
310         - 1
311         - UNBOUNDED
312       network.outgoing.bytes_pd_server_pd02_port:
313         type: org.openecomp.capabilities.metric.Ceilometer
314         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
315         occurrences:
316         - 1
317         - UNBOUNDED
318       feature_pd_server_pd02_port:
319         type: tosca.capabilities.Node
320         occurrences:
321         - 1
322         - UNBOUNDED
323       network.incoming.bytes.rate_pd_server_pd02_port:
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.outgoing.bytes.rate_pd_server_pd02_port:
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       vcpus_pd_server:
336         type: org.openecomp.capabilities.metric.Ceilometer
337         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
338         occurrences:
339         - 1
340         - UNBOUNDED
341       disk.device.write.bytes.rate_pd_server:
342         type: org.openecomp.capabilities.metric.Ceilometer
343         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
344         occurrences:
345         - 1
346         - UNBOUNDED
347       disk.device.write.requests_pd_server:
348         type: org.openecomp.capabilities.metric.Ceilometer
349         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
350         occurrences:
351         - 1
352         - UNBOUNDED
353       endpoint_pd_server:
354         type: tosca.capabilities.Endpoint.Admin
355         occurrences:
356         - 1
357         - UNBOUNDED
358       attachment_pd_server_pd01_port:
359         type: tosca.capabilities.Attachment
360         occurrences:
361         - 1
362         - UNBOUNDED
363       disk.capacity_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       disk.device.allocation_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       disk.allocation_pd_server:
376         type: org.openecomp.capabilities.metric.Ceilometer
377         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
378         occurrences:
379         - 1
380         - UNBOUNDED
381       network.incoming.packets_pd_server_pd02_port:
382         type: org.openecomp.capabilities.metric.Ceilometer
383         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
384         occurrences:
385         - 1
386         - UNBOUNDED
387       binding_pd_server:
388         type: tosca.capabilities.network.Bindable
389         occurrences:
390         - 1
391         - UNBOUNDED
392       disk.read.requests_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       feature_pd_server:
399         type: tosca.capabilities.Node
400         occurrences:
401         - 1
402         - UNBOUNDED
403       disk.usage_pd_server:
404         type: org.openecomp.capabilities.metric.Ceilometer
405         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
406         occurrences:
407         - 1
408         - UNBOUNDED
409       network.outpoing.packets_pd_server_pd02_port:
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       binding_pd_server_pd01_port:
416         type: tosca.capabilities.network.Bindable
417         valid_source_types:
418         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
419         occurrences:
420         - 0
421         - UNBOUNDED
422       disk.write.bytes_pd_server:
423         type: org.openecomp.capabilities.metric.Ceilometer
424         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
425         occurrences:
426         - 1
427         - UNBOUNDED
428       network.incoming.bytes.rate_pd_server_pd01_port:
429         type: org.openecomp.capabilities.metric.Ceilometer
430         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
431         occurrences:
432         - 1
433         - UNBOUNDED
434       network.incoming.packets_pd_server_pd01_port:
435         type: org.openecomp.capabilities.metric.Ceilometer
436         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
437         occurrences:
438         - 1
439         - UNBOUNDED
440       disk.device.read.requests.rate_pd_server:
441         type: org.openecomp.capabilities.metric.Ceilometer
442         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
443         occurrences:
444         - 1
445         - UNBOUNDED
446       disk.root.size_pd_server:
447         type: org.openecomp.capabilities.metric.Ceilometer
448         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
449         occurrences:
450         - 1
451         - UNBOUNDED
452       disk.device.read.bytes_pd_server:
453         type: org.openecomp.capabilities.metric.Ceilometer
454         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
455         occurrences:
456         - 1
457         - UNBOUNDED
458       disk.device.write.bytes_pd_server:
459         type: org.openecomp.capabilities.metric.Ceilometer
460         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
461         occurrences:
462         - 1
463         - UNBOUNDED
464       disk.device.read.requests_pd_server:
465         type: org.openecomp.capabilities.metric.Ceilometer
466         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
467         occurrences:
468         - 1
469         - UNBOUNDED
470       instance_pd_server:
471         type: org.openecomp.capabilities.metric.Ceilometer
472         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
473         occurrences:
474         - 1
475         - UNBOUNDED
476       host_pd_server:
477         type: tosca.capabilities.Container
478         valid_source_types:
479         - tosca.nodes.SoftwareComponent
480         occurrences:
481         - 1
482         - UNBOUNDED
483       network.outpoing.packets_pd_server_pd01_port:
484         type: org.openecomp.capabilities.metric.Ceilometer
485         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
486         occurrences:
487         - 1
488         - UNBOUNDED
489       attachment_pd_server_pd02_port:
490         type: tosca.capabilities.Attachment
491         occurrences:
492         - 1
493         - UNBOUNDED
494       disk.write.requests.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.ephemeral.size_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       disk.write.requests_pd_server:
507         type: org.openecomp.capabilities.metric.Ceilometer
508         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
509         occurrences:
510         - 1
511         - UNBOUNDED
512       feature_pd_server_pd01_port:
513         type: tosca.capabilities.Node
514         occurrences:
515         - 1
516         - UNBOUNDED
517       disk.device.latency_pd_server:
518         type: org.openecomp.capabilities.metric.Ceilometer
519         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
520         occurrences:
521         - 1
522         - UNBOUNDED
523       network.incoming.packets.rate_pd_server_pd02_port:
524         type: org.openecomp.capabilities.metric.Ceilometer
525         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
526         occurrences:
527         - 1
528         - UNBOUNDED
529       disk.latency_pd_server:
530         type: org.openecomp.capabilities.metric.Ceilometer
531         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
532         occurrences:
533         - 1
534         - UNBOUNDED
535       disk.device.capacity_pd_server:
536         type: org.openecomp.capabilities.metric.Ceilometer
537         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
538         occurrences:
539         - 1
540         - UNBOUNDED
541       network.outgoing.bytes.rate_pd_server_pd01_port:
542         type: org.openecomp.capabilities.metric.Ceilometer
543         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
544         occurrences:
545         - 1
546         - UNBOUNDED
547       disk.device.iops_pd_server:
548         type: org.openecomp.capabilities.metric.Ceilometer
549         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
550         occurrences:
551         - 1
552         - UNBOUNDED
553       network.incoming.bytes_pd_server_pd02_port:
554         type: org.openecomp.capabilities.metric.Ceilometer
555         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
556         occurrences:
557         - 1
558         - UNBOUNDED