[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / common / openecomp-tosca-datatype / src / main / resources / globalTypes / openecomp / 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_openecomp_1_0
16
17 metadata:
18   filename: openecomp/relationships.yml
19   version: '1.0'
20
21 imports:
22 - openecomp_index:
23     file: _index.yml
24
25 relationship_types:
26
27   org.openecomp.relationships.VolumeAttachesTo:
28     derived_from: org.openecomp.relationships.AttachesTo
29     description: This type represents an attachment relationship for associating volume
30     properties:
31       volume_id:
32         description: The ID of the volume to be attached
33         type: string
34         status: SUPPORTED
35         required: true
36       instance_uuid:
37         description: The ID of the server to which the volume attaches
38         type: string
39         status: SUPPORTED
40         required: true
41     attributes:
42       show:
43         description: Detailed information about resource
44         type: string
45         status: SUPPORTED
46
47   org.openecomp.relationships.AttachesTo:
48     derived_from: tosca.relationships.AttachesTo
49     description: This type represents an attachment relationship
50     properties:
51       location:
52         description: The relative location (e.g., path on the file system), which provides the root location to address an attached node.
53         type: string
54         status: SUPPORTED
55         required: false
56