a60e6c2865ddaf9ab1f9260ea37d5c19d7e51d2f
[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_aap_untrusted_v6_ip_prefix_len:
30         type: list
31         required: true
32         status: SUPPORTED
33         entry_schema:
34           type: string
35       vm_flavor_name:
36         type: string
37         required: true
38         status: SUPPORTED
39       untrusted_num_vn:
40         type: float
41         description: Number of vDBE subinterface virtual Networks
42         required: true
43         status: SUPPORTED
44         constraints:
45         - in_range:
46           - 1
47           - 77
48       subinterface_nested_aap_untrusted_ip_prefix:
49         type: list
50         required: true
51         status: SUPPORTED
52         entry_schema:
53           type: string
54       vm_image_name:
55         type: string
56         required: true
57         status: SUPPORTED
58       port_vdbe_untr_1_port_network_role:
59         type: string
60         required: true
61         status: SUPPORTED
62       subinterface_nested_vdbe_subport_network:
63         type: list
64         required: true
65         status: SUPPORTED
66         entry_schema:
67           type: string
68       subinterface_nested_aap_sec_untrusted_ip_prefix_len:
69         type: list
70         required: true
71         status: SUPPORTED
72         entry_schema:
73           type: string
74       subinterface_nested_aap_sec_untrusted_ip_prefix:
75         type: list
76         required: true
77         status: SUPPORTED
78         entry_schema:
79           type: string
80       subinterface_nested_aap_untrusted_v6_ip_prefix:
81         type: list
82         required: true
83         status: SUPPORTED
84         entry_schema:
85           type: string
86       compute_vdbe_metadata:
87         type: list
88         required: true
89         status: SUPPORTED
90         entry_schema:
91           type: json
92       subinterface_nested_mac_address:
93         type: list
94         required: true
95         status: SUPPORTED
96         entry_schema:
97           type: string
98       port_vdbe_untr_1_port_virtual_network_refs:
99         type: list
100         required: true
101         status: SUPPORTED
102         entry_schema:
103           type: json
104       port_vdbe_untr_1_port_ip_requirements:
105         type: list
106         required: true
107         status: SUPPORTED
108         entry_schema:
109           type: org.openecomp.datatypes.network.IpRequirements
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_1_port_mac_requirements:
123         type: org.openecomp.datatypes.network.MacRequirements
124         required: true
125         status: SUPPORTED
126       port_vdbe_untr_1_port_order:
127         type: integer
128         required: true
129         status: SUPPORTED
130       index_value:
131         type: integer
132         description: Index value of this substitution service template runtime instance
133         required: false
134         default: 0
135         status: SUPPORTED
136         constraints:
137         - greater_or_equal: 0
138       subinterface_nested_vmac_address:
139         type: list
140         required: true
141         status: SUPPORTED
142         entry_schema:
143           type: string
144       port_vdbe_untr_1_port_exCP_naming:
145         type: org.openecomp.datatypes.Naming
146         required: true
147         status: SUPPORTED
148       port_vdbe_untr_1_port_subnetpoolid:
149         type: string
150         required: true
151         status: SUPPORTED
152       port_vdbe_untr_1_port_name:
153         type: list
154         required: true
155         status: SUPPORTED
156         entry_schema:
157           type: string
158       port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
159         type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
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_1_port_network_role_tag:
187         type: string
188         required: true
189         status: SUPPORTED
190       port_vdbe_untr_1_port_vlan_requirements:
191         type: list
192         required: true
193         status: SUPPORTED
194         entry_schema:
195           type: org.openecomp.datatypes.network.VlanRequirements
196       port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
197         type: list
198         required: true
199         status: SUPPORTED
200         entry_schema:
201           type: json
202     attributes:
203       vdbe_vdbe_untr_1_port_nested_aap_address_mode:
204         type: string
205         status: SUPPORTED
206       vdbe_vdbe_untr_1_port_nested_vlan_tag_list:
207         type: list
208         status: SUPPORTED
209         entry_schema: &id001
210           type: string
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     - 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         occurrences:
416         - 0
417         - UNBOUNDED
418       disk.device.read.bytes.rate_vdbe:
419         type: org.openecomp.capabilities.metric.Ceilometer
420         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
421         occurrences:
422         - 1
423         - UNBOUNDED
424       disk.device.write.bytes.rate_vdbe:
425         type: org.openecomp.capabilities.metric.Ceilometer
426         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
427         occurrences:
428         - 1
429         - UNBOUNDED
430       memory.resident_vdbe:
431         type: org.openecomp.capabilities.metric.Ceilometer
432         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
433         occurrences:
434         - 1
435         - UNBOUNDED
436       forwarder_vdbe_vdbe_untr_1_port:
437         type: org.openecomp.capabilities.Forwarder
438         occurrences:
439         - 1
440         - UNBOUNDED
441       feature_vdbe_vdbe_untr_1_port_nested:
442         type: tosca.capabilities.Node
443         occurrences:
444         - 1
445         - UNBOUNDED
446       disk.write.requests.rate_vdbe:
447         type: org.openecomp.capabilities.metric.Ceilometer
448         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
449         occurrences:
450         - 1
451         - UNBOUNDED
452       cpu_vdbe:
453         type: org.openecomp.capabilities.metric.Ceilometer
454         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
455         occurrences:
456         - 1
457         - UNBOUNDED
458       disk.write.bytes_vdbe:
459         type: org.openecomp.capabilities.metric.Ceilometer
460         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
461         occurrences:
462         - 1
463         - UNBOUNDED
464       disk.device.usage_vdbe:
465         type: org.openecomp.capabilities.metric.Ceilometer
466         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
467         occurrences:
468         - 1
469         - UNBOUNDED
470       disk.device.read.bytes_vdbe:
471         type: org.openecomp.capabilities.metric.Ceilometer
472         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
473         occurrences:
474         - 1
475         - UNBOUNDED
476       disk.latency_vdbe:
477         type: org.openecomp.capabilities.metric.Ceilometer
478         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
479         occurrences:
480         - 1
481         - UNBOUNDED
482       network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
483         type: org.openecomp.capabilities.metric.Ceilometer
484         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
485         occurrences:
486         - 1
487         - UNBOUNDED
488       disk.capacity_vdbe:
489         type: org.openecomp.capabilities.metric.Ceilometer
490         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
491         occurrences:
492         - 1
493         - UNBOUNDED
494       host_vdbe:
495         type: tosca.capabilities.Container
496         valid_source_types:
497         - tosca.nodes.SoftwareComponent
498         occurrences:
499         - 1
500         - UNBOUNDED
501       disk.allocation_vdbe:
502         type: org.openecomp.capabilities.metric.Ceilometer
503         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
504         occurrences:
505         - 1
506         - UNBOUNDED
507       network.outpoing.packets_vdbe_vdbe_untr_1_port:
508         type: org.openecomp.capabilities.metric.Ceilometer
509         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
510         occurrences:
511         - 1
512         - UNBOUNDED
513       network.incoming.packets_vdbe_vdbe_untr_1_port:
514         type: org.openecomp.capabilities.metric.Ceilometer
515         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
516         occurrences:
517         - 1
518         - UNBOUNDED
519       disk.read.bytes.rate_vdbe:
520         type: org.openecomp.capabilities.metric.Ceilometer
521         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
522         occurrences:
523         - 1
524         - UNBOUNDED
525       os_vdbe:
526         type: tosca.capabilities.OperatingSystem
527         occurrences:
528         - 1
529         - UNBOUNDED
530       disk.device.read.requests_vdbe:
531         type: org.openecomp.capabilities.metric.Ceilometer
532         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
533         occurrences:
534         - 1
535         - UNBOUNDED
536       disk.root.size_vdbe:
537         type: org.openecomp.capabilities.metric.Ceilometer
538         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
539         occurrences:
540         - 1
541         - UNBOUNDED
542       memory_vdbe:
543         type: org.openecomp.capabilities.metric.Ceilometer
544         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
545         occurrences:
546         - 1
547         - UNBOUNDED
548       binding_vdbe:
549         type: tosca.capabilities.network.Bindable
550         occurrences:
551         - 1
552         - UNBOUNDED
553       disk.device.write.bytes_vdbe:
554         type: org.openecomp.capabilities.metric.Ceilometer
555         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
556         occurrences:
557         - 1
558         - UNBOUNDED
559       network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
560         type: org.openecomp.capabilities.metric.Ceilometer
561         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
562         occurrences:
563         - 1
564         - UNBOUNDED
565       disk.device.read.requests.rate_vdbe:
566         type: org.openecomp.capabilities.metric.Ceilometer
567         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
568         occurrences:
569         - 1
570         - UNBOUNDED
571       disk.read.bytes_vdbe:
572         type: org.openecomp.capabilities.metric.Ceilometer
573         description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
574         occurrences:
575         - 1
576         - UNBOUNDED
577   org.openecomp.resource.abstract.nodes.heat.subinterface.nested:
578     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
579     properties:
580       aap_untrusted_ip_prefix:
581         type: string
582         description: ip prefix for primary vDBE VM on the VAN untrusted network
583         required: true
584         status: SUPPORTED
585       aap_sec_untrusted_ip_prefix:
586         type: string
587         description: ip prefix for secondary vDBE VM aap on the VAN untrusted network
588         required: true
589         status: SUPPORTED
590       vdbe_subport_network:
591         type: string
592         description: List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list
593         required: true
594         status: SUPPORTED
595       ip_v6_address:
596         type: string
597         description: IPv6 address associated with subinterfaces
598         required: true
599         status: SUPPORTED
600       counter:
601         type: float
602         description: Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances.
603         required: true
604         status: SUPPORTED
605       subinterfaces_name_prefix:
606         type: string
607         description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource
608         required: true
609         status: SUPPORTED
610       ip_address:
611         type: string
612         description: IPv4 address associated with subinterfaces
613         required: true
614         status: SUPPORTED
615       aap_address_mode:
616         type: string
617         description: Address mode for the vDBE cluster IP
618         required: true
619         status: SUPPORTED
620       aap_untrusted_v6_ip_prefix:
621         type: string
622         description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network
623         required: true
624         status: SUPPORTED
625       parent_interface:
626         type: string
627         description: Parent Contrail interface
628         required: true
629         status: SUPPORTED
630       mac_address:
631         type: string
632         description: HW MAC address to use for subinterface
633         required: true
634         status: SUPPORTED
635       vlan_tag_list:
636         type: list
637         description: List of VLAN IDs to use for subinterfaces
638         required: true
639         status: SUPPORTED
640         entry_schema: *id001
641       aap_sec_untrusted_ip_prefix_len:
642         type: string
643         description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network
644         required: true
645         status: SUPPORTED
646       vmac_address:
647         type: string
648         description: virtual MAC address to use for subinterface
649         required: true
650         status: SUPPORTED
651       aap_untrusted_v6_ip_prefix_len:
652         type: string
653         description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network
654         required: true
655         status: SUPPORTED
656       aap_untrusted_ip_prefix_len:
657         type: string
658         description: ip prefix length for the primary vDBE VM on the VAN untrusted network
659         required: true
660         status: SUPPORTED
661     requirements:
662     - dependency_vdbe_untr_x_subport:
663         capability: tosca.capabilities.Node
664         node: tosca.nodes.Root
665         relationship: tosca.relationships.DependsOn
666         occurrences:
667         - 0
668         - UNBOUNDED
669     - link_vdbe_untr_x_subport:
670         capability: tosca.capabilities.network.Linkable
671         relationship: tosca.relationships.network.LinksTo
672         occurrences:
673         - 1
674         - 1
675     - binding_vdbe_untr_x_subport:
676         capability: tosca.capabilities.network.Bindable
677         node: org.openecomp.resource.cp.nodes.network.Port
678         relationship: tosca.relationships.network.BindsTo
679         occurrences:
680         - 1
681         - 1
682     capabilities:
683       feature_vdbe_untr_x_subport:
684         type: tosca.capabilities.Node
685         occurrences:
686         - 1
687         - UNBOUNDED