aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml
blob: 6f7676583c5e28fcf47be09b75199153ce1dcef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
tosca.relationships.Root:
  description: This is the default (root) TOSCA Relationship Type definition that all other TOSCA Relationship Types derive from.
  attributes:
    tosca_id:
      description: A unique identifier of the realized instance of a Relationship Template that derives from any TOSCA normative type.
      type: string
    tosca_name:
      description: This attribute reflects the name of the Relationship Template as defined in the TOSCA service template. This name is not unique to the realized instance model of corresponding deployed application as each template in the model can result in one or more instances (e.g., scaled) when orchestrated to a provider environment.
      type: string
    state:
      description: The state of the relationship instance.
      type: string
      default: initial
  interfaces:
    Configure:
      type: tosca.interfaces.relationship.Configure

tosca.relationships.ConnectsTo:
  derived_from: tosca.relationships.Root
  description: This type represents a network connection relationship between two nodes.
  valid_target_types:
  - tosca.capabilities.Endpoint
  properties:
    credential:
      type: tosca.datatypes.Credential
      required: false

tosca.relationships.RoutesTo:
  derived_from: tosca.relationships.ConnectsTo
  description: This type represents an intentional network routing between two Endpoints in different networks.
  valid_target_types:
  - tosca.capabilities.Endpoint

tosca.relationships.AttachesTo:
  derived_from: tosca.relationships.Root
  description: This type represents an attachment relationship between two nodes. For example, an AttachesTo relationship type would be used for attaching a storage node to a Compute node.
  valid_target_types:
  - tosca.capabilities.Attachment
  properties:
    location:
      description: 'The relative location (e.g., path on the file system), which
        provides the root location to address an attached node. e.g., a mount point
        / path such as ''/usr/data''. Note: The user must provide it and it cannot
        be "root".'
      type: string
      constraints:
      - min_length: 1
    device:
      description: The logical device name which for the attached device (which is represented by the target node in the model). e.g., '/dev/hda1'.
      type: string
      required: false
  attributes:
    device:
      description: 'The logical name of the device as exposed to the instance. Note:
        A runtime property that gets set when the model gets instantiated by the
        orchestrator.'
      type: string

tosca.relationships.HostedOn:
  derived_from: tosca.relationships.Root
  description: This type represents a hosting relationship between two nodes.
  valid_target_types:
  - tosca.capabilities.Container

tosca.relationships.DependsOn:
  derived_from: tosca.relationships.Root
  description: This type represents a general dependency relationship between two nodes.
  valid_target_types:
  - tosca.capabilities.Node

tosca.relationships.network.LinksTo:
  derived_from: tosca.relationships.DependsOn
  description: This relationship type represents an association relationship between Port and Network node types.
  valid_target_types:
  - tosca.capabilities.network.Linkable

tosca.relationships.network.BindsTo:
  derived_from: tosca.relationships.DependsOn
  description: This type represents a network association relationship between Port and Compute node types.
  valid_target_types:
  - tosca.capabilities.network.Bindable

org.openecomp.relationships.AttachesTo:
    derived_from: tosca.relationships.AttachesTo
    description: This type represents an attachment relationship
    properties:
      location:
        description: The relative location (e.g., path on the file system), which provides the root location to address an attached node.
        type: string
        status: supported
        required: false

org.openecomp.relationships.VolumeAttachesTo:
  derived_from: org.openecomp.relationships.AttachesTo
  description: This type represents an attachment relationship for associating volume
  properties:
    volume_id:
      description: The ID of the volume to be attached
      type: string
      status: supported
      required: true
    instance_uuid:
      description: The ID of the server to which the volume attaches
      type: string
      status: supported
      required: true
  attributes:
    show:
      description: Detailed information about resource
      type: string
      status: supported

org.openecomp.relationships.ForwardsTo:
  derived_from: tosca.relationships.Root
  valid_target_types: [org.openecomp.capabilities.Forwarder]
org.openecomp.relationships.AssignsTo:
    derived_from: tosca.relationships.Root
org.openecomp.relationships.RoutesTo:
    derived_from: tosca.relationships.RoutesTo
    description: This type represents an intentional network routing between internal and external network

tosca.relationships.nfv.VirtualBindsTo:
  derived_from: tosca.relationships.DependsOn
  description: Represents an association relationship between Vdu.Compute and VduCp node types
  valid_target_types: [ tosca.capabilities.nfv.VirtualBindable ]

tosca.relationships.nfv.VirtualLinksTo:
  derived_from: tosca.relationships.DependsOn
  description: Represents an association relationship between the VduCp and VnfVirtualLink node types
  valid_target_types: [ tosca.capabilities.nfv.VirtualLinkable ]

tosca.relationships.nfv.AttachesTo:
  derived_from: tosca.relationships.Root
  description: Represents an association relationship between the Vdu.Compute and one of the node types, Vdu.VirtualBlockStorage, Vdu.VirtualObjectStorage or Vdu.VirtualFileStorage
  valid_target_types: [ tosca.capabilities.nfv.VirtualStorage ]

tosca.relationships.nfv.Vdu.AttachedTo:
  derived_from: tosca.relationships.DependsOn
  valid_target_types: [ tosca.capabilities.nfv.VirtualStorage ]

tosca.relationships.nfv.ForwardTo:
  derived_from: tosca.relationships.Root
  valid_target_types: [ tosca.capabilities.nfv.Forwarding ]