DM modification to align with R2 DM clean version
[sdc.git] / catalog-be / src / main / resources / import / tosca / capability-types / capabilityTypes.yml
1 tosca.capabilities.Root: 
2   description: The TOSCA root Capability Type all other TOSCA base Capability Types derive from
3 tosca.capabilities.Attachment:
4   derived_from: tosca.capabilities.Root
5 tosca.capabilities.Node:
6   derived_from: tosca.capabilities.Root
7 tosca.capabilities.Container:
8   derived_from: tosca.capabilities.Root
9   properties:
10     num_cpus: 
11       type: integer
12       required: false
13       constraints:
14         - greater_or_equal: 1
15     cpu_frequency:
16       type: scalar-unit.frequency
17       required: false
18       constraints:
19         - greater_or_equal: 0.1 GHz
20     disk_size: 
21       type: scalar-unit.size
22       required: false
23       constraints:
24         - greater_or_equal: 0 MB
25     mem_size: 
26       type: scalar-unit.size
27       required: false
28       constraints:
29         - greater_or_equal: 0 MB
30 org.openecomp.capabilities.PortMirroring:
31   derived_from: tosca.capabilities.Root
32   properties:
33     connection_point: 
34         type: org.openecomp.datatypes.PortMirroringConnectionPointDescription
35 tosca.capabilities.Endpoint:
36   derived_from: tosca.capabilities.Root
37   properties:
38     protocol:
39       type: string
40       default: tcp
41     port:
42       type: PortDef
43       required: false
44     secure:
45       type: boolean
46       default: false
47     url_path: 
48       type: string
49       required: false
50     port_name: 
51       type: string
52       required: false
53     network_name:
54       type: string
55       required: false 
56       default: PRIVATE
57     initiator:
58       type: string
59       default: source
60       constraints:
61         - valid_values: [ source, target, peer ]
62     ports:
63       type: map
64       required: false
65       constraints:
66         - min_length: 1
67       entry_schema:
68         type: PortSpec
69   attributes:
70     ip_address:
71       type: string
72 tosca.capabilities.DatabaseEndpoint:
73   derived_from: tosca.capabilities.Endpoint
74 tosca.capabilities.Endpoint.Public:
75   derived_from: tosca.capabilities.Endpoint
76   properties:
77     # Change the default network_name to use the first public network found
78     network_name: PUBLIC
79     floating:
80       description: > 
81         indicates that the public address should be allocated from a pool of floating IPs that are associated with the network.
82       type: boolean
83       default: false
84       status: experimental
85     dns_name:
86       description: The optional name to register with DNS 
87       type: string
88       required: false    
89       status: experimental
90 tosca.capabilities.Endpoint.Admin:
91   derived_from: tosca.capabilities.Endpoint
92   # Change Endpoint secure indicator to true from its default of false
93   properties:
94     secure: true
95 tosca.capabilities.Endpoint.Database:
96   derived_from: tosca.capabilities.Endpoint 
97 tosca.capabilities.OperatingSystem:
98   derived_from: tosca.capabilities.Root
99   properties:
100     architecture:
101       type: string
102       required: false 
103     type:
104       type: string
105       required: false
106     distribution:
107       type: string
108       required: false
109     version:
110       type: version
111       required: false
112 tosca.capabilities.Scalable:
113   derived_from: tosca.capabilities.Root
114   properties:
115     min_instances:
116       type: integer
117       default: 1
118     max_instances:
119       type: integer
120       default: 1
121     default_instances:
122       type: integer
123 tosca.capabilities.network.Bindable:
124   derived_from: tosca.capabilities.Node
125
126
127 tosca.capabilities.Container.Docker:
128   derived_from: tosca.capabilities.Container
129   properties:
130     version:
131       type: list
132       required: false
133       entry_schema: version
134     publish_all:
135       type: boolean
136       default: false
137       required: false
138     publish_ports:
139       type: list
140       entry_schema: PortSpec
141       required: false
142     expose_ports:
143       type: list
144       entry_schema: PortSpec
145       required: false
146     volumes:
147       type: list
148       entry_schema: string
149       required: false
150 tosca.capabilities.network.Linkable:
151   derived_from: tosca.capabilities.Root
152 org.openecomp.capabilities.AllottedResource:
153   derived_from: tosca.capabilities.Root
154 tosca.capabilities.nfv.Metric:
155   derived_from: tosca.capabilities.Endpoint
156 org.openecomp.capabilities.Metric:
157   derived_from: tosca.capabilities.nfv.Metric
158   description: A node type that includes the Metric capability indicates that it can be monitored.
159   properties:
160     unit:
161       type: string
162       description: Unit of the metric value
163       required: true
164       status: SUPPORTED
165     description:
166       type: string
167       description: Description of the metric
168       required: false
169       status: SUPPORTED
170     type:
171       type: string
172       description: Type of the metric value, for an example, Cumulative, Delta, Gauge and etc.
173       required: true
174       status: SUPPORTED
175     category:
176       type: string
177       description: Category of the metric, for an example, compute, disk, network, storage and etc.
178       required: false
179       status: SUPPORTED
180   attributes:
181     value:
182       type: string
183       description: Runtime monitored value
184       status: SUPPORTED
185 org.openecomp.capabilities.metric.Ceilometer:
186   derived_from: org.openecomp.capabilities.Metric
187   description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
188   properties:
189     name:
190       type: string
191       description: Ceilometer metric type name to monitor. (The name ceilometer is using)
192       required: true
193       status: SUPPORTED
194 org.openecomp.capabilities.metric.SnmpPolling:
195   derived_from: org.openecomp.capabilities.Metric
196   description: A node type that includes the Metric capability indicates that it can be monitored using snmp polling.
197   properties:
198     oid:
199       type: string
200       description: Object Id of the metric
201       required: true
202       status: SUPPORTED
203 org.openecomp.capabilities.metric.SnmpTrap:
204   derived_from: org.openecomp.capabilities.Metric
205   description: A node type that includes the Metric capability indicates that it can be monitored using snmp trap.
206   properties:
207     oid:
208       type: string
209       description: Object Id of the metric
210       required: true
211       status: SUPPORTED
212 org.openecomp.capabilities.Forwarder:
213   derived_from: tosca.capabilities.Root
214 org.openecomp.capabilities.VLANAssignment:
215   derived_from: tosca.capabilities.Root
216   description: ability to expose routing information of the internal network
217   properties:
218     vfc_instance_group_reference:
219       type: string
220       description: Ability to recognize capability per vfc instance group on vnf instance
221       required: true
222 org.openecomp.capabilities.RoutingConfiguration:
223   derived_from: tosca.capabilities.Root
224 org.openecomp.capabilities.FabricConfiguration:
225   derived_from: tosca.capabilities.Root
226
227 #ONAP types
228 tosca.capabilities.nfv.VirtualStorage:
229     derived_from: tosca.capabilities.Root
230 tosca.capabilities.nfv.VirtualCompute:
231   derived_from: tosca.capabilities.Root
232   properties:
233     logical_node:
234       type: tosca.datatypes.nfv.LogicalNodeData
235       required: false
236     compute_requirements:
237       type: map
238       entry_schema:
239         type: string
240       required: false
241     requested_additional_capabilities:
242       type: map
243       entry_schema:
244          type: tosca.datatypes.nfv.RequestedAdditionalCapability
245       required: false
246     virtual_memory:
247       type: tosca.datatypes.nfv.VirtualMemory
248       required: true
249     virtual_cpu:
250       type: tosca.datatypes.nfv.VirtualCpu
251       required: true
252 tosca.capabilities.nfv.VirtualBindable:
253   derived_from: tosca.capabilities.Root
254 tosca.capabilities.nfv.VirtualLinkable:
255   derived_from: tosca.capabilities.Root
256 tosca.capabilities.nfv.ExtVirtualLinkable:
257   derived_from: tosca.capabilities.Root
258 tosca.capabilities.nfv.Forwarder: 
259   derived_from: tosca.capabilities.Root
260 tosca.capabilities.nfv.ext.GuestOs: 
261   derived_from: tosca.capabilities.Root
262 tosca.capabilities.nfv.ext.ImageFile: 
263   derived_from: tosca.capabilities.Root
264 tosca.capabilities.nfv.ext.LocalAttachment: 
265   derived_from: tosca.capabilities.Root
266 tosca.capabilities.nfv.ext.Compute.Container.Architecture: 
267   derived_from: tosca.capabilities.Root
268   properties: 
269     num_cpus: 
270       type: string
271       required: false
272     flavor_extra_specs: 
273       type: map
274       required: false
275       entry_schema: 
276         type: string
277     mem_size: 
278       type: string
279       required: false