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