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