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 / vfcInstanceGroup / oneSubInterfaceNetworkRoleAndTwoAbstractNodes / 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       port_vdbe_untr_port_network_role_tag:
12         type: string
13         required: true
14         status: SUPPORTED
15       subinterface_nested_parent_interface:
16         type: list
17         required: true
18         status: SUPPORTED
19         entry_schema:
20           type: string
21       subinterface_nested_aap_address_mode:
22         type: list
23         required: true
24         status: SUPPORTED
25         entry_schema:
26           type: string
27       subinterface_nested_vlan_tag_list:
28         type: list
29         required: true
30         status: SUPPORTED
31         entry_schema:
32           type: json
33       port_vdbe_untr_port_subnetpoolid:
34         type: string
35         required: true
36         status: SUPPORTED
37       compute_vdbe_availability_zone:
38         type: list
39         required: true
40         status: SUPPORTED
41         entry_schema:
42           type: string
43       subinterface_nested_service_template_filter_count:
44         type: list
45         required: true
46         status: SUPPORTED
47         entry_schema:
48           type: float
49       subinterface_nested_aap_untrusted_v6_ip_prefix_len:
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_vdbe_untr_port_order:
60         type: integer
61         required: true
62         status: SUPPORTED
63       subinterface_nested_aap_untrusted_ip_prefix:
64         type: list
65         required: true
66         status: SUPPORTED
67         entry_schema:
68           type: string
69       vm_image_name:
70         type: string
71         required: true
72         status: SUPPORTED
73       port_vdbe_untr_port_exCP_naming:
74         type: org.openecomp.datatypes.Naming
75         required: true
76         status: SUPPORTED
77       subinterface_nested_aap_sec_untrusted_ip_prefix_len:
78         type: list
79         required: true
80         status: SUPPORTED
81         entry_schema:
82           type: string
83       subinterface_nested_aap_sec_untrusted_ip_prefix:
84         type: list
85         required: true
86         status: SUPPORTED
87         entry_schema:
88           type: string
89       subinterface_nested_aap_untrusted_v6_ip_prefix:
90         type: list
91         required: true
92         status: SUPPORTED
93         entry_schema:
94           type: string
95       compute_vdbe_metadata:
96         type: list
97         required: true
98         status: SUPPORTED
99         entry_schema:
100           type: json
101       subinterface_nested_mac_address:
102         type: list
103         required: true
104         status: SUPPORTED
105         entry_schema:
106           type: string
107       subinterface_nested_ip_address:
108         type: list
109         required: true
110         status: SUPPORTED
111         entry_schema:
112           type: string
113       subinterface_nested_ip_v6_address:
114         type: list
115         required: true
116         status: SUPPORTED
117         entry_schema:
118           type: string
119       port_vdbe_untr_port_mac_requirements:
120         type: org.openecomp.datatypes.network.MacRequirements
121         required: true
122         status: SUPPORTED
123       index_value:
124         type: integer
125         description: Index value of this substitution service template runtime instance
126         required: false
127         default: 0
128         status: SUPPORTED
129         constraints:
130         - greater_or_equal: 0
131       subinterface_nested_vmac_address:
132         type: list
133         required: true
134         status: SUPPORTED
135         entry_schema:
136           type: string
137       subinterface_nested_vn_network_list:
138         type: list
139         required: true
140         status: SUPPORTED
141         entry_schema:
142           type: string
143       port_vdbe_untr_port_name:
144         type: list
145         required: true
146         status: SUPPORTED
147         entry_schema:
148           type: string
149       port_vdbe_untr_port_vlan_requirements:
150         type: list
151         required: true
152         status: SUPPORTED
153         entry_schema:
154           type: org.openecomp.datatypes.network.VlanRequirements
155       port_vdbe_untr_port_network_role:
156         type: string
157         required: true
158         status: SUPPORTED
159       subinterface_nested_aap_untrusted_ip_prefix_len:
160         type: list
161         required: true
162         status: SUPPORTED
163         entry_schema:
164           type: string
165       subinterface_nested_counter:
166         type: list
167         required: true
168         status: SUPPORTED
169         entry_schema:
170           type: float
171       subinterface_nested_subinterfaces_name_prefix:
172         type: list
173         required: true
174         status: SUPPORTED
175         entry_schema:
176           type: string
177       compute_vdbe_name:
178         type: list
179         required: true
180         status: SUPPORTED
181         entry_schema:
182           type: string
183       port_vdbe_untr_port_related_networks:
184         type: list
185         required: true
186         status: SUPPORTED
187         entry_schema:
188           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
189       port_vdbe_untr_port_ip_requirements:
190         type: list
191         required: true
192         status: SUPPORTED
193         entry_schema:
194           type: org.openecomp.datatypes.network.IpRequirements
195     requirements:
196     - dependency_vdbe:
197         capability: tosca.capabilities.Node
198         node: tosca.nodes.Root
199         relationship: tosca.relationships.DependsOn
200         occurrences:
201         - 0
202         - UNBOUNDED
203     - local_storage_vdbe:
204         capability: tosca.capabilities.Attachment
205         node: tosca.nodes.BlockStorage
206         relationship: tosca.relationships.AttachesTo
207         occurrences:
208         - 0
209         - UNBOUNDED
210     - dependency_vdbe_vdbe_untr_port:
211         capability: tosca.capabilities.Node
212         node: tosca.nodes.Root
213         relationship: tosca.relationships.DependsOn
214         occurrences:
215         - 0
216         - UNBOUNDED
217     - link_vdbe_vdbe_untr_port:
218         capability: tosca.capabilities.network.Linkable
219         relationship: tosca.relationships.network.LinksTo
220         occurrences:
221         - 1
222         - 1
223     - dependency_vdbe_vdbe_untr_port_nested:
224         capability: tosca.capabilities.Node
225         node: tosca.nodes.Root
226         relationship: tosca.relationships.DependsOn
227         occurrences:
228         - 0
229         - UNBOUNDED
230     - dependency_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_nested:
231         capability: tosca.capabilities.Node
232         node: tosca.nodes.Root
233         relationship: tosca.relationships.DependsOn
234         occurrences:
235         - 0
236         - UNBOUNDED
237     - subinterface_link_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_nested:
238         capability: tosca.capabilities.network.Linkable
239         relationship: tosca.relationships.network.LinksTo
240         occurrences:
241         - 1
242         - 1
243     capabilities:
244       network.outgoing.packets.rate_vdbe_vdbe_untr_port:
245         type: org.openecomp.capabilities.metric.Ceilometer
246         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
247         occurrences:
248         - 1
249         - UNBOUNDED
250       network.outgoing.bytes_vdbe_vdbe_untr_port:
251         type: org.openecomp.capabilities.metric.Ceilometer
252         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
253         occurrences:
254         - 1
255         - UNBOUNDED
256       feature_vdbe:
257         type: tosca.capabilities.Node
258         occurrences:
259         - 1
260         - UNBOUNDED
261       feature_vdbe_vdbe_untr_port:
262         type: tosca.capabilities.Node
263         occurrences:
264         - 1
265         - UNBOUNDED
266       attachment_vdbe_vdbe_untr_port:
267         type: tosca.capabilities.Attachment
268         occurrences:
269         - 1
270         - UNBOUNDED
271       disk.device.iops_vdbe:
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       endpoint_vdbe:
278         type: tosca.capabilities.Endpoint.Admin
279         occurrences:
280         - 1
281         - UNBOUNDED
282       disk.ephemeral.size_vdbe:
283         type: org.openecomp.capabilities.metric.Ceilometer
284         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
285         occurrences:
286         - 1
287         - UNBOUNDED
288       cpu_util_vdbe:
289         type: org.openecomp.capabilities.metric.Ceilometer
290         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
291         occurrences:
292         - 1
293         - UNBOUNDED
294       vcpus_vdbe:
295         type: org.openecomp.capabilities.metric.Ceilometer
296         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
297         occurrences:
298         - 1
299         - UNBOUNDED
300       disk.write.requests_vdbe:
301         type: org.openecomp.capabilities.metric.Ceilometer
302         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
303         occurrences:
304         - 1
305         - UNBOUNDED
306       disk.device.latency_vdbe:
307         type: org.openecomp.capabilities.metric.Ceilometer
308         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
309         occurrences:
310         - 1
311         - UNBOUNDED
312       disk.device.write.requests.rate_vdbe:
313         type: org.openecomp.capabilities.metric.Ceilometer
314         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
315         occurrences:
316         - 1
317         - UNBOUNDED
318       disk.write.bytes.rate_vdbe:
319         type: org.openecomp.capabilities.metric.Ceilometer
320         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
321         occurrences:
322         - 1
323         - UNBOUNDED
324       network.incoming.packets_vdbe_vdbe_untr_port:
325         type: org.openecomp.capabilities.metric.Ceilometer
326         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
327         occurrences:
328         - 1
329         - UNBOUNDED
330       feature_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_nested:
331         type: tosca.capabilities.Node
332         occurrences:
333         - 1
334         - UNBOUNDED
335       scalable_vdbe:
336         type: tosca.capabilities.Scalable
337         occurrences:
338         - 1
339         - UNBOUNDED
340       disk.iops_vdbe:
341         type: org.openecomp.capabilities.metric.Ceilometer
342         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
343         occurrences:
344         - 1
345         - UNBOUNDED
346       disk.device.write.requests_vdbe:
347         type: org.openecomp.capabilities.metric.Ceilometer
348         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
349         occurrences:
350         - 1
351         - UNBOUNDED
352       disk.device.capacity_vdbe:
353         type: org.openecomp.capabilities.metric.Ceilometer
354         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
355         occurrences:
356         - 1
357         - UNBOUNDED
358       disk.device.allocation_vdbe:
359         type: org.openecomp.capabilities.metric.Ceilometer
360         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
361         occurrences:
362         - 1
363         - UNBOUNDED
364       disk.usage_vdbe:
365         type: org.openecomp.capabilities.metric.Ceilometer
366         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
367         occurrences:
368         - 1
369         - UNBOUNDED
370       memory.usage_vdbe:
371         type: org.openecomp.capabilities.metric.Ceilometer
372         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
373         occurrences:
374         - 1
375         - UNBOUNDED
376       network.outpoing.packets_vdbe_vdbe_untr_port:
377         type: org.openecomp.capabilities.metric.Ceilometer
378         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
379         occurrences:
380         - 1
381         - UNBOUNDED
382       network.outgoing.bytes.rate_vdbe_vdbe_untr_port:
383         type: org.openecomp.capabilities.metric.Ceilometer
384         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
385         occurrences:
386         - 1
387         - UNBOUNDED
388       disk.read.requests_vdbe:
389         type: org.openecomp.capabilities.metric.Ceilometer
390         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
391         occurrences:
392         - 1
393         - UNBOUNDED
394       forwarder_vdbe_vdbe_untr_port:
395         type: org.openecomp.capabilities.Forwarder
396         occurrences:
397         - 1
398         - UNBOUNDED
399       binding_vdbe_vdbe_untr_port:
400         type: tosca.capabilities.network.Bindable
401         valid_source_types:
402         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
403         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
404         occurrences:
405         - 0
406         - UNBOUNDED
407       instance_vdbe:
408         type: org.openecomp.capabilities.metric.Ceilometer
409         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
410         occurrences:
411         - 1
412         - UNBOUNDED
413       network.incoming.bytes.rate_vdbe_vdbe_untr_port:
414         type: org.openecomp.capabilities.metric.Ceilometer
415         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
416         occurrences:
417         - 1
418         - UNBOUNDED
419       cpu.delta_vdbe:
420         type: org.openecomp.capabilities.metric.Ceilometer
421         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
422         occurrences:
423         - 1
424         - UNBOUNDED
425       disk.device.read.bytes.rate_vdbe:
426         type: org.openecomp.capabilities.metric.Ceilometer
427         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
428         occurrences:
429         - 1
430         - UNBOUNDED
431       disk.device.write.bytes.rate_vdbe:
432         type: org.openecomp.capabilities.metric.Ceilometer
433         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
434         occurrences:
435         - 1
436         - UNBOUNDED
437       memory.resident_vdbe:
438         type: org.openecomp.capabilities.metric.Ceilometer
439         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
440         occurrences:
441         - 1
442         - UNBOUNDED
443       feature_vdbe_vdbe_untr_port_nested:
444         type: tosca.capabilities.Node
445         occurrences:
446         - 1
447         - UNBOUNDED
448       disk.write.requests.rate_vdbe:
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       cpu_vdbe:
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.write.bytes_vdbe:
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.usage_vdbe:
467         type: org.openecomp.capabilities.metric.Ceilometer
468         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
469         occurrences:
470         - 1
471         - UNBOUNDED
472       disk.device.read.bytes_vdbe:
473         type: org.openecomp.capabilities.metric.Ceilometer
474         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
475         occurrences:
476         - 1
477         - UNBOUNDED
478       disk.latency_vdbe:
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_vdbe_vdbe_untr_port:
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.capacity_vdbe:
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       host_vdbe:
497         type: tosca.capabilities.Container
498         valid_source_types:
499         - tosca.nodes.SoftwareComponent
500         occurrences:
501         - 1
502         - UNBOUNDED
503       disk.allocation_vdbe:
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       disk.read.bytes.rate_vdbe:
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       os_vdbe:
516         type: tosca.capabilities.OperatingSystem
517         occurrences:
518         - 1
519         - UNBOUNDED
520       disk.device.read.requests_vdbe:
521         type: org.openecomp.capabilities.metric.Ceilometer
522         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
523         occurrences:
524         - 1
525         - UNBOUNDED
526       disk.root.size_vdbe:
527         type: org.openecomp.capabilities.metric.Ceilometer
528         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
529         occurrences:
530         - 1
531         - UNBOUNDED
532       memory_vdbe:
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       binding_vdbe:
539         type: tosca.capabilities.network.Bindable
540         occurrences:
541         - 1
542         - UNBOUNDED
543       disk.device.write.bytes_vdbe:
544         type: org.openecomp.capabilities.metric.Ceilometer
545         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
546         occurrences:
547         - 1
548         - UNBOUNDED
549       disk.device.read.requests.rate_vdbe:
550         type: org.openecomp.capabilities.metric.Ceilometer
551         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
552         occurrences:
553         - 1
554         - UNBOUNDED
555       disk.read.bytes_vdbe:
556         type: org.openecomp.capabilities.metric.Ceilometer
557         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
558         occurrences:
559         - 1
560         - UNBOUNDED
561       network.incoming.packets.rate_vdbe_vdbe_untr_port:
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
567   org.openecomp.resource.abstract.nodes.heat.subinterface.nested:
568     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
569     properties:
570       aap_untrusted_ip_prefix:
571         type: string
572         description: ip prefix for primary vDBE VM on the VAN untrusted network
573         required: true
574         status: SUPPORTED
575       aap_sec_untrusted_ip_prefix:
576         type: string
577         description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
578         required: true
579         status: SUPPORTED
580       ip_v6_address:
581         type: string
582         description: IPv6 address associated with subinterfaces
583         required: true
584         status: SUPPORTED
585       counter:
586         type: float
587         description: Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances.
588         required: true
589         status: SUPPORTED
590       subinterfaces_name_prefix:
591         type: string
592         description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
593         required: true
594         status: SUPPORTED
595       ip_address:
596         type: string
597         description: IPv4 address associated with subinterfaces
598         required: true
599         status: SUPPORTED
600       aap_address_mode:
601         type: string
602         description: Address mode for the vDBE cluster IP
603         required: true
604         status: SUPPORTED
605       aap_untrusted_v6_ip_prefix:
606         type: string
607         description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
608         required: true
609         status: SUPPORTED
610       parent_interface:
611         type: string
612         description: Parent Contrail interface
613         required: true
614         status: SUPPORTED
615       vn_network_list:
616         type: string
617         description: List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list
618         required: true
619         status: SUPPORTED
620       mac_address:
621         type: string
622         description: HW MAC address to use for subinterface
623         required: true
624         status: SUPPORTED
625       vlan_tag_list:
626         type: list
627         description: List of VLAN IDs to use for subinterfaces
628         required: true
629         status: SUPPORTED
630         entry_schema:
631           type: string
632       aap_sec_untrusted_ip_prefix_len:
633         type: string
634         description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
635         required: true
636         status: SUPPORTED
637       vmac_address:
638         type: string
639         description: virtual MAC address to use for subinterface
640         required: true
641         status: SUPPORTED
642       aap_untrusted_v6_ip_prefix_len:
643         type: string
644         description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
645         required: true
646         status: SUPPORTED
647       aap_untrusted_ip_prefix_len:
648         type: string
649         description: ip prefix length for the primary vDBE VM on the VAN untrusted network
650         required: true
651         status: SUPPORTED
652     requirements:
653     - dependency_vdbe_0_subint_untr_vmi_0:
654         capability: tosca.capabilities.Node
655         node: tosca.nodes.Root
656         relationship: tosca.relationships.DependsOn
657         occurrences:
658         - 0
659         - UNBOUNDED
660     - subinterface_link_vdbe_0_subint_untr_vmi_0:
661         capability: tosca.capabilities.network.Linkable
662         relationship: tosca.relationships.network.LinksTo
663         occurrences:
664         - 1
665         - 1
666     - binding_vdbe_0_subint_untr_vmi_0:
667         capability: tosca.capabilities.network.Bindable
668         node: org.openecomp.resource.cp.nodes.network.Port
669         relationship: tosca.relationships.network.BindsTo
670         occurrences:
671         - 1
672         - 1
673     capabilities:
674       feature_vdbe_0_subint_untr_vmi_0:
675         type: tosca.capabilities.Node
676         occurrences:
677         - 1
678         - UNBOUNDED