3a7104fd9d60913b0e14d0ab8b7d1ec90410063e
[sdc.git] / common / openecomp-tosca-datatype / src / main / resources / globalTypes / onap / capabilities.yml
1 #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #      http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 #
14
15 tosca_definitions_version: tosca_simple_yaml_1_1
16
17 metadata:
18   filename: onap/capabilities.yml
19   version: '1.0'
20
21 imports:
22 - onap_index:
23     file: _index.yml
24
25 capability_types:
26
27   tosca.capabilities.nfv.VirtualLinkable:
28     derived_from: tosca.capabilities.Root
29
30   tosca.capabilities.nfv.Metric:
31     derived_from: tosca.capabilities.Root
32
33   tosca.capabilities.nfv.VirtualBindable:
34     derived_from: tosca.capabilities.Root
35
36   tosca.capabilities.nfv.VirtualCompute:
37     derived_from: tosca.capabilities.Root
38     properties:
39       virtual_memory:
40         type: tosca.datatypes.nfv.VirtualMemory
41       requested_additional_capabilities:
42         entry_schema:
43           type: tosca.datatypes.nfv.RequestedAdditionalCapability
44         required: false
45         type: map
46       virtual_cpu:
47         type: tosca.datatypes.nfv.VirtualCpu
48
49   tosca.capabilities.nfv.VirtualStorage:
50     derived_from: tosca.capabilities.Root
51
52   tosca.capabilities.nfv.Forwarder:
53     derived_from: tosca.capabilities.Root
54
55   tosca.capabilities.nfv.ext.Compute.Container.Architecture:
56     derived_from: tosca.capabilities.Root
57     properties:
58       num_cpus:
59         required: false
60         type: string
61       flavor_extra_specs:
62         entry_schema:
63           type: string
64         required: false
65         type: map
66       mem_size:
67         required: false
68         type: string
69
70   tosca.capabilities.nfv.ext.ImageFile:
71     derived_from: tosca.capabilities.Root
72
73   tosca.capabilities.nfv.ext.LocalAttachment:
74     derived_from: tosca.capabilities.Root