e37169ba04a49e31f4ecb387428eb0cb9f9ee984
[sdc.git] / common / onap-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.ExtVirtualLinkable:
37     derived_from: tosca.capabilities.Root
38
39   tosca.capabilities.nfv.VirtualCompute:
40     derived_from: tosca.capabilities.Root
41     properties:
42       logical_node:
43         type: tosca.datatypes.nfv.LogicalNodeData
44         required: false
45         #compute_requirements: Type is TBD
46         #type: map
47         #required: false
48       requested_additional_capabilities:
49         type: map
50         entry_schema:
51            type: tosca.datatypes.nfv.RequestedAdditionalCapability
52         required: false
53       virtual_memory:
54         type: tosca.datatypes.nfv.VirtualMemory
55         required: true
56       virtual_cpu:
57         type: tosca.datatypes.nfv.VirtualCpu
58         required: true
59
60   tosca.capabilities.nfv.VirtualStorage:
61     derived_from: tosca.capabilities.Root
62
63   tosca.capabilities.nfv.Forwarder:
64     derived_from: tosca.capabilities.Root
65
66   tosca.capabilities.nfv.ext.Compute.Container.Architecture:
67     derived_from: tosca.capabilities.Root
68     properties:
69       num_cpus:
70         required: false
71         type: string
72       flavor_extra_specs:
73         entry_schema:
74           type: string
75         required: false
76         type: map
77       mem_size:
78         required: false
79         type: string
80
81   tosca.capabilities.nfv.ext.ImageFile:
82     derived_from: tosca.capabilities.Root
83
84   tosca.capabilities.nfv.ext.LocalAttachment:
85     derived_from: tosca.capabilities.Root