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 / computewithtwosameporttypes2 / 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_1_port_0_network:
12         type: list
13         required: true
14         status: SUPPORTED
15         entry_schema:
16           type: string
17       port_pd_2_port_1_vlan_requirements:
18         type: list
19         required: true
20         status: SUPPORTED
21         entry_schema:
22           type: org.openecomp.datatypes.network.VlanRequirements
23       compute_pd_server_availability_zone:
24         type: list
25         required: true
26         status: SUPPORTED
27         entry_schema:
28           type: string
29       compute_pd_server_name:
30         type: list
31         required: true
32         status: SUPPORTED
33         entry_schema:
34           type: string
35       port_pd_2_port_1_network:
36         type: list
37         required: true
38         status: SUPPORTED
39         entry_schema:
40           type: string
41       port_pd_2_port_1_network_role:
42         type: string
43         required: true
44         status: SUPPORTED
45       vm_flavor_name:
46         type: string
47         required: true
48         status: SUPPORTED
49       port_pd_2_port_1_related_networks:
50         type: list
51         required: true
52         status: SUPPORTED
53         entry_schema:
54           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
55       port_pd_2_port_1_order:
56         type: integer
57         required: true
58         status: SUPPORTED
59       vm_image_name:
60         type: string
61         required: true
62         status: SUPPORTED
63       port_pd_1_port_0_subnetpoolid:
64         type: string
65         required: true
66         status: SUPPORTED
67       port_pd_1_port_0_mac_requirements:
68         type: org.openecomp.datatypes.network.MacRequirements
69         required: true
70         status: SUPPORTED
71       port_pd_1_port_0_ip_requirements:
72         type: list
73         required: true
74         status: SUPPORTED
75         entry_schema:
76           type: org.openecomp.datatypes.network.IpRequirements
77       port_pd_2_port_1_ip_requirements:
78         type: list
79         required: true
80         status: SUPPORTED
81         entry_schema:
82           type: org.openecomp.datatypes.network.IpRequirements
83       port_pd_2_port_1_network_role_tag:
84         type: string
85         required: true
86         status: SUPPORTED
87       compute_pd_server_user_data_format:
88         type: list
89         required: true
90         status: SUPPORTED
91         entry_schema:
92           type: string
93       port_pd_1_port_0_vlan_requirements:
94         type: list
95         required: true
96         status: SUPPORTED
97         entry_schema:
98           type: org.openecomp.datatypes.network.VlanRequirements
99       port_pd_1_port_0_network_role:
100         type: string
101         required: true
102         status: SUPPORTED
103       index_value:
104         type: integer
105         description: Index value of this substitution service template runtime instance
106         required: false
107         default: 0
108         status: SUPPORTED
109         constraints:
110         - greater_or_equal: 0
111       port_pd_2_port_1_subnetpoolid:
112         type: string
113         required: true
114         status: SUPPORTED
115       port_pd_1_port_0_related_networks:
116         type: list
117         required: true
118         status: SUPPORTED
119         entry_schema:
120           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
121       port_pd_2_port_1_exCP_naming:
122         type: org.openecomp.datatypes.Naming
123         required: true
124         status: SUPPORTED
125       port_pd_1_port_0_order:
126         type: integer
127         required: true
128         status: SUPPORTED
129       port_pd_1_port_0_exCP_naming:
130         type: org.openecomp.datatypes.Naming
131         required: true
132         status: SUPPORTED
133       port_pd_1_port_0_network_role_tag:
134         type: string
135         required: true
136         status: SUPPORTED
137       port_pd_2_port_1_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_2_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_2_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_1_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_1_port_0:
177         capability: tosca.capabilities.network.Linkable
178         relationship: tosca.relationships.network.LinksTo
179         occurrences:
180         - 1
181         - 1
182     capabilities:
183       network.incoming.packets_pd_server_pd_2_port_1:
184         type: org.openecomp.capabilities.metric.Ceilometer
185         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
186         occurrences:
187         - 1
188         - UNBOUNDED
189       scalable_pd_server:
190         type: tosca.capabilities.Scalable
191         occurrences:
192         - 1
193         - UNBOUNDED
194       disk.read.bytes.rate_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       network.incoming.packets_pd_server_pd_1_port_0:
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       memory.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       memory_pd_server:
213         type: org.openecomp.capabilities.metric.Ceilometer
214         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
215         occurrences:
216         - 1
217         - UNBOUNDED
218       disk.device.usage_pd_server:
219         type: org.openecomp.capabilities.metric.Ceilometer
220         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
221         occurrences:
222         - 1
223         - UNBOUNDED
224       feature_pd_server_pd_2_port_1:
225         type: tosca.capabilities.Node
226         occurrences:
227         - 1
228         - UNBOUNDED
229       feature_pd_server_pd_1_port_0:
230         type: tosca.capabilities.Node
231         occurrences:
232         - 1
233         - UNBOUNDED
234       os_pd_server:
235         type: tosca.capabilities.OperatingSystem
236         occurrences:
237         - 1
238         - UNBOUNDED
239       disk.write.bytes.rate_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       network.outgoing.bytes_pd_server_pd_1_port_0:
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       network.outgoing.bytes_pd_server_pd_2_port_1:
252         type: org.openecomp.capabilities.metric.Ceilometer
253         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
254         occurrences:
255         - 1
256         - UNBOUNDED
257       cpu_pd_server:
258         type: org.openecomp.capabilities.metric.Ceilometer
259         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
260         occurrences:
261         - 1
262         - UNBOUNDED
263       cpu_util_pd_server:
264         type: org.openecomp.capabilities.metric.Ceilometer
265         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
266         occurrences:
267         - 1
268         - UNBOUNDED
269       disk.device.write.requests.rate_pd_server:
270         type: org.openecomp.capabilities.metric.Ceilometer
271         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
272         occurrences:
273         - 1
274         - UNBOUNDED
275       disk.read.bytes_pd_server:
276         type: org.openecomp.capabilities.metric.Ceilometer
277         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
278         occurrences:
279         - 1
280         - UNBOUNDED
281       disk.device.read.bytes.rate_pd_server:
282         type: org.openecomp.capabilities.metric.Ceilometer
283         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
284         occurrences:
285         - 1
286         - UNBOUNDED
287       binding_pd_server_pd_1_port_0:
288         type: tosca.capabilities.network.Bindable
289         valid_source_types:
290         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
291         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
292         occurrences:
293         - 0
294         - UNBOUNDED
295       disk.iops_pd_server:
296         type: org.openecomp.capabilities.metric.Ceilometer
297         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
298         occurrences:
299         - 1
300         - UNBOUNDED
301       memory.resident_pd_server:
302         type: org.openecomp.capabilities.metric.Ceilometer
303         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
304         occurrences:
305         - 1
306         - UNBOUNDED
307       cpu.delta_pd_server:
308         type: org.openecomp.capabilities.metric.Ceilometer
309         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
310         occurrences:
311         - 1
312         - UNBOUNDED
313       network.outgoing.bytes.rate_pd_server_pd_2_port_1:
314         type: org.openecomp.capabilities.metric.Ceilometer
315         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
316         occurrences:
317         - 1
318         - UNBOUNDED
319       vcpus_pd_server:
320         type: org.openecomp.capabilities.metric.Ceilometer
321         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
322         occurrences:
323         - 1
324         - UNBOUNDED
325       disk.device.write.bytes.rate_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       attachment_pd_server_pd_2_port_1:
332         type: tosca.capabilities.Attachment
333         occurrences:
334         - 1
335         - UNBOUNDED
336       disk.device.write.requests_pd_server:
337         type: org.openecomp.capabilities.metric.Ceilometer
338         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
339         occurrences:
340         - 1
341         - UNBOUNDED
342       endpoint_pd_server:
343         type: tosca.capabilities.Endpoint.Admin
344         occurrences:
345         - 1
346         - UNBOUNDED
347       disk.capacity_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       disk.device.allocation_pd_server:
354         type: org.openecomp.capabilities.metric.Ceilometer
355         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
356         occurrences:
357         - 1
358         - UNBOUNDED
359       disk.allocation_pd_server:
360         type: org.openecomp.capabilities.metric.Ceilometer
361         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
362         occurrences:
363         - 1
364         - UNBOUNDED
365       forwarder_pd_server_pd_2_port_1:
366         type: org.openecomp.capabilities.Forwarder
367         occurrences:
368         - 1
369         - UNBOUNDED
370       binding_pd_server:
371         type: tosca.capabilities.network.Bindable
372         occurrences:
373         - 1
374         - UNBOUNDED
375       disk.read.requests_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.outpoing.packets_pd_server_pd_1_port_0:
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       network.incoming.packets.rate_pd_server_pd_2_port_1:
388         type: org.openecomp.capabilities.metric.Ceilometer
389         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
390         occurrences:
391         - 1
392         - UNBOUNDED
393       network.incoming.bytes.rate_pd_server_pd_1_port_0:
394         type: org.openecomp.capabilities.metric.Ceilometer
395         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
396         occurrences:
397         - 1
398         - UNBOUNDED
399       network.incoming.bytes.rate_pd_server_pd_2_port_1:
400         type: org.openecomp.capabilities.metric.Ceilometer
401         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
402         occurrences:
403         - 1
404         - UNBOUNDED
405       feature_pd_server:
406         type: tosca.capabilities.Node
407         occurrences:
408         - 1
409         - UNBOUNDED
410       network.incoming.packets.rate_pd_server_pd_1_port_0:
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.usage_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       network.outgoing.packets.rate_pd_server_pd_1_port_0:
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       disk.write.bytes_pd_server:
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.bytes_pd_server_pd_2_port_1:
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       network.outgoing.packets.rate_pd_server_pd_2_port_1:
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       network.incoming.bytes_pd_server_pd_1_port_0:
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.requests.rate_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.root.size_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.bytes_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       network.outpoing.packets_pd_server_pd_2_port_1:
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       disk.device.write.bytes_pd_server:
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       binding_pd_server_pd_2_port_1:
483         type: tosca.capabilities.network.Bindable
484         valid_source_types:
485         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
486         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
487         occurrences:
488         - 0
489         - UNBOUNDED
490       disk.device.read.requests_pd_server:
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       instance_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       host_pd_server:
503         type: tosca.capabilities.Container
504         valid_source_types:
505         - tosca.nodes.SoftwareComponent
506         occurrences:
507         - 1
508         - UNBOUNDED
509       network.outgoing.bytes.rate_pd_server_pd_1_port_0:
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.write.requests.rate_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       disk.ephemeral.size_pd_server:
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       attachment_pd_server_pd_1_port_0:
528         type: tosca.capabilities.Attachment
529         occurrences:
530         - 1
531         - UNBOUNDED
532       disk.write.requests_pd_server:
533         type: org.openecomp.capabilities.metric.Ceilometer
534         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
535         occurrences:
536         - 1
537         - UNBOUNDED
538       disk.device.latency_pd_server:
539         type: org.openecomp.capabilities.metric.Ceilometer
540         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
541         occurrences:
542         - 1
543         - UNBOUNDED
544       disk.latency_pd_server:
545         type: org.openecomp.capabilities.metric.Ceilometer
546         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
547         occurrences:
548         - 1
549         - UNBOUNDED
550       disk.device.capacity_pd_server:
551         type: org.openecomp.capabilities.metric.Ceilometer
552         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
553         occurrences:
554         - 1
555         - UNBOUNDED
556       disk.device.iops_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       forwarder_pd_server_pd_1_port_0:
563         type: org.openecomp.capabilities.Forwarder
564         occurrences:
565         - 1
566         - UNBOUNDED