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 / computewithtwosameporttypes3 / 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_pd_oam1_port_0_network_role_tag:
12         type: string
13         required: true
14         status: SUPPORTED
15       port_pd_oam1_port_0_related_networks:
16         type: list
17         required: true
18         status: SUPPORTED
19         entry_schema:
20           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
21       port_pd_oam1_port_0_network_role:
22         type: string
23         required: true
24         status: SUPPORTED
25       port_pd_oam1_port_1_ip_requirements:
26         type: list
27         required: true
28         status: SUPPORTED
29         entry_schema:
30           type: org.openecomp.datatypes.network.IpRequirements
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_pd_oam1_port_1_order:
48         type: integer
49         required: true
50         status: SUPPORTED
51       port_pd_oam1_port_1_mac_requirements:
52         type: org.openecomp.datatypes.network.MacRequirements
53         required: true
54         status: SUPPORTED
55       port_pd_oam1_port_1_network_role:
56         type: string
57         required: true
58         status: SUPPORTED
59       vm_image_name:
60         type: string
61         required: true
62         status: SUPPORTED
63       port_pd_oam1_port_1_network_role_tag:
64         type: string
65         required: true
66         status: SUPPORTED
67       compute_pd_server_user_data_format:
68         type: list
69         required: true
70         status: SUPPORTED
71         entry_schema:
72           type: string
73       index_value:
74         type: integer
75         description: Index value of this substitution service template runtime instance
76         required: false
77         default: 0
78         status: SUPPORTED
79         constraints:
80         - greater_or_equal: 0
81       port_pd_oam1_port_0_ip_requirements:
82         type: list
83         required: true
84         status: SUPPORTED
85         entry_schema:
86           type: org.openecomp.datatypes.network.IpRequirements
87       port_pd_oam1_port_0_vlan_requirements:
88         type: list
89         required: true
90         status: SUPPORTED
91         entry_schema:
92           type: org.openecomp.datatypes.network.VlanRequirements
93       port_pd_oam1_port_1_network:
94         type: list
95         required: true
96         status: SUPPORTED
97         entry_schema:
98           type: string
99       port_pd_oam1_port_1_subnetpoolid:
100         type: string
101         required: true
102         status: SUPPORTED
103       port_pd_oam1_port_0_order:
104         type: integer
105         required: true
106         status: SUPPORTED
107       port_pd_oam1_port_1_exCP_naming:
108         type: org.openecomp.datatypes.Naming
109         required: true
110         status: SUPPORTED
111       port_pd_oam1_port_0_network:
112         type: list
113         required: true
114         status: SUPPORTED
115         entry_schema:
116           type: string
117       port_pd_oam1_port_0_subnetpoolid:
118         type: string
119         required: true
120         status: SUPPORTED
121       port_pd_oam1_port_1_related_networks:
122         type: list
123         required: true
124         status: SUPPORTED
125         entry_schema:
126           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
127       port_pd_oam1_port_0_exCP_naming:
128         type: org.openecomp.datatypes.Naming
129         required: true
130         status: SUPPORTED
131       port_pd_oam1_port_1_vlan_requirements:
132         type: list
133         required: true
134         status: SUPPORTED
135         entry_schema:
136           type: org.openecomp.datatypes.network.VlanRequirements
137       port_pd_oam1_port_0_mac_requirements:
138         type: org.openecomp.datatypes.network.MacRequirements
139         required: true
140         status: SUPPORTED
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_pd_oam1_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_pd_oam1_port_1:
164         capability: tosca.capabilities.network.Linkable
165         relationship: tosca.relationships.network.LinksTo
166         occurrences:
167         - 1
168         - 1
169     - dependency_pd_server_pd_oam1_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_pd_oam1_port_0:
177         capability: tosca.capabilities.network.Linkable
178         relationship: tosca.relationships.network.LinksTo
179         occurrences:
180         - 1
181         - 1
182     capabilities:
183       scalable_pd_server:
184         type: tosca.capabilities.Scalable
185         occurrences:
186         - 1
187         - UNBOUNDED
188       disk.read.bytes.rate_pd_server:
189         type: org.openecomp.capabilities.metric.Ceilometer
190         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
191         occurrences:
192         - 1
193         - UNBOUNDED
194       memory.usage_pd_server:
195         type: org.openecomp.capabilities.metric.Ceilometer
196         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
197         occurrences:
198         - 1
199         - UNBOUNDED
200       memory_pd_server:
201         type: org.openecomp.capabilities.metric.Ceilometer
202         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
203         occurrences:
204         - 1
205         - UNBOUNDED
206       disk.device.usage_pd_server:
207         type: org.openecomp.capabilities.metric.Ceilometer
208         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
209         occurrences:
210         - 1
211         - UNBOUNDED
212       os_pd_server:
213         type: tosca.capabilities.OperatingSystem
214         occurrences:
215         - 1
216         - UNBOUNDED
217       disk.write.bytes.rate_pd_server:
218         type: org.openecomp.capabilities.metric.Ceilometer
219         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
220         occurrences:
221         - 1
222         - UNBOUNDED
223       network.incoming.packets_pd_server_pd_oam1_port_1:
224         type: org.openecomp.capabilities.metric.Ceilometer
225         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
226         occurrences:
227         - 1
228         - UNBOUNDED
229       network.incoming.packets_pd_server_pd_oam1_port_0:
230         type: org.openecomp.capabilities.metric.Ceilometer
231         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
232         occurrences:
233         - 1
234         - UNBOUNDED
235       forwarder_pd_server_pd_oam1_port_0:
236         type: org.openecomp.capabilities.Forwarder
237         occurrences:
238         - 1
239         - UNBOUNDED
240       cpu_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       forwarder_pd_server_pd_oam1_port_1:
247         type: org.openecomp.capabilities.Forwarder
248         occurrences:
249         - 1
250         - UNBOUNDED
251       feature_pd_server_pd_oam1_port_1:
252         type: tosca.capabilities.Node
253         occurrences:
254         - 1
255         - UNBOUNDED
256       cpu_util_pd_server:
257         type: org.openecomp.capabilities.metric.Ceilometer
258         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
259         occurrences:
260         - 1
261         - UNBOUNDED
262       feature_pd_server_pd_oam1_port_0:
263         type: tosca.capabilities.Node
264         occurrences:
265         - 1
266         - UNBOUNDED
267       disk.device.write.requests.rate_pd_server:
268         type: org.openecomp.capabilities.metric.Ceilometer
269         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
270         occurrences:
271         - 1
272         - UNBOUNDED
273       disk.read.bytes_pd_server:
274         type: org.openecomp.capabilities.metric.Ceilometer
275         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
276         occurrences:
277         - 1
278         - UNBOUNDED
279       disk.device.read.bytes.rate_pd_server:
280         type: org.openecomp.capabilities.metric.Ceilometer
281         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
282         occurrences:
283         - 1
284         - UNBOUNDED
285       disk.iops_pd_server:
286         type: org.openecomp.capabilities.metric.Ceilometer
287         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
288         occurrences:
289         - 1
290         - UNBOUNDED
291       network.incoming.bytes_pd_server_pd_oam1_port_1:
292         type: org.openecomp.capabilities.metric.Ceilometer
293         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
294         occurrences:
295         - 1
296         - UNBOUNDED
297       network.incoming.bytes_pd_server_pd_oam1_port_0:
298         type: org.openecomp.capabilities.metric.Ceilometer
299         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
300         occurrences:
301         - 1
302         - UNBOUNDED
303       memory.resident_pd_server:
304         type: org.openecomp.capabilities.metric.Ceilometer
305         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
306         occurrences:
307         - 1
308         - UNBOUNDED
309       cpu.delta_pd_server:
310         type: org.openecomp.capabilities.metric.Ceilometer
311         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
312         occurrences:
313         - 1
314         - UNBOUNDED
315       attachment_pd_server_pd_oam1_port_0:
316         type: tosca.capabilities.Attachment
317         occurrences:
318         - 1
319         - UNBOUNDED
320       attachment_pd_server_pd_oam1_port_1:
321         type: tosca.capabilities.Attachment
322         occurrences:
323         - 1
324         - UNBOUNDED
325       vcpus_pd_server:
326         type: org.openecomp.capabilities.metric.Ceilometer
327         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
328         occurrences:
329         - 1
330         - UNBOUNDED
331       disk.device.write.bytes.rate_pd_server:
332         type: org.openecomp.capabilities.metric.Ceilometer
333         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
334         occurrences:
335         - 1
336         - UNBOUNDED
337       disk.device.write.requests_pd_server:
338         type: org.openecomp.capabilities.metric.Ceilometer
339         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
340         occurrences:
341         - 1
342         - UNBOUNDED
343       endpoint_pd_server:
344         type: tosca.capabilities.Endpoint.Admin
345         occurrences:
346         - 1
347         - UNBOUNDED
348       disk.capacity_pd_server:
349         type: org.openecomp.capabilities.metric.Ceilometer
350         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
351         occurrences:
352         - 1
353         - UNBOUNDED
354       network.incoming.packets.rate_pd_server_pd_oam1_port_0:
355         type: org.openecomp.capabilities.metric.Ceilometer
356         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
357         occurrences:
358         - 1
359         - UNBOUNDED
360       disk.device.allocation_pd_server:
361         type: org.openecomp.capabilities.metric.Ceilometer
362         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
363         occurrences:
364         - 1
365         - UNBOUNDED
366       disk.allocation_pd_server:
367         type: org.openecomp.capabilities.metric.Ceilometer
368         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
369         occurrences:
370         - 1
371         - UNBOUNDED
372       network.incoming.packets.rate_pd_server_pd_oam1_port_1:
373         type: org.openecomp.capabilities.metric.Ceilometer
374         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
375         occurrences:
376         - 1
377         - UNBOUNDED
378       binding_pd_server:
379         type: tosca.capabilities.network.Bindable
380         occurrences:
381         - 1
382         - UNBOUNDED
383       disk.read.requests_pd_server:
384         type: org.openecomp.capabilities.metric.Ceilometer
385         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
386         occurrences:
387         - 1
388         - UNBOUNDED
389       feature_pd_server:
390         type: tosca.capabilities.Node
391         occurrences:
392         - 1
393         - UNBOUNDED
394       disk.usage_pd_server:
395         type: org.openecomp.capabilities.metric.Ceilometer
396         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
397         occurrences:
398         - 1
399         - UNBOUNDED
400       disk.write.bytes_pd_server:
401         type: org.openecomp.capabilities.metric.Ceilometer
402         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
403         occurrences:
404         - 1
405         - UNBOUNDED
406       network.incoming.bytes.rate_pd_server_pd_oam1_port_1:
407         type: org.openecomp.capabilities.metric.Ceilometer
408         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
409         occurrences:
410         - 1
411         - UNBOUNDED
412       network.outgoing.packets.rate_pd_server_pd_oam1_port_1:
413         type: org.openecomp.capabilities.metric.Ceilometer
414         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
415         occurrences:
416         - 1
417         - UNBOUNDED
418       network.outgoing.bytes.rate_pd_server_pd_oam1_port_1:
419         type: org.openecomp.capabilities.metric.Ceilometer
420         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
421         occurrences:
422         - 1
423         - UNBOUNDED
424       network.incoming.bytes.rate_pd_server_pd_oam1_port_0:
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.outgoing.bytes.rate_pd_server_pd_oam1_port_0:
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       network.outgoing.packets.rate_pd_server_pd_oam1_port_0:
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       disk.device.read.requests.rate_pd_server:
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       disk.root.size_pd_server:
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       disk.device.read.bytes_pd_server:
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.write.bytes_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.device.read.requests_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       instance_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       host_pd_server:
479         type: tosca.capabilities.Container
480         valid_source_types:
481         - tosca.nodes.SoftwareComponent
482         occurrences:
483         - 1
484         - UNBOUNDED
485       disk.write.requests.rate_pd_server:
486         type: org.openecomp.capabilities.metric.Ceilometer
487         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
488         occurrences:
489         - 1
490         - UNBOUNDED
491       disk.ephemeral.size_pd_server:
492         type: org.openecomp.capabilities.metric.Ceilometer
493         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
494         occurrences:
495         - 1
496         - UNBOUNDED
497       disk.write.requests_pd_server:
498         type: org.openecomp.capabilities.metric.Ceilometer
499         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
500         occurrences:
501         - 1
502         - UNBOUNDED
503       network.outgoing.bytes_pd_server_pd_oam1_port_0:
504         type: org.openecomp.capabilities.metric.Ceilometer
505         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
506         occurrences:
507         - 1
508         - UNBOUNDED
509       network.outgoing.bytes_pd_server_pd_oam1_port_1:
510         type: org.openecomp.capabilities.metric.Ceilometer
511         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
512         occurrences:
513         - 1
514         - UNBOUNDED
515       disk.device.latency_pd_server:
516         type: org.openecomp.capabilities.metric.Ceilometer
517         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
518         occurrences:
519         - 1
520         - UNBOUNDED
521       network.outpoing.packets_pd_server_pd_oam1_port_0:
522         type: org.openecomp.capabilities.metric.Ceilometer
523         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
524         occurrences:
525         - 1
526         - UNBOUNDED
527       disk.latency_pd_server:
528         type: org.openecomp.capabilities.metric.Ceilometer
529         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
530         occurrences:
531         - 1
532         - UNBOUNDED
533       disk.device.capacity_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       network.outpoing.packets_pd_server_pd_oam1_port_1:
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       binding_pd_server_pd_oam1_port_1:
546         type: tosca.capabilities.network.Bindable
547         valid_source_types:
548         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
549         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
550         occurrences:
551         - 0
552         - UNBOUNDED
553       binding_pd_server_pd_oam1_port_0:
554         type: tosca.capabilities.network.Bindable
555         valid_source_types:
556         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
557         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
558         occurrences:
559         - 0
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