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 / pattern1c1 / onePortVlanSameType / 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       port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs:
108         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
109         required: true
110         status: SUPPORTED
111       subinterface_nested_ip_address:
112         type: list
113         required: true
114         status: SUPPORTED
115         entry_schema:
116           type: string
117       port_vdbe_untr_port_virtual_network_refs:
118         type: list
119         required: true
120         status: SUPPORTED
121         entry_schema:
122           type: json
123       subinterface_nested_ip_v6_address:
124         type: list
125         required: true
126         status: SUPPORTED
127         entry_schema:
128           type: string
129       port_vdbe_untr_port_mac_requirements:
130         type: org.openecomp.datatypes.network.MacRequirements
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       subinterface_nested_vn_network_list:
148         type: list
149         required: true
150         status: SUPPORTED
151         entry_schema:
152           type: string
153       port_vdbe_untr_port_name:
154         type: list
155         required: true
156         status: SUPPORTED
157         entry_schema:
158           type: string
159       port_vdbe_untr_port_vlan_requirements:
160         type: list
161         required: true
162         status: SUPPORTED
163         entry_schema:
164           type: org.openecomp.datatypes.network.VlanRequirements
165       port_vdbe_untr_port_network_role:
166         type: string
167         required: true
168         status: SUPPORTED
169       port_vdbe_untr_port_virtual_machine_interface_mac_addresses:
170         type: list
171         required: true
172         status: SUPPORTED
173         entry_schema:
174           type: json
175       subinterface_nested_aap_untrusted_ip_prefix_len:
176         type: list
177         required: true
178         status: SUPPORTED
179         entry_schema:
180           type: string
181       subinterface_nested_counter:
182         type: list
183         required: true
184         status: SUPPORTED
185         entry_schema:
186           type: float
187       subinterface_nested_subinterfaces_name_prefix:
188         type: list
189         required: true
190         status: SUPPORTED
191         entry_schema:
192           type: string
193       compute_vdbe_name:
194         type: list
195         required: true
196         status: SUPPORTED
197         entry_schema:
198           type: string
199       port_vdbe_untr_port_related_networks:
200         type: list
201         required: true
202         status: SUPPORTED
203         entry_schema:
204           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
205       port_vdbe_untr_port_ip_requirements:
206         type: list
207         required: true
208         status: SUPPORTED
209         entry_schema:
210           type: org.openecomp.datatypes.network.IpRequirements
211     requirements:
212     - dependency_vdbe:
213         capability: tosca.capabilities.Node
214         node: tosca.nodes.Root
215         relationship: tosca.relationships.DependsOn
216         occurrences:
217         - 0
218         - UNBOUNDED
219     - local_storage_vdbe:
220         capability: tosca.capabilities.Attachment
221         node: tosca.nodes.BlockStorage
222         relationship: tosca.relationships.AttachesTo
223         occurrences:
224         - 0
225         - UNBOUNDED
226     - dependency_vdbe_vdbe_untr_port:
227         capability: tosca.capabilities.Node
228         node: tosca.nodes.Root
229         relationship: tosca.relationships.DependsOn
230         occurrences:
231         - 0
232         - UNBOUNDED
233     - link_vdbe_vdbe_untr_port:
234         capability: tosca.capabilities.network.Linkable
235         relationship: tosca.relationships.network.LinksTo
236         occurrences:
237         - 1
238         - 1
239     - dependency_vdbe_vdbe_untr_port_nested:
240         capability: tosca.capabilities.Node
241         node: tosca.nodes.Root
242         relationship: tosca.relationships.DependsOn
243         occurrences:
244         - 0
245         - UNBOUNDED
246     - dependency_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
247         capability: tosca.capabilities.Node
248         node: tosca.nodes.Root
249         relationship: tosca.relationships.DependsOn
250         occurrences:
251         - 0
252         - UNBOUNDED
253     - subinterface_link_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
254         capability: tosca.capabilities.network.Linkable
255         relationship: tosca.relationships.network.LinksTo
256         occurrences:
257         - 1
258         - 1
259     capabilities:
260       network.outgoing.packets.rate_vdbe_vdbe_untr_port:
261         type: org.openecomp.capabilities.metric.Ceilometer
262         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
263         occurrences:
264         - 1
265         - UNBOUNDED
266       network.outgoing.bytes_vdbe_vdbe_untr_port:
267         type: org.openecomp.capabilities.metric.Ceilometer
268         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
269         occurrences:
270         - 1
271         - UNBOUNDED
272       feature_vdbe:
273         type: tosca.capabilities.Node
274         occurrences:
275         - 1
276         - UNBOUNDED
277       feature_vdbe_vdbe_untr_port:
278         type: tosca.capabilities.Node
279         occurrences:
280         - 1
281         - UNBOUNDED
282       disk.device.iops_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       endpoint_vdbe:
289         type: tosca.capabilities.Endpoint.Admin
290         occurrences:
291         - 1
292         - UNBOUNDED
293       disk.ephemeral.size_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       feature_vdbe_untr_x_int_vmi_subport_vdbe_vdbe_untr_port_nested:
300         type: tosca.capabilities.Node
301         occurrences:
302         - 1
303         - UNBOUNDED
304       cpu_util_vdbe:
305         type: org.openecomp.capabilities.metric.Ceilometer
306         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
307         occurrences:
308         - 1
309         - UNBOUNDED
310       vcpus_vdbe:
311         type: org.openecomp.capabilities.metric.Ceilometer
312         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
313         occurrences:
314         - 1
315         - UNBOUNDED
316       disk.write.requests_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       disk.device.latency_vdbe:
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       disk.device.write.requests.rate_vdbe:
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       disk.write.bytes.rate_vdbe:
335         type: org.openecomp.capabilities.metric.Ceilometer
336         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
337         occurrences:
338         - 1
339         - UNBOUNDED
340       network.incoming.packets_vdbe_vdbe_untr_port:
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       scalable_vdbe:
347         type: tosca.capabilities.Scalable
348         occurrences:
349         - 1
350         - UNBOUNDED
351       disk.iops_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       disk.device.write.requests_vdbe:
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.capacity_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.device.allocation_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       disk.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       memory.usage_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.outpoing.packets_vdbe_vdbe_untr_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       network.outgoing.bytes.rate_vdbe_vdbe_untr_port:
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       disk.read.requests_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       forwarder_vdbe_vdbe_untr_port:
406         type: org.openecomp.capabilities.Forwarder
407         occurrences:
408         - 1
409         - UNBOUNDED
410       binding_vdbe_vdbe_untr_port:
411         type: tosca.capabilities.network.Bindable
412         valid_source_types:
413         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
414         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
415         occurrences:
416         - 0
417         - UNBOUNDED
418       instance_vdbe:
419         type: org.openecomp.capabilities.metric.Ceilometer
420         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
421         occurrences:
422         - 1
423         - UNBOUNDED
424       network.incoming.bytes.rate_vdbe_vdbe_untr_port:
425         type: org.openecomp.capabilities.metric.Ceilometer
426         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
427         occurrences:
428         - 1
429         - UNBOUNDED
430       cpu.delta_vdbe:
431         type: org.openecomp.capabilities.metric.Ceilometer
432         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
433         occurrences:
434         - 1
435         - UNBOUNDED
436       disk.device.read.bytes.rate_vdbe:
437         type: org.openecomp.capabilities.metric.Ceilometer
438         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
439         occurrences:
440         - 1
441         - UNBOUNDED
442       disk.device.write.bytes.rate_vdbe:
443         type: org.openecomp.capabilities.metric.Ceilometer
444         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
445         occurrences:
446         - 1
447         - UNBOUNDED
448       memory.resident_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       feature_vdbe_vdbe_untr_port_nested:
455         type: tosca.capabilities.Node
456         occurrences:
457         - 1
458         - UNBOUNDED
459       disk.write.requests.rate_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       cpu_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.write.bytes_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       disk.device.usage_vdbe:
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.device.read.bytes_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       disk.latency_vdbe:
490         type: org.openecomp.capabilities.metric.Ceilometer
491         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
492         occurrences:
493         - 1
494         - UNBOUNDED
495       network.incoming.bytes_vdbe_vdbe_untr_port:
496         type: org.openecomp.capabilities.metric.Ceilometer
497         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
498         occurrences:
499         - 1
500         - UNBOUNDED
501       disk.capacity_vdbe:
502         type: org.openecomp.capabilities.metric.Ceilometer
503         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
504         occurrences:
505         - 1
506         - UNBOUNDED
507       host_vdbe:
508         type: tosca.capabilities.Container
509         valid_source_types:
510         - tosca.nodes.SoftwareComponent
511         occurrences:
512         - 1
513         - UNBOUNDED
514       disk.allocation_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       disk.read.bytes.rate_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       os_vdbe:
527         type: tosca.capabilities.OperatingSystem
528         occurrences:
529         - 1
530         - UNBOUNDED
531       disk.device.read.requests_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       disk.root.size_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       memory_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       binding_vdbe:
550         type: tosca.capabilities.network.Bindable
551         occurrences:
552         - 1
553         - UNBOUNDED
554       disk.device.write.bytes_vdbe:
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       network.incoming.packets.rate_vdbe_vdbe_untr_port:
573         type: org.openecomp.capabilities.metric.Ceilometer
574         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
575         occurrences:
576         - 1
577         - UNBOUNDED
578   org.openecomp.resource.abstract.nodes.heat.subinterface.nested:
579     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
580     properties:
581       aap_untrusted_ip_prefix:
582         type: string
583         description: ip prefix for primary vDBE VM on the VAN untrusted network
584         required: true
585         status: SUPPORTED
586       aap_sec_untrusted_ip_prefix:
587         type: string
588         description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
589         required: true
590         status: SUPPORTED
591       ip_v6_address:
592         type: string
593         description: IPv6 address associated with subinterfaces
594         required: true
595         status: SUPPORTED
596       counter:
597         type: float
598         description: Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances.
599         required: true
600         status: SUPPORTED
601       subinterfaces_name_prefix:
602         type: string
603         description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
604         required: true
605         status: SUPPORTED
606       ip_address:
607         type: string
608         description: IPv4 address associated with subinterfaces
609         required: true
610         status: SUPPORTED
611       aap_address_mode:
612         type: string
613         description: Address mode for the vDBE cluster IP
614         required: true
615         status: SUPPORTED
616       aap_untrusted_v6_ip_prefix:
617         type: string
618         description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
619         required: true
620         status: SUPPORTED
621       parent_interface:
622         type: string
623         description: Parent Contrail interface
624         required: true
625         status: SUPPORTED
626       vn_network_list:
627         type: string
628         description: List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list
629         required: true
630         status: SUPPORTED
631       mac_address:
632         type: string
633         description: HW MAC address to use for subinterface
634         required: true
635         status: SUPPORTED
636       vlan_tag_list:
637         type: list
638         description: List of VLAN IDs to use for subinterfaces
639         required: true
640         status: SUPPORTED
641         entry_schema:
642           type: string
643       aap_sec_untrusted_ip_prefix_len:
644         type: string
645         description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
646         required: true
647         status: SUPPORTED
648       vmac_address:
649         type: string
650         description: virtual MAC address to use for subinterface
651         required: true
652         status: SUPPORTED
653       aap_untrusted_v6_ip_prefix_len:
654         type: string
655         description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
656         required: true
657         status: SUPPORTED
658       aap_untrusted_ip_prefix_len:
659         type: string
660         description: ip prefix length for the primary vDBE VM on the VAN untrusted network
661         required: true
662         status: SUPPORTED
663     requirements:
664     - dependency_vdbe_untr_x_int_vmi_subport:
665         capability: tosca.capabilities.Node
666         node: tosca.nodes.Root
667         relationship: tosca.relationships.DependsOn
668         occurrences:
669         - 0
670         - UNBOUNDED
671     - subinterface_link_vdbe_untr_x_int_vmi_subport:
672         capability: tosca.capabilities.network.Linkable
673         relationship: tosca.relationships.network.LinksTo
674         occurrences:
675         - 1
676         - 1
677     - binding_vdbe_untr_x_int_vmi_subport:
678         capability: tosca.capabilities.network.Bindable
679         node: org.openecomp.resource.cp.nodes.network.Port
680         relationship: tosca.relationships.network.BindsTo
681         occurrences:
682         - 1
683         - 1
684     capabilities:
685       feature_vdbe_untr_x_int_vmi_subport:
686         type: tosca.capabilities.Node
687         occurrences:
688         - 1
689         - UNBOUNDED