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 / computePortNetworkSubInterface / 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_vmi_virtual_machine_interface_allowed_address_pairs:
12         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
13         required: true
14         status: SUPPORTED
15       port_vdbe_untr_vmi_related_networks:
16         type: list
17         required: true
18         status: SUPPORTED
19         entry_schema:
20           type: org.openecomp.datatypes.network.RelatedNetworksAssignments
21       port_vdbe_untr_vmi_network_role_tag:
22         type: string
23         required: true
24         status: SUPPORTED
25       subinterface_nested_parent_interface:
26         type: list
27         required: true
28         status: SUPPORTED
29         entry_schema:
30           type: string
31       subinterface_nested_aap_address_mode:
32         type: list
33         required: true
34         status: SUPPORTED
35         entry_schema:
36           type: string
37       subinterface_nested_vlan_tag_list:
38         type: list
39         required: true
40         status: SUPPORTED
41         entry_schema:
42           type: json
43       compute_vdbe_availability_zone:
44         type: list
45         required: true
46         status: SUPPORTED
47         entry_schema:
48           type: string
49       subinterface_nested_service_template_filter_count:
50         type: list
51         required: true
52         status: SUPPORTED
53         entry_schema:
54           type: float
55       subinterface_nested_aap_untrusted_v6_ip_prefix_len:
56         type: list
57         required: true
58         status: SUPPORTED
59         entry_schema:
60           type: string
61       vm_flavor_name:
62         type: string
63         required: true
64         status: SUPPORTED
65       port_vdbe_untr_vmi_virtual_machine_interface_mac_addresses:
66         type: list
67         required: true
68         status: SUPPORTED
69         entry_schema:
70           type: json
71       subinterface_nested_aap_untrusted_ip_prefix:
72         type: list
73         required: true
74         status: SUPPORTED
75         entry_schema:
76           type: string
77       vm_image_name:
78         type: string
79         required: true
80         status: SUPPORTED
81       subinterface_nested_aap_sec_untrusted_ip_prefix_len:
82         type: list
83         required: true
84         status: SUPPORTED
85         entry_schema:
86           type: string
87       subinterface_nested_aap_sec_untrusted_ip_prefix:
88         type: list
89         required: true
90         status: SUPPORTED
91         entry_schema:
92           type: string
93       subinterface_nested_aap_untrusted_v6_ip_prefix:
94         type: list
95         required: true
96         status: SUPPORTED
97         entry_schema:
98           type: string
99       compute_vdbe_metadata:
100         type: list
101         required: true
102         status: SUPPORTED
103         entry_schema:
104           type: json
105       subinterface_nested_mac_address:
106         type: list
107         required: true
108         status: SUPPORTED
109         entry_schema:
110           type: string
111       port_vdbe_untr_vmi_virtual_network_refs:
112         type: list
113         required: true
114         status: SUPPORTED
115         entry_schema:
116           type: json
117       port_vdbe_untr_vmi_mac_requirements:
118         type: org.openecomp.datatypes.network.MacRequirements
119         required: true
120         status: SUPPORTED
121       subinterface_nested_ip_address:
122         type: list
123         required: true
124         status: SUPPORTED
125         entry_schema:
126           type: string
127       port_vdbe_untr_vmi_ip_requirements:
128         type: list
129         required: true
130         status: SUPPORTED
131         entry_schema:
132           type: org.openecomp.datatypes.network.IpRequirements
133       subinterface_nested_ip_v6_address:
134         type: list
135         required: true
136         status: SUPPORTED
137         entry_schema:
138           type: string
139       port_vdbe_untr_vmi_order:
140         type: integer
141         required: true
142         status: SUPPORTED
143       index_value:
144         type: integer
145         description: Index value of this substitution service template runtime instance
146         required: false
147         default: 0
148         status: SUPPORTED
149         constraints:
150         - greater_or_equal: 0
151       subinterface_nested_vmac_address:
152         type: list
153         required: true
154         status: SUPPORTED
155         entry_schema:
156           type: string
157       subinterface_nested_vn_network_list:
158         type: list
159         required: true
160         status: SUPPORTED
161         entry_schema:
162           type: string
163       port_vdbe_untr_vmi_network_role:
164         type: string
165         required: true
166         status: SUPPORTED
167       port_vdbe_untr_vmi_exCP_naming:
168         type: org.openecomp.datatypes.Naming
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       port_vdbe_untr_vmi_name:
178         type: list
179         required: true
180         status: SUPPORTED
181         entry_schema:
182           type: string
183       subinterface_nested_subinterfaces_name_prefix:
184         type: list
185         required: true
186         status: SUPPORTED
187         entry_schema:
188           type: string
189       compute_vdbe_name:
190         type: list
191         required: true
192         status: SUPPORTED
193         entry_schema:
194           type: string
195       port_vdbe_untr_vmi_subnetpoolid:
196         type: string
197         required: true
198         status: SUPPORTED
199       port_vdbe_untr_vmi_vlan_requirements:
200         type: list
201         required: true
202         status: SUPPORTED
203         entry_schema:
204           type: org.openecomp.datatypes.network.VlanRequirements
205     requirements:
206     - dependency_vdbe:
207         capability: tosca.capabilities.Node
208         node: tosca.nodes.Root
209         relationship: tosca.relationships.DependsOn
210         occurrences:
211         - 0
212         - UNBOUNDED
213     - local_storage_vdbe:
214         capability: tosca.capabilities.Attachment
215         node: tosca.nodes.BlockStorage
216         relationship: tosca.relationships.AttachesTo
217         occurrences:
218         - 0
219         - UNBOUNDED
220     - dependency_vdbe_vdbe_untr_vmi:
221         capability: tosca.capabilities.Node
222         node: tosca.nodes.Root
223         relationship: tosca.relationships.DependsOn
224         occurrences:
225         - 0
226         - UNBOUNDED
227     - link_vdbe_vdbe_untr_vmi:
228         capability: tosca.capabilities.network.Linkable
229         relationship: tosca.relationships.network.LinksTo
230         occurrences:
231         - 1
232         - 1
233     - dependency_vdbe_vdbe_untr_vmi_nested:
234         capability: tosca.capabilities.Node
235         node: tosca.nodes.Root
236         relationship: tosca.relationships.DependsOn
237         occurrences:
238         - 0
239         - UNBOUNDED
240     - dependency_vdbe_0_untr_vmi_0_vdbe_vdbe_untr_vmi_nested:
241         capability: tosca.capabilities.Node
242         node: tosca.nodes.Root
243         relationship: tosca.relationships.DependsOn
244         occurrences:
245         - 0
246         - UNBOUNDED
247     - subinterface_link_vdbe_0_untr_vmi_0_vdbe_vdbe_untr_vmi_nested:
248         capability: tosca.capabilities.network.Linkable
249         relationship: tosca.relationships.network.LinksTo
250         occurrences:
251         - 1
252         - 1
253     capabilities:
254       feature_vdbe_vdbe_untr_vmi_nested:
255         type: tosca.capabilities.Node
256         occurrences:
257         - 1
258         - UNBOUNDED
259       network.incoming.packets.rate_vdbe_vdbe_untr_vmi:
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       feature_vdbe:
266         type: tosca.capabilities.Node
267         occurrences:
268         - 1
269         - UNBOUNDED
270       disk.device.iops_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       endpoint_vdbe:
277         type: tosca.capabilities.Endpoint.Admin
278         occurrences:
279         - 1
280         - UNBOUNDED
281       disk.ephemeral.size_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       cpu_util_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       vcpus_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.write.requests_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       feature_vdbe_vdbe_untr_vmi:
306         type: tosca.capabilities.Node
307         occurrences:
308         - 1
309         - UNBOUNDED
310       disk.device.latency_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.device.write.requests.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       disk.write.bytes.rate_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       scalable_vdbe:
329         type: tosca.capabilities.Scalable
330         occurrences:
331         - 1
332         - UNBOUNDED
333       disk.iops_vdbe:
334         type: org.openecomp.capabilities.metric.Ceilometer
335         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
336         occurrences:
337         - 1
338         - UNBOUNDED
339       disk.device.write.requests_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.capacity_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.allocation_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.usage_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       memory.usage_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.read.requests_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       instance_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       network.outpoing.packets_vdbe_vdbe_untr_vmi:
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       cpu.delta_vdbe:
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       disk.device.read.bytes.rate_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       disk.device.write.bytes.rate_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       memory.resident_vdbe:
406         type: org.openecomp.capabilities.metric.Ceilometer
407         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
408         occurrences:
409         - 1
410         - UNBOUNDED
411       network.incoming.packets_vdbe_vdbe_untr_vmi:
412         type: org.openecomp.capabilities.metric.Ceilometer
413         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
414         occurrences:
415         - 1
416         - UNBOUNDED
417       disk.write.requests.rate_vdbe:
418         type: org.openecomp.capabilities.metric.Ceilometer
419         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
420         occurrences:
421         - 1
422         - UNBOUNDED
423       network.incoming.bytes.rate_vdbe_vdbe_untr_vmi:
424         type: org.openecomp.capabilities.metric.Ceilometer
425         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
426         occurrences:
427         - 1
428         - UNBOUNDED
429       cpu_vdbe:
430         type: org.openecomp.capabilities.metric.Ceilometer
431         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
432         occurrences:
433         - 1
434         - UNBOUNDED
435       disk.write.bytes_vdbe:
436         type: org.openecomp.capabilities.metric.Ceilometer
437         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
438         occurrences:
439         - 1
440         - UNBOUNDED
441       binding_vdbe_vdbe_untr_vmi:
442         type: tosca.capabilities.network.Bindable
443         valid_source_types:
444         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
445         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
446         occurrences:
447         - 0
448         - UNBOUNDED
449       disk.device.usage_vdbe:
450         type: org.openecomp.capabilities.metric.Ceilometer
451         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
452         occurrences:
453         - 1
454         - UNBOUNDED
455       disk.device.read.bytes_vdbe:
456         type: org.openecomp.capabilities.metric.Ceilometer
457         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
458         occurrences:
459         - 1
460         - UNBOUNDED
461       disk.latency_vdbe:
462         type: org.openecomp.capabilities.metric.Ceilometer
463         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
464         occurrences:
465         - 1
466         - UNBOUNDED
467       feature_vdbe_0_untr_vmi_0_vdbe_vdbe_untr_vmi_nested:
468         type: tosca.capabilities.Node
469         occurrences:
470         - 1
471         - UNBOUNDED
472       network.outgoing.bytes.rate_vdbe_vdbe_untr_vmi:
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.capacity_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       host_vdbe:
485         type: tosca.capabilities.Container
486         valid_source_types:
487         - tosca.nodes.SoftwareComponent
488         occurrences:
489         - 1
490         - UNBOUNDED
491       disk.allocation_vdbe:
492         type: org.openecomp.capabilities.metric.Ceilometer
493         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
494         occurrences:
495         - 1
496         - UNBOUNDED
497       disk.read.bytes.rate_vdbe:
498         type: org.openecomp.capabilities.metric.Ceilometer
499         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
500         occurrences:
501         - 1
502         - UNBOUNDED
503       network.outgoing.packets.rate_vdbe_vdbe_untr_vmi:
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       network.incoming.bytes_vdbe_vdbe_untr_vmi:
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       forwarder_vdbe_vdbe_untr_vmi:
521         type: org.openecomp.capabilities.Forwarder
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       network.outgoing.bytes_vdbe_vdbe_untr_vmi:
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   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       ip_v6_address:
586         type: string
587         description: IPv6 address associated with subinterfaces
588         required: true
589         status: SUPPORTED
590       counter:
591         type: float
592         description: Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances.
593         required: true
594         status: SUPPORTED
595       subinterfaces_name_prefix:
596         type: string
597         description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
598         required: true
599         status: SUPPORTED
600       ip_address:
601         type: string
602         description: IPv4 address associated with subinterfaces
603         required: true
604         status: SUPPORTED
605       aap_address_mode:
606         type: string
607         description: Address mode for the vDBE cluster IP
608         required: true
609         status: SUPPORTED
610       aap_untrusted_v6_ip_prefix:
611         type: string
612         description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
613         required: true
614         status: SUPPORTED
615       parent_interface:
616         type: string
617         description: Parent Contrail interface
618         required: true
619         status: SUPPORTED
620       vn_network_list:
621         type: string
622         description: List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list
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_0_untr_vmi_0:
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_0_untr_vmi_0:
666         capability: tosca.capabilities.network.Linkable
667         relationship: tosca.relationships.network.LinksTo
668         occurrences:
669         - 1
670         - 1
671     - binding_vdbe_0_untr_vmi_0:
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_0_untr_vmi_0:
680         type: tosca.capabilities.Node
681         occurrences:
682         - 1
683         - UNBOUNDED