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 / subInterfaceNodesConnectedIn / 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_counter:
178         type: list
179         required: true
180         status: SUPPORTED
181         entry_schema:
182           type: float
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_1_port_network_role_tag:
196         type: string
197         required: true
198         status: SUPPORTED
199       port_vdbe_untr_1_port_vlan_requirements:
200         type: list
201         required: true
202         status: SUPPORTED
203         entry_schema:
204           type: org.openecomp.datatypes.network.VlanRequirements
205       port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
206         type: list
207         required: true
208         status: SUPPORTED
209         entry_schema:
210           type: json
211     requirements:
212     - dependency_vdbe_vdbe_untr_1_port_nested:
213         capability: tosca.capabilities.Node
214         node: tosca.nodes.Root
215         relationship: tosca.relationships.DependsOn
216         occurrences:
217         - 0
218         - UNBOUNDED
219     - dependency_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
220         capability: tosca.capabilities.Node
221         node: tosca.nodes.Root
222         relationship: tosca.relationships.DependsOn
223         occurrences:
224         - 0
225         - UNBOUNDED
226     - subinterface_link_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
227         capability: tosca.capabilities.network.Linkable
228         relationship: tosca.relationships.network.LinksTo
229         occurrences:
230         - 1
231         - 1
232     - dependency_vdbe:
233         capability: tosca.capabilities.Node
234         node: tosca.nodes.Root
235         relationship: tosca.relationships.DependsOn
236         occurrences:
237         - 0
238         - UNBOUNDED
239     - local_storage_vdbe:
240         capability: tosca.capabilities.Attachment
241         node: tosca.nodes.BlockStorage
242         relationship: tosca.relationships.AttachesTo
243         occurrences:
244         - 0
245         - UNBOUNDED
246     - dependency_vdbe_vdbe_untr_1_port:
247         capability: tosca.capabilities.Node
248         node: tosca.nodes.Root
249         relationship: tosca.relationships.DependsOn
250         occurrences:
251         - 0
252         - UNBOUNDED
253     - link_vdbe_vdbe_untr_1_port:
254         capability: tosca.capabilities.network.Linkable
255         relationship: tosca.relationships.network.LinksTo
256         occurrences:
257         - 1
258         - 1
259     capabilities:
260       feature_vdbe:
261         type: tosca.capabilities.Node
262         occurrences:
263         - 1
264         - UNBOUNDED
265       disk.device.iops_vdbe:
266         type: org.openecomp.capabilities.metric.Ceilometer
267         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
268         occurrences:
269         - 1
270         - UNBOUNDED
271       endpoint_vdbe:
272         type: tosca.capabilities.Endpoint.Admin
273         occurrences:
274         - 1
275         - UNBOUNDED
276       disk.ephemeral.size_vdbe:
277         type: org.openecomp.capabilities.metric.Ceilometer
278         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
279         occurrences:
280         - 1
281         - UNBOUNDED
282       feature_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_nested:
283         type: tosca.capabilities.Node
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       disk.device.latency_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       disk.device.write.requests.rate_vdbe:
312         type: org.openecomp.capabilities.metric.Ceilometer
313         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
314         occurrences:
315         - 1
316         - UNBOUNDED
317       feature_vdbe_vdbe_untr_1_port:
318         type: tosca.capabilities.Node
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       network.incoming.bytes.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       network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
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       scalable_vdbe:
341         type: tosca.capabilities.Scalable
342         occurrences:
343         - 1
344         - UNBOUNDED
345       disk.iops_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.write.requests_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.capacity_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       network.outgoing.bytes_vdbe_vdbe_untr_1_port:
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       disk.read.requests_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       network.incoming.bytes_vdbe_vdbe_untr_1_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       instance_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       cpu.delta_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       binding_vdbe_vdbe_untr_1_port:
412         type: tosca.capabilities.network.Bindable
413         valid_source_types:
414         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
415         - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
416         occurrences:
417         - 0
418         - UNBOUNDED
419       disk.device.read.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       disk.device.write.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       memory.resident_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       forwarder_vdbe_vdbe_untr_1_port:
438         type: org.openecomp.capabilities.Forwarder
439         occurrences:
440         - 1
441         - UNBOUNDED
442       feature_vdbe_vdbe_untr_1_port_nested:
443         type: tosca.capabilities.Node
444         occurrences:
445         - 1
446         - UNBOUNDED
447       disk.write.requests.rate_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       cpu_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.write.bytes_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.usage_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.device.read.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.latency_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       network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
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.capacity_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       host_vdbe:
496         type: tosca.capabilities.Container
497         valid_source_types:
498         - tosca.nodes.SoftwareComponent
499         occurrences:
500         - 1
501         - UNBOUNDED
502       disk.allocation_vdbe:
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.outpoing.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       network.incoming.packets_vdbe_vdbe_untr_1_port:
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       network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
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.device.read.requests.rate_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       disk.read.bytes_vdbe:
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       vdbe_subport_network:
592         type: string
593         description: List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list
594         required: true
595         status: SUPPORTED
596       ip_v6_address:
597         type: string
598         description: IPv6 address associated with subinterfaces
599         required: true
600         status: SUPPORTED
601       counter:
602         type: float
603         description: Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances.
604         required: true
605         status: SUPPORTED
606       subinterfaces_name_prefix:
607         type: string
608         description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
609         required: true
610         status: SUPPORTED
611       ip_address:
612         type: string
613         description: IPv4 address associated with subinterfaces
614         required: true
615         status: SUPPORTED
616       aap_address_mode:
617         type: string
618         description: Address mode for the vDBE cluster IP
619         required: true
620         status: SUPPORTED
621       aap_untrusted_v6_ip_prefix:
622         type: string
623         description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
624         required: true
625         status: SUPPORTED
626       parent_interface:
627         type: string
628         description: Parent Contrail interface
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_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_subport:
672         capability: tosca.capabilities.network.Linkable
673         relationship: tosca.relationships.network.LinksTo
674         occurrences:
675         - 1
676         - 1
677     - binding_vdbe_untr_x_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_subport:
686         type: tosca.capabilities.Node
687         occurrences:
688         - 1
689         - UNBOUNDED