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 / computewithtwosameporttypes4 / 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_port1_network:
12         type: list
13         required: true
14         status: SUPPORTED
15         entry_schema:
16           type: string
17       port_pd01_port1_exCP_naming:
18         type: org.openecomp.datatypes.Naming
19         required: true
20         status: SUPPORTED
21       port_pd01_port1_network_role_tag:
22         type: string
23         required: true
24         status: SUPPORTED
25       port_pd01_port2_network:
26         type: list
27         required: true
28         status: SUPPORTED
29         entry_schema:
30           type: string
31       port_pd01_port1_related_networks:
32         type: list
33         required: true
34         status: SUPPORTED
35         entry_schema:
36           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
37       port_pd01_port2_ip_requirements:
38         type: list
39         required: true
40         status: SUPPORTED
41         entry_schema:
42           type: org.openecomp.datatypes.network.IpRequirements
43       compute_pd_server_availability_zone:
44         type: list
45         required: true
46         status: SUPPORTED
47         entry_schema:
48           type: string
49       compute_pd_server_name:
50         type: list
51         required: true
52         status: SUPPORTED
53         entry_schema:
54           type: string
55       vm_flavor_name:
56         type: string
57         required: true
58         status: SUPPORTED
59       port_pd01_port2_network_role_tag:
60         type: string
61         required: true
62         status: SUPPORTED
63       port_pd01_port1_order:
64         type: integer
65         required: true
66         status: SUPPORTED
67       port_pd01_port2_order:
68         type: integer
69         required: true
70         status: SUPPORTED
71       vm_image_name:
72         type: string
73         required: true
74         status: SUPPORTED
75       port_pd01_port2_related_networks:
76         type: list
77         required: true
78         status: SUPPORTED
79         entry_schema:
80           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
81       port_pd01_port2_vlan_requirements:
82         type: list
83         required: true
84         status: SUPPORTED
85         entry_schema:
86           type: org.openecomp.datatypes.network.VlanRequirements
87       port_pd01_port2_exCP_naming:
88         type: org.openecomp.datatypes.Naming
89         required: true
90         status: SUPPORTED
91       compute_pd_server_user_data_format:
92         type: list
93         required: true
94         status: SUPPORTED
95         entry_schema:
96           type: string
97       port_pd01_port1_mac_requirements:
98         type: org.openecomp.datatypes.network.MacRequirements
99         required: true
100         status: SUPPORTED
101       index_value:
102         type: integer
103         description: Index value of this substitution service template runtime instance
104         required: false
105         default: 0
106         status: SUPPORTED
107         constraints:
108         - greater_or_equal: 0
109       port_pd01_port1_subnetpoolid:
110         type: string
111         required: true
112         status: SUPPORTED
113       port_pd01_port2_subnetpoolid:
114         type: string
115         required: true
116         status: SUPPORTED
117       port_pd01_port2_network_role:
118         type: string
119         required: true
120         status: SUPPORTED
121       port_pd01_port1_ip_requirements:
122         type: list
123         required: true
124         status: SUPPORTED
125         entry_schema:
126           type: org.openecomp.datatypes.network.IpRequirements
127       port_pd01_port1_network_role:
128         type: string
129         required: true
130         status: SUPPORTED
131       port_pd01_port2_mac_requirements:
132         type: org.openecomp.datatypes.network.MacRequirements
133         required: true
134         status: SUPPORTED
135       port_pd01_port1_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_pd01_port1:
143         capability: tosca.capabilities.Node
144         node: tosca.nodes.Root
145         relationship: tosca.relationships.DependsOn
146         occurrences:
147         - 0
148         - UNBOUNDED
149     - link_pd_server_pd01_port1:
150         capability: tosca.capabilities.network.Linkable
151         relationship: tosca.relationships.network.LinksTo
152         occurrences:
153         - 1
154         - 1
155     - dependency_pd_server:
156         capability: tosca.capabilities.Node
157         node: tosca.nodes.Root
158         relationship: tosca.relationships.DependsOn
159         occurrences:
160         - 0
161         - UNBOUNDED
162     - local_storage_pd_server:
163         capability: tosca.capabilities.Attachment
164         node: tosca.nodes.BlockStorage
165         relationship: tosca.relationships.AttachesTo
166         occurrences:
167         - 0
168         - UNBOUNDED
169     - dependency_pd_server_pd01_port2:
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_port2:
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.outpoing.packets_pd_server_pd01_port2:
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.outpoing.packets_pd_server_pd01_port1:
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       cpu_pd_server:
236         type: org.openecomp.capabilities.metric.Ceilometer
237         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
238         occurrences:
239         - 1
240         - UNBOUNDED
241       cpu_util_pd_server:
242         type: org.openecomp.capabilities.metric.Ceilometer
243         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
244         occurrences:
245         - 1
246         - UNBOUNDED
247       disk.device.write.requests.rate_pd_server:
248         type: org.openecomp.capabilities.metric.Ceilometer
249         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
250         occurrences:
251         - 1
252         - UNBOUNDED
253       disk.read.bytes_pd_server:
254         type: org.openecomp.capabilities.metric.Ceilometer
255         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
256         occurrences:
257         - 1
258         - UNBOUNDED
259       network.incoming.bytes_pd_server_pd01_port2:
260         type: org.openecomp.capabilities.metric.Ceilometer
261         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
262         occurrences:
263         - 1
264         - UNBOUNDED
265       network.incoming.bytes_pd_server_pd01_port1:
266         type: org.openecomp.capabilities.metric.Ceilometer
267         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
268         occurrences:
269         - 1
270         - UNBOUNDED
271       disk.device.read.bytes.rate_pd_server:
272         type: org.openecomp.capabilities.metric.Ceilometer
273         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
274         occurrences:
275         - 1
276         - UNBOUNDED
277       disk.iops_pd_server:
278         type: org.openecomp.capabilities.metric.Ceilometer
279         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
280         occurrences:
281         - 1
282         - UNBOUNDED
283       network.outgoing.bytes_pd_server_pd01_port1:
284         type: org.openecomp.capabilities.metric.Ceilometer
285         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
286         occurrences:
287         - 1
288         - UNBOUNDED
289       memory.resident_pd_server:
290         type: org.openecomp.capabilities.metric.Ceilometer
291         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
292         occurrences:
293         - 1
294         - UNBOUNDED
295       cpu.delta_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       network.outgoing.bytes_pd_server_pd01_port2:
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       vcpus_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       disk.device.write.bytes.rate_pd_server:
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       disk.device.write.requests_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       endpoint_pd_server:
326         type: tosca.capabilities.Endpoint.Admin
327         occurrences:
328         - 1
329         - UNBOUNDED
330       disk.capacity_pd_server:
331         type: org.openecomp.capabilities.metric.Ceilometer
332         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
333         occurrences:
334         - 1
335         - UNBOUNDED
336       network.outgoing.packets.rate_pd_server_pd01_port1:
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       disk.device.allocation_pd_server:
343         type: org.openecomp.capabilities.metric.Ceilometer
344         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
345         occurrences:
346         - 1
347         - UNBOUNDED
348       disk.allocation_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.outgoing.packets.rate_pd_server_pd01_port2:
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       forwarder_pd_server_pd01_port1:
361         type: org.openecomp.capabilities.Forwarder
362         occurrences:
363         - 1
364         - UNBOUNDED
365       network.incoming.packets_pd_server_pd01_port2:
366         type: org.openecomp.capabilities.metric.Ceilometer
367         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
368         occurrences:
369         - 1
370         - UNBOUNDED
371       binding_pd_server:
372         type: tosca.capabilities.network.Bindable
373         occurrences:
374         - 1
375         - UNBOUNDED
376       forwarder_pd_server_pd01_port2:
377         type: org.openecomp.capabilities.Forwarder
378         occurrences:
379         - 1
380         - UNBOUNDED
381       disk.read.requests_pd_server:
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_pd_server_pd01_port1:
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       feature_pd_server_pd01_port2:
394         type: tosca.capabilities.Node
395         occurrences:
396         - 1
397         - UNBOUNDED
398       feature_pd_server_pd01_port1:
399         type: tosca.capabilities.Node
400         occurrences:
401         - 1
402         - UNBOUNDED
403       feature_pd_server:
404         type: tosca.capabilities.Node
405         occurrences:
406         - 1
407         - UNBOUNDED
408       disk.usage_pd_server:
409         type: org.openecomp.capabilities.metric.Ceilometer
410         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
411         occurrences:
412         - 1
413         - UNBOUNDED
414       network.outgoing.bytes.rate_pd_server_pd01_port2:
415         type: org.openecomp.capabilities.metric.Ceilometer
416         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
417         occurrences:
418         - 1
419         - UNBOUNDED
420       network.outgoing.bytes.rate_pd_server_pd01_port1:
421         type: org.openecomp.capabilities.metric.Ceilometer
422         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
423         occurrences:
424         - 1
425         - UNBOUNDED
426       disk.write.bytes_pd_server:
427         type: org.openecomp.capabilities.metric.Ceilometer
428         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
429         occurrences:
430         - 1
431         - UNBOUNDED
432       binding_pd_server_pd01_port1:
433         type: tosca.capabilities.network.Bindable
434         valid_source_types:
435         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
436         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
437         occurrences:
438         - 0
439         - UNBOUNDED
440       binding_pd_server_pd01_port2:
441         type: tosca.capabilities.network.Bindable
442         valid_source_types:
443         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
444         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
445         occurrences:
446         - 0
447         - UNBOUNDED
448       disk.device.read.requests.rate_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       network.incoming.packets.rate_pd_server_pd01_port1:
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.root.size_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.bytes_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.write.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       network.incoming.packets.rate_pd_server_pd01_port2:
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.incoming.bytes.rate_pd_server_pd01_port1:
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       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       network.incoming.bytes.rate_pd_server_pd01_port2:
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       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       disk.write.requests_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.latency_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       attachment_pd_server_pd01_port2:
540         type: tosca.capabilities.Attachment
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       attachment_pd_server_pd01_port1:
557         type: tosca.capabilities.Attachment
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