DM modification to align with R2 DM clean version
[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:
46         type: map
47         entry_schema:
48           type: string
49         required: false
50       requested_additional_capabilities:
51         type: map
52         entry_schema:
53            type: tosca.datatypes.nfv.RequestedAdditionalCapability
54         required: false
55       virtual_memory:
56         type: tosca.datatypes.nfv.VirtualMemory
57         required: true
58       virtual_cpu:
59         type: tosca.datatypes.nfv.VirtualCpu
60         required: true
61
62   tosca.capabilities.nfv.VirtualStorage:
63     derived_from: tosca.capabilities.Root
64
65   tosca.capabilities.nfv.Forwarder:
66     derived_from: tosca.capabilities.Root
67
68   tosca.capabilities.nfv.ext.Compute.Container.Architecture:
69     derived_from: tosca.capabilities.Root
70     properties:
71       num_cpus:
72         required: false
73         type: string
74       flavor_extra_specs:
75         entry_schema:
76           type: string
77         required: false
78         type: map
79       mem_size:
80         required: false
81         type: string
82
83   tosca.capabilities.nfv.ext.ImageFile:
84     derived_from: tosca.capabilities.Root
85
86   tosca.capabilities.nfv.ext.LocalAttachment:
87     derived_from: tosca.capabilities.Root
88