cad5e96e6c51848eb8137f2c0f5ca90e4a06864f
[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   
27   tosca.relationships.nfv.VDU.AttachedTo:
28     derived_from: tosca.relationships.Root
29     properties:
30       location:
31         required: false
32         type: string
33
34   tosca.relationships.nfv.VirtualBindsTo:
35     derived_from: tosca.relationships.DependsOn
36     valid_target_types:
37     - tosca.capabilities.nfv.VirtualBindable
38
39   tosca.relationships.nfv.VirtualLinksTo:
40     derived_from: tosca.relationships.DependsOn
41     valid_target_types:
42     - tosca.capabilities.nfv.VirtualLinkable