related-networks property support as input
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / computewithtwosameporttypes / 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:
28         type: string
29         required: true
30         status: SUPPORTED
31       compute_pd_server_availability_zone:
32         type: list
33         required: true
34         status: SUPPORTED
35         entry_schema:
36           type: string
37       compute_pd_server_name:
38         type: list
39         required: true
40         status: SUPPORTED
41         entry_schema:
42           type: string
43       vm_flavor_name:
44         type: string
45         required: true
46         status: SUPPORTED
47       port_pd01_port_1_network_role:
48         type: string
49         required: true
50         status: SUPPORTED
51       port_pd01_port_0_order:
52         type: integer
53         required: true
54         status: SUPPORTED
55       port_pd01_port_1_subnetpoolid:
56         type: string
57         required: true
58         status: SUPPORTED
59       vm_image_name:
60         type: string
61         required: true
62         status: SUPPORTED
63       port_pd01_port_1_network_role_tag:
64         type: string
65         required: true
66         status: SUPPORTED
67       port_pd01_port_0_subnetpoolid:
68         type: string
69         required: true
70         status: SUPPORTED
71       port_pd01_port_1_network:
72         type: list
73         required: true
74         status: SUPPORTED
75         entry_schema:
76           type: string
77       compute_pd_server_user_data_format:
78         type: list
79         required: true
80         status: SUPPORTED
81         entry_schema:
82           type: string
83       port_pd01_port_0_network_role_tag:
84         type: string
85         required: true
86         status: SUPPORTED
87       port_pd01_port_0_related_networks:
88         type: list
89         required: true
90         status: SUPPORTED
91         entry_schema:
92           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
93       port_pd01_port_1_ip_requirements:
94         type: list
95         required: true
96         status: SUPPORTED
97         entry_schema:
98           type: org.openecomp.datatypes.network.IpRequirements
99       index_value:
100         type: integer
101         description: Index value of this substitution service template runtime instance
102         required: false
103         default: 0
104         status: SUPPORTED
105         constraints:
106         - greater_or_equal: 0
107       port_pd01_port_1_order:
108         type: integer
109         required: true
110         status: SUPPORTED
111       port_pd01_port_1_related_networks:
112         type: list
113         required: true
114         status: SUPPORTED
115         entry_schema:
116           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
117       port_pd01_port_0_exCP_naming:
118         type: org.openecomp.datatypes.Naming
119         required: true
120         status: SUPPORTED
121       port_pd01_port_1_vlan_requirements:
122         type: list
123         required: true
124         status: SUPPORTED
125         entry_schema:
126           type: org.openecomp.datatypes.network.VlanRequirements
127       port_pd01_port_1_mac_requirements:
128         type: org.openecomp.datatypes.network.MacRequirements
129         required: true
130         status: SUPPORTED
131       port_pd01_port_1_exCP_naming:
132         type: org.openecomp.datatypes.Naming
133         required: true
134         status: SUPPORTED
135       port_pd01_port_0_vlan_requirements:
136         type: list
137         required: true
138         status: SUPPORTED
139         entry_schema:
140           type: org.openecomp.datatypes.network.VlanRequirements
141     requirements:
142     - dependency_pd_server:
143         capability: tosca.capabilities.Node
144         node: tosca.nodes.Root
145         relationship: tosca.relationships.DependsOn
146         occurrences:
147         - 0
148         - UNBOUNDED
149     - local_storage_pd_server:
150         capability: tosca.capabilities.Attachment
151         node: tosca.nodes.BlockStorage
152         relationship: tosca.relationships.AttachesTo
153         occurrences:
154         - 0
155         - UNBOUNDED
156     - dependency_pd_server_pd01_port_1:
157         capability: tosca.capabilities.Node
158         node: tosca.nodes.Root
159         relationship: tosca.relationships.DependsOn
160         occurrences:
161         - 0
162         - UNBOUNDED
163     - link_pd_server_pd01_port_1:
164         capability: tosca.capabilities.network.Linkable
165         relationship: tosca.relationships.network.LinksTo
166         occurrences:
167         - 1
168         - 1
169     - dependency_pd_server_pd01_port_0:
170         capability: tosca.capabilities.Node
171         node: tosca.nodes.Root
172         relationship: tosca.relationships.DependsOn
173         occurrences:
174         - 0
175         - UNBOUNDED
176     - link_pd_server_pd01_port_0:
177         capability: tosca.capabilities.network.Linkable
178         relationship: tosca.relationships.network.LinksTo
179         occurrences:
180         - 1
181         - 1
182     capabilities:
183       binding_pd_server_pd01_port_0:
184         type: tosca.capabilities.network.Bindable
185         valid_source_types:
186         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
187         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
188         occurrences:
189         - 0
190         - UNBOUNDED
191       scalable_pd_server:
192         type: tosca.capabilities.Scalable
193         occurrences:
194         - 1
195         - UNBOUNDED
196       disk.read.bytes.rate_pd_server:
197         type: org.openecomp.capabilities.metric.Ceilometer
198         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
199         occurrences:
200         - 1
201         - UNBOUNDED
202       binding_pd_server_pd01_port_1:
203         type: tosca.capabilities.network.Bindable
204         valid_source_types:
205         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
206         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
207         occurrences:
208         - 0
209         - UNBOUNDED
210       memory.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       memory_pd_server:
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       disk.device.usage_pd_server:
223         type: org.openecomp.capabilities.metric.Ceilometer
224         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
225         occurrences:
226         - 1
227         - UNBOUNDED
228       os_pd_server:
229         type: tosca.capabilities.OperatingSystem
230         occurrences:
231         - 1
232         - UNBOUNDED
233       disk.write.bytes.rate_pd_server:
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       network.incoming.packets_pd_server_pd01_port_0:
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.iops_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       network.incoming.packets.rate_pd_server_pd01_port_1:
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.bytes.rate_pd_server_pd01_port_1:
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       memory.resident_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       cpu.delta_pd_server:
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.packets.rate_pd_server_pd01_port_0:
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       network.incoming.bytes.rate_pd_server_pd01_port_0:
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       attachment_pd_server_pd01_port_1:
318         type: tosca.capabilities.Attachment
319         occurrences:
320         - 1
321         - UNBOUNDED
322       network.outgoing.packets.rate_pd_server_pd01_port_1:
323         type: org.openecomp.capabilities.metric.Ceilometer
324         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
325         occurrences:
326         - 1
327         - UNBOUNDED
328       network.outgoing.packets.rate_pd_server_pd01_port_0:
329         type: org.openecomp.capabilities.metric.Ceilometer
330         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
331         occurrences:
332         - 1
333         - UNBOUNDED
334       vcpus_pd_server:
335         type: org.openecomp.capabilities.metric.Ceilometer
336         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
337         occurrences:
338         - 1
339         - UNBOUNDED
340       disk.device.write.bytes.rate_pd_server:
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       attachment_pd_server_pd01_port_0:
347         type: tosca.capabilities.Attachment
348         occurrences:
349         - 1
350         - UNBOUNDED
351       disk.device.write.requests_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       endpoint_pd_server:
358         type: tosca.capabilities.Endpoint.Admin
359         occurrences:
360         - 1
361         - UNBOUNDED
362       disk.capacity_pd_server:
363         type: org.openecomp.capabilities.metric.Ceilometer
364         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
365         occurrences:
366         - 1
367         - UNBOUNDED
368       forwarder_pd_server_pd01_port_0:
369         type: org.openecomp.capabilities.Forwarder
370         occurrences:
371         - 1
372         - UNBOUNDED
373       forwarder_pd_server_pd01_port_1:
374         type: org.openecomp.capabilities.Forwarder
375         occurrences:
376         - 1
377         - UNBOUNDED
378       network.incoming.packets_pd_server_pd01_port_1:
379         type: org.openecomp.capabilities.metric.Ceilometer
380         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
381         occurrences:
382         - 1
383         - UNBOUNDED
384       disk.device.allocation_pd_server:
385         type: org.openecomp.capabilities.metric.Ceilometer
386         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
387         occurrences:
388         - 1
389         - UNBOUNDED
390       disk.allocation_pd_server:
391         type: org.openecomp.capabilities.metric.Ceilometer
392         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
393         occurrences:
394         - 1
395         - UNBOUNDED
396       binding_pd_server:
397         type: tosca.capabilities.network.Bindable
398         occurrences:
399         - 1
400         - UNBOUNDED
401       disk.read.requests_pd_server:
402         type: org.openecomp.capabilities.metric.Ceilometer
403         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
404         occurrences:
405         - 1
406         - UNBOUNDED
407       network.outgoing.bytes.rate_pd_server_pd01_port_1:
408         type: org.openecomp.capabilities.metric.Ceilometer
409         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
410         occurrences:
411         - 1
412         - UNBOUNDED
413       network.outgoing.bytes.rate_pd_server_pd01_port_0:
414         type: org.openecomp.capabilities.metric.Ceilometer
415         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
416         occurrences:
417         - 1
418         - UNBOUNDED
419       feature_pd_server:
420         type: tosca.capabilities.Node
421         occurrences:
422         - 1
423         - UNBOUNDED
424       disk.usage_pd_server:
425         type: org.openecomp.capabilities.metric.Ceilometer
426         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
427         occurrences:
428         - 1
429         - UNBOUNDED
430       network.incoming.bytes_pd_server_pd01_port_1:
431         type: org.openecomp.capabilities.metric.Ceilometer
432         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
433         occurrences:
434         - 1
435         - UNBOUNDED
436       disk.write.bytes_pd_server:
437         type: org.openecomp.capabilities.metric.Ceilometer
438         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
439         occurrences:
440         - 1
441         - UNBOUNDED
442       network.outgoing.bytes_pd_server_pd01_port_0:
443         type: org.openecomp.capabilities.metric.Ceilometer
444         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
445         occurrences:
446         - 1
447         - UNBOUNDED
448       network.outgoing.bytes_pd_server_pd01_port_1:
449         type: org.openecomp.capabilities.metric.Ceilometer
450         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
451         occurrences:
452         - 1
453         - UNBOUNDED
454       network.incoming.bytes_pd_server_pd01_port_0:
455         type: org.openecomp.capabilities.metric.Ceilometer
456         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
457         occurrences:
458         - 1
459         - UNBOUNDED
460       disk.device.read.requests.rate_pd_server:
461         type: org.openecomp.capabilities.metric.Ceilometer
462         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
463         occurrences:
464         - 1
465         - UNBOUNDED
466       disk.root.size_pd_server:
467         type: org.openecomp.capabilities.metric.Ceilometer
468         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
469         occurrences:
470         - 1
471         - UNBOUNDED
472       disk.device.read.bytes_pd_server:
473         type: org.openecomp.capabilities.metric.Ceilometer
474         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
475         occurrences:
476         - 1
477         - UNBOUNDED
478       disk.device.write.bytes_pd_server:
479         type: org.openecomp.capabilities.metric.Ceilometer
480         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
481         occurrences:
482         - 1
483         - UNBOUNDED
484       network.outpoing.packets_pd_server_pd01_port_0:
485         type: org.openecomp.capabilities.metric.Ceilometer
486         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
487         occurrences:
488         - 1
489         - UNBOUNDED
490       network.outpoing.packets_pd_server_pd01_port_1:
491         type: org.openecomp.capabilities.metric.Ceilometer
492         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
493         occurrences:
494         - 1
495         - UNBOUNDED
496       disk.device.read.requests_pd_server:
497         type: org.openecomp.capabilities.metric.Ceilometer
498         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
499         occurrences:
500         - 1
501         - UNBOUNDED
502       instance_pd_server:
503         type: org.openecomp.capabilities.metric.Ceilometer
504         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
505         occurrences:
506         - 1
507         - UNBOUNDED
508       host_pd_server:
509         type: tosca.capabilities.Container
510         valid_source_types:
511         - tosca.nodes.SoftwareComponent
512         occurrences:
513         - 1
514         - UNBOUNDED
515       feature_pd_server_pd01_port_1:
516         type: tosca.capabilities.Node
517         occurrences:
518         - 1
519         - UNBOUNDED
520       feature_pd_server_pd01_port_0:
521         type: tosca.capabilities.Node
522         occurrences:
523         - 1
524         - UNBOUNDED
525       disk.write.requests.rate_pd_server:
526         type: org.openecomp.capabilities.metric.Ceilometer
527         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
528         occurrences:
529         - 1
530         - UNBOUNDED
531       disk.ephemeral.size_pd_server:
532         type: org.openecomp.capabilities.metric.Ceilometer
533         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
534         occurrences:
535         - 1
536         - UNBOUNDED
537       disk.write.requests_pd_server:
538         type: org.openecomp.capabilities.metric.Ceilometer
539         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
540         occurrences:
541         - 1
542         - UNBOUNDED
543       disk.device.latency_pd_server:
544         type: org.openecomp.capabilities.metric.Ceilometer
545         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
546         occurrences:
547         - 1
548         - UNBOUNDED
549       disk.latency_pd_server:
550         type: org.openecomp.capabilities.metric.Ceilometer
551         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
552         occurrences:
553         - 1
554         - UNBOUNDED
555       disk.device.capacity_pd_server:
556         type: org.openecomp.capabilities.metric.Ceilometer
557         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
558         occurrences:
559         - 1
560         - UNBOUNDED
561       disk.device.iops_pd_server:
562         type: org.openecomp.capabilities.metric.Ceilometer
563         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
564         occurrences:
565         - 1
566         - UNBOUNDED