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 / subInterfaceNodesConnectedOut / 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       compute_vdbe_availability_zone:
30         type: list
31         required: true
32         status: SUPPORTED
33         entry_schema:
34           type: string
35       port_vdbe_untr_1_port_related_networks:
36         type: list
37         required: true
38         status: SUPPORTED
39         entry_schema:
40           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
41       subinterface_nested_service_template_filter_count:
42         type: list
43         required: true
44         status: SUPPORTED
45         entry_schema:
46           type: float
47       subinterface_nested_aap_untrusted_v6_ip_prefix_len:
48         type: list
49         required: true
50         status: SUPPORTED
51         entry_schema:
52           type: string
53       vm_flavor_name:
54         type: string
55         required: true
56         status: SUPPORTED
57       subinterface_nested_aap_untrusted_ip_prefix:
58         type: list
59         required: true
60         status: SUPPORTED
61         entry_schema:
62           type: string
63       vm_image_name:
64         type: string
65         required: true
66         status: SUPPORTED
67       port_vdbe_untr_1_port_network_role:
68         type: string
69         required: true
70         status: SUPPORTED
71       subinterface_nested_vdbe_subport_network:
72         type: list
73         required: true
74         status: SUPPORTED
75         entry_schema:
76           type: string
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       port_vdbe_untr_1_port_virtual_network_refs:
108         type: list
109         required: true
110         status: SUPPORTED
111         entry_schema:
112           type: json
113       port_vdbe_untr_1_port_ip_requirements:
114         type: list
115         required: true
116         status: SUPPORTED
117         entry_schema:
118           type: org.openecomp.datatypes.network.IpRequirements
119       subinterface_nested_ip_address:
120         type: list
121         required: true
122         status: SUPPORTED
123         entry_schema:
124           type: string
125       subinterface_nested_ip_v6_address:
126         type: list
127         required: true
128         status: SUPPORTED
129         entry_schema:
130           type: string
131       port_vdbe_untr_1_port_mac_requirements:
132         type: org.openecomp.datatypes.network.MacRequirements
133         required: true
134         status: SUPPORTED
135       port_vdbe_untr_1_port_order:
136         type: integer
137         required: true
138         status: SUPPORTED
139       index_value:
140         type: integer
141         description: Index value of this substitution service template runtime instance
142         required: false
143         default: 0
144         status: SUPPORTED
145         constraints:
146         - greater_or_equal: 0
147       subinterface_nested_vmac_address:
148         type: list
149         required: true
150         status: SUPPORTED
151         entry_schema:
152           type: string
153       port_vdbe_untr_1_port_exCP_naming:
154         type: org.openecomp.datatypes.Naming
155         required: true
156         status: SUPPORTED
157       port_vdbe_untr_1_port_subnetpoolid:
158         type: string
159         required: true
160         status: SUPPORTED
161       port_vdbe_untr_1_port_name:
162         type: list
163         required: true
164         status: SUPPORTED
165         entry_schema:
166           type: string
167       port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
168         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
169         required: true
170         status: SUPPORTED
171       subinterface_nested_aap_untrusted_ip_prefix_len:
172         type: list
173         required: true
174         status: SUPPORTED
175         entry_schema:
176           type: string
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     requirements:
206     - dependency_vdbe_vdbe_untr_1_port_nested:
207         capability: tosca.capabilities.Node
208         node: tosca.nodes.Root
209         relationship: tosca.relationships.DependsOn
210         occurrences:
211         - 0
212         - UNBOUNDED
213     - dependency_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
214         capability: tosca.capabilities.Node
215         node: tosca.nodes.Root
216         relationship: tosca.relationships.DependsOn
217         occurrences:
218         - 0
219         - UNBOUNDED
220     - subinterface_link_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
221         capability: tosca.capabilities.network.Linkable
222         relationship: tosca.relationships.network.LinksTo
223         occurrences:
224         - 1
225         - 1
226     - dependency_vdbe:
227         capability: tosca.capabilities.Node
228         node: tosca.nodes.Root
229         relationship: tosca.relationships.DependsOn
230         occurrences:
231         - 0
232         - UNBOUNDED
233     - local_storage_vdbe:
234         capability: tosca.capabilities.Attachment
235         node: tosca.nodes.BlockStorage
236         relationship: tosca.relationships.AttachesTo
237         occurrences:
238         - 0
239         - UNBOUNDED
240     - dependency_vdbe_vdbe_untr_1_port:
241         capability: tosca.capabilities.Node
242         node: tosca.nodes.Root
243         relationship: tosca.relationships.DependsOn
244         occurrences:
245         - 0
246         - UNBOUNDED
247     - link_vdbe_vdbe_untr_1_port:
248         capability: tosca.capabilities.network.Linkable
249         relationship: tosca.relationships.network.LinksTo
250         occurrences:
251         - 1
252         - 1
253     capabilities:
254       feature_vdbe:
255         type: tosca.capabilities.Node
256         occurrences:
257         - 1
258         - UNBOUNDED
259       disk.device.iops_vdbe:
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       endpoint_vdbe:
266         type: tosca.capabilities.Endpoint.Admin
267         occurrences:
268         - 1
269         - UNBOUNDED
270       disk.ephemeral.size_vdbe:
271         type: org.openecomp.capabilities.metric.Ceilometer
272         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
273         occurrences:
274         - 1
275         - UNBOUNDED
276       feature_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
277         type: tosca.capabilities.Node
278         occurrences:
279         - 1
280         - UNBOUNDED
281       cpu_util_vdbe:
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       vcpus_vdbe:
288         type: org.openecomp.capabilities.metric.Ceilometer
289         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
290         occurrences:
291         - 1
292         - UNBOUNDED
293       disk.write.requests_vdbe:
294         type: org.openecomp.capabilities.metric.Ceilometer
295         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
296         occurrences:
297         - 1
298         - UNBOUNDED
299       disk.device.latency_vdbe:
300         type: org.openecomp.capabilities.metric.Ceilometer
301         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
302         occurrences:
303         - 1
304         - UNBOUNDED
305       disk.device.write.requests.rate_vdbe:
306         type: org.openecomp.capabilities.metric.Ceilometer
307         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
308         occurrences:
309         - 1
310         - UNBOUNDED
311       feature_vdbe_vdbe_untr_1_port:
312         type: tosca.capabilities.Node
313         occurrences:
314         - 1
315         - UNBOUNDED
316       disk.write.bytes.rate_vdbe:
317         type: org.openecomp.capabilities.metric.Ceilometer
318         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
319         occurrences:
320         - 1
321         - UNBOUNDED
322       network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
323         type: org.openecomp.capabilities.metric.Ceilometer
324         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
325         occurrences:
326         - 1
327         - UNBOUNDED
328       network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
329         type: org.openecomp.capabilities.metric.Ceilometer
330         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
331         occurrences:
332         - 1
333         - UNBOUNDED
334       scalable_vdbe:
335         type: tosca.capabilities.Scalable
336         occurrences:
337         - 1
338         - UNBOUNDED
339       disk.iops_vdbe:
340         type: org.openecomp.capabilities.metric.Ceilometer
341         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
342         occurrences:
343         - 1
344         - UNBOUNDED
345       disk.device.write.requests_vdbe:
346         type: org.openecomp.capabilities.metric.Ceilometer
347         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
348         occurrences:
349         - 1
350         - UNBOUNDED
351       disk.device.capacity_vdbe:
352         type: org.openecomp.capabilities.metric.Ceilometer
353         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
354         occurrences:
355         - 1
356         - UNBOUNDED
357       network.outgoing.bytes_vdbe_vdbe_untr_1_port:
358         type: org.openecomp.capabilities.metric.Ceilometer
359         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
360         occurrences:
361         - 1
362         - UNBOUNDED
363       disk.device.allocation_vdbe:
364         type: org.openecomp.capabilities.metric.Ceilometer
365         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
366         occurrences:
367         - 1
368         - UNBOUNDED
369       disk.usage_vdbe:
370         type: org.openecomp.capabilities.metric.Ceilometer
371         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
372         occurrences:
373         - 1
374         - UNBOUNDED
375       memory.usage_vdbe:
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       disk.read.requests_vdbe:
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.bytes_vdbe_vdbe_untr_1_port:
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       instance_vdbe:
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       cpu.delta_vdbe:
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       binding_vdbe_vdbe_untr_1_port:
406         type: tosca.capabilities.network.Bindable
407         valid_source_types:
408         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
409         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
410         occurrences:
411         - 0
412         - UNBOUNDED
413       disk.device.read.bytes.rate_vdbe:
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       disk.device.write.bytes.rate_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       memory.resident_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       forwarder_vdbe_vdbe_untr_1_port:
432         type: org.openecomp.capabilities.Forwarder
433         occurrences:
434         - 1
435         - UNBOUNDED
436       feature_vdbe_vdbe_untr_1_port_nested:
437         type: tosca.capabilities.Node
438         occurrences:
439         - 1
440         - UNBOUNDED
441       disk.write.requests.rate_vdbe:
442         type: org.openecomp.capabilities.metric.Ceilometer
443         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
444         occurrences:
445         - 1
446         - UNBOUNDED
447       cpu_vdbe:
448         type: org.openecomp.capabilities.metric.Ceilometer
449         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
450         occurrences:
451         - 1
452         - UNBOUNDED
453       disk.write.bytes_vdbe:
454         type: org.openecomp.capabilities.metric.Ceilometer
455         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
456         occurrences:
457         - 1
458         - UNBOUNDED
459       disk.device.usage_vdbe:
460         type: org.openecomp.capabilities.metric.Ceilometer
461         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
462         occurrences:
463         - 1
464         - UNBOUNDED
465       disk.device.read.bytes_vdbe:
466         type: org.openecomp.capabilities.metric.Ceilometer
467         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
468         occurrences:
469         - 1
470         - UNBOUNDED
471       disk.latency_vdbe:
472         type: org.openecomp.capabilities.metric.Ceilometer
473         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
474         occurrences:
475         - 1
476         - UNBOUNDED
477       network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
478         type: org.openecomp.capabilities.metric.Ceilometer
479         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
480         occurrences:
481         - 1
482         - UNBOUNDED
483       disk.capacity_vdbe:
484         type: org.openecomp.capabilities.metric.Ceilometer
485         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
486         occurrences:
487         - 1
488         - UNBOUNDED
489       host_vdbe:
490         type: tosca.capabilities.Container
491         valid_source_types:
492         - tosca.nodes.SoftwareComponent
493         occurrences:
494         - 1
495         - UNBOUNDED
496       disk.allocation_vdbe:
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       network.outpoing.packets_vdbe_vdbe_untr_1_port:
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       network.incoming.packets_vdbe_vdbe_untr_1_port:
509         type: org.openecomp.capabilities.metric.Ceilometer
510         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
511         occurrences:
512         - 1
513         - UNBOUNDED
514       disk.read.bytes.rate_vdbe:
515         type: org.openecomp.capabilities.metric.Ceilometer
516         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
517         occurrences:
518         - 1
519         - UNBOUNDED
520       os_vdbe:
521         type: tosca.capabilities.OperatingSystem
522         occurrences:
523         - 1
524         - UNBOUNDED
525       disk.device.read.requests_vdbe:
526         type: org.openecomp.capabilities.metric.Ceilometer
527         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
528         occurrences:
529         - 1
530         - UNBOUNDED
531       disk.root.size_vdbe:
532         type: org.openecomp.capabilities.metric.Ceilometer
533         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
534         occurrences:
535         - 1
536         - UNBOUNDED
537       memory_vdbe:
538         type: org.openecomp.capabilities.metric.Ceilometer
539         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
540         occurrences:
541         - 1
542         - UNBOUNDED
543       binding_vdbe:
544         type: tosca.capabilities.network.Bindable
545         occurrences:
546         - 1
547         - UNBOUNDED
548       disk.device.write.bytes_vdbe:
549         type: org.openecomp.capabilities.metric.Ceilometer
550         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
551         occurrences:
552         - 1
553         - UNBOUNDED
554       network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
555         type: org.openecomp.capabilities.metric.Ceilometer
556         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
557         occurrences:
558         - 1
559         - UNBOUNDED
560       disk.device.read.requests.rate_vdbe:
561         type: org.openecomp.capabilities.metric.Ceilometer
562         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
563         occurrences:
564         - 1
565         - UNBOUNDED
566       disk.read.bytes_vdbe:
567         type: org.openecomp.capabilities.metric.Ceilometer
568         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
569         occurrences:
570         - 1
571         - UNBOUNDED
572   org.openecomp.resource.abstract.nodes.heat.subinterface.nested:
573     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
574     properties:
575       aap_untrusted_ip_prefix:
576         type: string
577         description: ip prefix for primary vDBE VM on the VAN untrusted network
578         required: true
579         status: SUPPORTED
580       aap_sec_untrusted_ip_prefix:
581         type: string
582         description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
583         required: true
584         status: SUPPORTED
585       vdbe_subport_network:
586         type: string
587         description: List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list
588         required: true
589         status: SUPPORTED
590       ip_v6_address:
591         type: string
592         description: IPv6 address associated with subinterfaces
593         required: true
594         status: SUPPORTED
595       counter:
596         type: float
597         description: Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances.
598         required: true
599         status: SUPPORTED
600       subinterfaces_name_prefix:
601         type: string
602         description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
603         required: true
604         status: SUPPORTED
605       ip_address:
606         type: string
607         description: IPv4 address associated with subinterfaces
608         required: true
609         status: SUPPORTED
610       aap_address_mode:
611         type: string
612         description: Address mode for the vDBE cluster IP
613         required: true
614         status: SUPPORTED
615       aap_untrusted_v6_ip_prefix:
616         type: string
617         description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
618         required: true
619         status: SUPPORTED
620       parent_interface:
621         type: string
622         description: Parent Contrail interface
623         required: true
624         status: SUPPORTED
625       mac_address:
626         type: string
627         description: HW MAC address to use for subinterface
628         required: true
629         status: SUPPORTED
630       vlan_tag_list:
631         type: list
632         description: List of VLAN IDs to use for subinterfaces
633         required: true
634         status: SUPPORTED
635         entry_schema:
636           type: string
637       aap_sec_untrusted_ip_prefix_len:
638         type: string
639         description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
640         required: true
641         status: SUPPORTED
642       vmac_address:
643         type: string
644         description: virtual MAC address to use for subinterface
645         required: true
646         status: SUPPORTED
647       aap_untrusted_v6_ip_prefix_len:
648         type: string
649         description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
650         required: true
651         status: SUPPORTED
652       aap_untrusted_ip_prefix_len:
653         type: string
654         description: ip prefix length for the primary vDBE VM on the VAN untrusted network
655         required: true
656         status: SUPPORTED
657     requirements:
658     - dependency_vdbe_untr_x_subport:
659         capability: tosca.capabilities.Node
660         node: tosca.nodes.Root
661         relationship: tosca.relationships.DependsOn
662         occurrences:
663         - 0
664         - UNBOUNDED
665     - subinterface_link_vdbe_untr_x_subport:
666         capability: tosca.capabilities.network.Linkable
667         relationship: tosca.relationships.network.LinksTo
668         occurrences:
669         - 1
670         - 1
671     - binding_vdbe_untr_x_subport:
672         capability: tosca.capabilities.network.Bindable
673         node: org.openecomp.resource.cp.nodes.network.Port
674         relationship: tosca.relationships.network.BindsTo
675         occurrences:
676         - 1
677         - 1
678     capabilities:
679       feature_vdbe_untr_x_subport:
680         type: tosca.capabilities.Node
681         occurrences:
682         - 1
683         - UNBOUNDED