DM modification to align with R2 DM clean version
[sdc.git] / common / onap-tosca-datatype / src / main / resources / globalTypes / onap / relationships.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/relationships.yml
19   version: '1.0'
20
21 imports:
22 - onap_index:
23     file: _index.yml
24
25 relationship_types:
26   tosca.relationships.nfv.VirtualBindsTo:
27     derived_from: tosca.relationships.DependsOn
28     valid_target_types:
29     - tosca.capabilities.nfv.VirtualBindable
30
31   tosca.relationships.nfv.VirtualLinksTo:
32     derived_from: tosca.relationships.DependsOn
33     valid_target_types:
34     - tosca.capabilities.nfv.VirtualLinkable
35
36   tosca.relationships.nfv.Vdu.AttachedTo:
37     derived_from: tosca.relationships.DependsOn
38     valid_target_types: [ tosca.capabilities.nfv.VirtualStorage ]