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 / subinterface / vlantagging / pattern1a / subInterfaceGetAttrInOut / 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.vdbe:
9     derived_from: org.openecomp.resource.abstract.nodes.VFC
10     properties:
11       subinterface_nested_parent_interface:
12         type: list
13         required: true
14         status: SUPPORTED
15         entry_schema:
16           type: string
17       subinterface_nested_aap_address_mode:
18         type: list
19         required: true
20         status: SUPPORTED
21         entry_schema:
22           type: string
23       subinterface_nested_vlan_tag_list:
24         type: list
25         required: true
26         status: SUPPORTED
27         entry_schema:
28           type: json
29       port_vdbe_untr_1_port_related_networks:
30         type: list
31         required: true
32         status: SUPPORTED
33         entry_schema:
34           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
35       subinterface_nested_service_template_filter_count:
36         type: list
37         required: true
38         status: SUPPORTED
39         entry_schema:
40           type: float
41       subinterface_nested_aap_untrusted_v6_ip_prefix_len:
42         type: list
43         required: true
44         status: SUPPORTED
45         entry_schema:
46           type: string
47       vm_flavor_name:
48         type: string
49         required: true
50         status: SUPPORTED
51       subinterface_nested_aap_untrusted_ip_prefix:
52         type: list
53         required: true
54         status: SUPPORTED
55         entry_schema:
56           type: string
57       vm_image_name:
58         type: string
59         required: true
60         status: SUPPORTED
61       port_vdbe_untr_1_port_network_role:
62         type: string
63         required: true
64         status: SUPPORTED
65       subinterface_nested_vdbe_subport_network:
66         type: list
67         required: true
68         status: SUPPORTED
69         entry_schema:
70           type: string
71       subinterface_nested_aap_sec_untrusted_ip_prefix_len:
72         type: list
73         required: true
74         status: SUPPORTED
75         entry_schema:
76           type: string
77       subinterface_nested_aap_sec_untrusted_ip_prefix:
78         type: list
79         required: true
80         status: SUPPORTED
81         entry_schema:
82           type: string
83       subinterface_nested_aap_untrusted_v6_ip_prefix:
84         type: list
85         required: true
86         status: SUPPORTED
87         entry_schema:
88           type: string
89       compute_vdbe_metadata:
90         type: list
91         required: true
92         status: SUPPORTED
93         entry_schema:
94           type: json
95       subinterface_nested_mac_address:
96         type: list
97         required: true
98         status: SUPPORTED
99         entry_schema:
100           type: string
101       port_vdbe_untr_1_port_virtual_network_refs:
102         type: list
103         required: true
104         status: SUPPORTED
105         entry_schema:
106           type: json
107       port_vdbe_untr_1_port_ip_requirements:
108         type: list
109         required: true
110         status: SUPPORTED
111         entry_schema:
112           type: org.openecomp.datatypes.network.IpRequirements
113       subinterface_nested_ip_address:
114         type: list
115         required: true
116         status: SUPPORTED
117         entry_schema:
118           type: string
119       subinterface_nested_ip_v6_address:
120         type: list
121         required: true
122         status: SUPPORTED
123         entry_schema:
124           type: string
125       port_vdbe_untr_1_port_mac_requirements:
126         type: org.openecomp.datatypes.network.MacRequirements
127         required: true
128         status: SUPPORTED
129       port_vdbe_untr_1_port_order:
130         type: integer
131         required: true
132         status: SUPPORTED
133       index_value:
134         type: integer
135         description: Index value of this substitution service template runtime instance
136         required: false
137         default: 0
138         status: SUPPORTED
139         constraints:
140         - greater_or_equal: 0
141       subinterface_nested_vmac_address:
142         type: list
143         required: true
144         status: SUPPORTED
145         entry_schema:
146           type: string
147       port_vdbe_untr_1_port_exCP_naming:
148         type: org.openecomp.datatypes.Naming
149         required: true
150         status: SUPPORTED
151       port_vdbe_untr_1_port_subnetpoolid:
152         type: string
153         required: true
154         status: SUPPORTED
155       port_vdbe_untr_1_port_name:
156         type: list
157         required: true
158         status: SUPPORTED
159         entry_schema:
160           type: string
161       port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
162         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
163         required: true
164         status: SUPPORTED
165       subinterface_nested_aap_untrusted_ip_prefix_len:
166         type: list
167         required: true
168         status: SUPPORTED
169         entry_schema:
170           type: string
171       subinterface_nested_counter:
172         type: list
173         required: true
174         status: SUPPORTED
175         entry_schema:
176           type: float
177       subinterface_nested_subinterfaces_name_prefix:
178         type: list
179         required: true
180         status: SUPPORTED
181         entry_schema:
182           type: string
183       compute_vdbe_name:
184         type: list
185         required: true
186         status: SUPPORTED
187         entry_schema:
188           type: string
189       port_vdbe_untr_1_port_network_role_tag:
190         type: string
191         required: true
192         status: SUPPORTED
193       port_vdbe_untr_1_port_vlan_requirements:
194         type: list
195         required: true
196         status: SUPPORTED
197         entry_schema:
198           type: org.openecomp.datatypes.network.VlanRequirements
199       port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
200         type: list
201         required: true
202         status: SUPPORTED
203         entry_schema:
204           type: json
205     attributes:
206       vdbe_vdbe_untr_1_port_nested_aap_address_mode:
207         type: string
208         status: SUPPORTED
209       vdbe_vdbe_untr_1_port_nested_vlan_tag_list:
210         type: list
211         status: SUPPORTED
212         entry_schema: &id001
213           type: string
214     requirements:
215     - dependency_vdbe_vdbe_untr_1_port_nested:
216         capability: tosca.capabilities.Node
217         node: tosca.nodes.Root
218         relationship: tosca.relationships.DependsOn
219         occurrences:
220         - 0
221         - UNBOUNDED
222     - dependency_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
223         capability: tosca.capabilities.Node
224         node: tosca.nodes.Root
225         relationship: tosca.relationships.DependsOn
226         occurrences:
227         - 0
228         - UNBOUNDED
229     - subinterface_link_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
230         capability: tosca.capabilities.network.Linkable
231         relationship: tosca.relationships.network.LinksTo
232         occurrences:
233         - 1
234         - 1
235     - dependency_vdbe:
236         capability: tosca.capabilities.Node
237         node: tosca.nodes.Root
238         relationship: tosca.relationships.DependsOn
239         occurrences:
240         - 0
241         - UNBOUNDED
242     - local_storage_vdbe:
243         capability: tosca.capabilities.Attachment
244         node: tosca.nodes.BlockStorage
245         relationship: tosca.relationships.AttachesTo
246         occurrences:
247         - 0
248         - UNBOUNDED
249     - dependency_vdbe_vdbe_untr_1_port:
250         capability: tosca.capabilities.Node
251         node: tosca.nodes.Root
252         relationship: tosca.relationships.DependsOn
253         occurrences:
254         - 0
255         - UNBOUNDED
256     - link_vdbe_vdbe_untr_1_port:
257         capability: tosca.capabilities.network.Linkable
258         relationship: tosca.relationships.network.LinksTo
259         occurrences:
260         - 1
261         - 1
262     capabilities:
263       feature_vdbe:
264         type: tosca.capabilities.Node
265         occurrences:
266         - 1
267         - UNBOUNDED
268       disk.device.iops_vdbe:
269         type: org.openecomp.capabilities.metric.Ceilometer
270         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
271         occurrences:
272         - 1
273         - UNBOUNDED
274       endpoint_vdbe:
275         type: tosca.capabilities.Endpoint.Admin
276         occurrences:
277         - 1
278         - UNBOUNDED
279       disk.ephemeral.size_vdbe:
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       feature_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
286         type: tosca.capabilities.Node
287         occurrences:
288         - 1
289         - UNBOUNDED
290       cpu_util_vdbe:
291         type: org.openecomp.capabilities.metric.Ceilometer
292         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
293         occurrences:
294         - 1
295         - UNBOUNDED
296       vcpus_vdbe:
297         type: org.openecomp.capabilities.metric.Ceilometer
298         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
299         occurrences:
300         - 1
301         - UNBOUNDED
302       disk.write.requests_vdbe:
303         type: org.openecomp.capabilities.metric.Ceilometer
304         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
305         occurrences:
306         - 1
307         - UNBOUNDED
308       disk.device.latency_vdbe:
309         type: org.openecomp.capabilities.metric.Ceilometer
310         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
311         occurrences:
312         - 1
313         - UNBOUNDED
314       disk.device.write.requests.rate_vdbe:
315         type: org.openecomp.capabilities.metric.Ceilometer
316         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
317         occurrences:
318         - 1
319         - UNBOUNDED
320       feature_vdbe_vdbe_untr_1_port:
321         type: tosca.capabilities.Node
322         occurrences:
323         - 1
324         - UNBOUNDED
325       disk.write.bytes.rate_vdbe:
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       network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
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       network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
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       scalable_vdbe:
344         type: tosca.capabilities.Scalable
345         occurrences:
346         - 1
347         - UNBOUNDED
348       disk.iops_vdbe:
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       disk.device.write.requests_vdbe:
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.capacity_vdbe:
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       network.outgoing.bytes_vdbe_vdbe_untr_1_port:
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       disk.device.allocation_vdbe:
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       disk.usage_vdbe:
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       memory.usage_vdbe:
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.read.requests_vdbe:
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       network.incoming.bytes_vdbe_vdbe_untr_1_port:
397         type: org.openecomp.capabilities.metric.Ceilometer
398         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
399         occurrences:
400         - 1
401         - UNBOUNDED
402       instance_vdbe:
403         type: org.openecomp.capabilities.metric.Ceilometer
404         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
405         occurrences:
406         - 1
407         - UNBOUNDED
408       cpu.delta_vdbe:
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       binding_vdbe_vdbe_untr_1_port:
415         type: tosca.capabilities.network.Bindable
416         valid_source_types:
417         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
418         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
419         occurrences:
420         - 0
421         - UNBOUNDED
422       disk.device.read.bytes.rate_vdbe:
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.device.write.bytes.rate_vdbe:
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       memory.resident_vdbe:
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       forwarder_vdbe_vdbe_untr_1_port:
441         type: org.openecomp.capabilities.Forwarder
442         occurrences:
443         - 1
444         - UNBOUNDED
445       feature_vdbe_vdbe_untr_1_port_nested:
446         type: tosca.capabilities.Node
447         occurrences:
448         - 1
449         - UNBOUNDED
450       disk.write.requests.rate_vdbe:
451         type: org.openecomp.capabilities.metric.Ceilometer
452         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
453         occurrences:
454         - 1
455         - UNBOUNDED
456       cpu_vdbe:
457         type: org.openecomp.capabilities.metric.Ceilometer
458         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
459         occurrences:
460         - 1
461         - UNBOUNDED
462       disk.write.bytes_vdbe:
463         type: org.openecomp.capabilities.metric.Ceilometer
464         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
465         occurrences:
466         - 1
467         - UNBOUNDED
468       disk.device.usage_vdbe:
469         type: org.openecomp.capabilities.metric.Ceilometer
470         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
471         occurrences:
472         - 1
473         - UNBOUNDED
474       disk.device.read.bytes_vdbe:
475         type: org.openecomp.capabilities.metric.Ceilometer
476         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
477         occurrences:
478         - 1
479         - UNBOUNDED
480       disk.latency_vdbe:
481         type: org.openecomp.capabilities.metric.Ceilometer
482         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
483         occurrences:
484         - 1
485         - UNBOUNDED
486       network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
487         type: org.openecomp.capabilities.metric.Ceilometer
488         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
489         occurrences:
490         - 1
491         - UNBOUNDED
492       disk.capacity_vdbe:
493         type: org.openecomp.capabilities.metric.Ceilometer
494         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
495         occurrences:
496         - 1
497         - UNBOUNDED
498       host_vdbe:
499         type: tosca.capabilities.Container
500         valid_source_types:
501         - tosca.nodes.SoftwareComponent
502         occurrences:
503         - 1
504         - UNBOUNDED
505       disk.allocation_vdbe:
506         type: org.openecomp.capabilities.metric.Ceilometer
507         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
508         occurrences:
509         - 1
510         - UNBOUNDED
511       network.outpoing.packets_vdbe_vdbe_untr_1_port:
512         type: org.openecomp.capabilities.metric.Ceilometer
513         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
514         occurrences:
515         - 1
516         - UNBOUNDED
517       network.incoming.packets_vdbe_vdbe_untr_1_port:
518         type: org.openecomp.capabilities.metric.Ceilometer
519         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
520         occurrences:
521         - 1
522         - UNBOUNDED
523       disk.read.bytes.rate_vdbe:
524         type: org.openecomp.capabilities.metric.Ceilometer
525         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
526         occurrences:
527         - 1
528         - UNBOUNDED
529       os_vdbe:
530         type: tosca.capabilities.OperatingSystem
531         occurrences:
532         - 1
533         - UNBOUNDED
534       disk.device.read.requests_vdbe:
535         type: org.openecomp.capabilities.metric.Ceilometer
536         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
537         occurrences:
538         - 1
539         - UNBOUNDED
540       disk.root.size_vdbe:
541         type: org.openecomp.capabilities.metric.Ceilometer
542         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
543         occurrences:
544         - 1
545         - UNBOUNDED
546       memory_vdbe:
547         type: org.openecomp.capabilities.metric.Ceilometer
548         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
549         occurrences:
550         - 1
551         - UNBOUNDED
552       binding_vdbe:
553         type: tosca.capabilities.network.Bindable
554         occurrences:
555         - 1
556         - UNBOUNDED
557       disk.device.write.bytes_vdbe:
558         type: org.openecomp.capabilities.metric.Ceilometer
559         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
560         occurrences:
561         - 1
562         - UNBOUNDED
563       network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
564         type: org.openecomp.capabilities.metric.Ceilometer
565         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
566         occurrences:
567         - 1
568         - UNBOUNDED
569       disk.device.read.requests.rate_vdbe:
570         type: org.openecomp.capabilities.metric.Ceilometer
571         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
572         occurrences:
573         - 1
574         - UNBOUNDED
575       disk.read.bytes_vdbe:
576         type: org.openecomp.capabilities.metric.Ceilometer
577         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
578         occurrences:
579         - 1
580         - UNBOUNDED
581   org.openecomp.resource.abstract.nodes.heat.subinterface.nested:
582     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
583     properties:
584       aap_untrusted_ip_prefix:
585         type: string
586         description: ip prefix for primary vDBE VM on the VAN untrusted network
587         required: true
588         status: SUPPORTED
589       aap_sec_untrusted_ip_prefix:
590         type: string
591         description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
592         required: true
593         status: SUPPORTED
594       vdbe_subport_network:
595         type: string
596         description: List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list
597         required: true
598         status: SUPPORTED
599       ip_v6_address:
600         type: string
601         description: IPv6 address associated with subinterfaces
602         required: true
603         status: SUPPORTED
604       counter:
605         type: float
606         description: Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances.
607         required: true
608         status: SUPPORTED
609       subinterfaces_name_prefix:
610         type: string
611         description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
612         required: true
613         status: SUPPORTED
614       ip_address:
615         type: string
616         description: IPv4 address associated with subinterfaces
617         required: true
618         status: SUPPORTED
619       aap_address_mode:
620         type: string
621         description: Address mode for the vDBE cluster IP
622         required: true
623         status: SUPPORTED
624       aap_untrusted_v6_ip_prefix:
625         type: string
626         description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
627         required: true
628         status: SUPPORTED
629       parent_interface:
630         type: string
631         description: Parent Contrail interface
632         required: true
633         status: SUPPORTED
634       mac_address:
635         type: string
636         description: HW MAC address to use for subinterface
637         required: true
638         status: SUPPORTED
639       vlan_tag_list:
640         type: list
641         description: List of VLAN IDs to use for subinterfaces
642         required: true
643         status: SUPPORTED
644         entry_schema: *id001
645       aap_sec_untrusted_ip_prefix_len:
646         type: string
647         description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
648         required: true
649         status: SUPPORTED
650       vmac_address:
651         type: string
652         description: virtual MAC address to use for subinterface
653         required: true
654         status: SUPPORTED
655       aap_untrusted_v6_ip_prefix_len:
656         type: string
657         description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
658         required: true
659         status: SUPPORTED
660       aap_untrusted_ip_prefix_len:
661         type: string
662         description: ip prefix length for the primary vDBE VM on the VAN untrusted network
663         required: true
664         status: SUPPORTED
665     requirements:
666     - dependency_vdbe_untr_x_subport:
667         capability: tosca.capabilities.Node
668         node: tosca.nodes.Root
669         relationship: tosca.relationships.DependsOn
670         occurrences:
671         - 0
672         - UNBOUNDED
673     - subinterface_link_vdbe_untr_x_subport:
674         capability: tosca.capabilities.network.Linkable
675         relationship: tosca.relationships.network.LinksTo
676         occurrences:
677         - 1
678         - 1
679     - binding_vdbe_untr_x_subport:
680         capability: tosca.capabilities.network.Bindable
681         node: org.openecomp.resource.cp.nodes.network.Port
682         relationship: tosca.relationships.network.BindsTo
683         occurrences:
684         - 1
685         - 1
686     capabilities:
687       feature_vdbe_untr_x_subport:
688         type: tosca.capabilities.Node
689         occurrences:
690         - 1
691         - UNBOUNDED