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
 
   6 #      http://www.apache.org/licenses/LICENSE-2.0
 
   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.
 
  14 tosca_definitions_version: tosca_simple_yaml_1_1
 
  20   tosca.relationships.Root:
 
  21     description: This is the default (root) TOSCA Relationship Type definition that all other TOSCA Relationship Types derive from.
 
  24         description: A unique identifier of the realized instance of a Relationship Template that derives from any TOSCA normative type.
 
  27         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.
 
  30         description: The state of the relationship instance.
 
  35         type: tosca.interfaces.relationship.Configure
 
  36   tosca.relationships.RoutesTo:
 
  37     derived_from: tosca.relationships.ConnectsTo
 
  38     description: This type represents an intentional network routing between two Endpoints in different networks.
 
  40     - tosca.capabilities.Endpoint
 
  41   tosca.relationships.network.LinksTo:
 
  42     derived_from: tosca.relationships.DependsOn
 
  43     description: This relationship type represents an association relationship between Port and Network node types.
 
  45     - tosca.capabilities.network.Linkable
 
  46   tosca.relationships.AttachesTo:
 
  47     derived_from: tosca.relationships.Root
 
  48     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.
 
  50     - tosca.capabilities.Attachment
 
  53         description: 'The relative location (e.g., path on the file system), which
 
  54           provides the root location to address an attached node. e.g., a mount point
 
  55           / path such as ''/usr/data''. Note: The user must provide it and it cannot
 
  61         description: The logical device name which for the attached device (which is represented by the target node in the model). e.g., '/dev/hda1'.
 
  66         description: 'The logical name of the device as exposed to the instance. Note:
 
  67           A runtime property that gets set when the model gets instantiated by the
 
  70   tosca.relationships.network.BindsTo:
 
  71     derived_from: tosca.relationships.DependsOn
 
  72     description: This type represents a network association relationship between Port and Compute node types.
 
  74     - tosca.capabilities.network.Bindable
 
  75   tosca.relationships.HostedOn:
 
  76     derived_from: tosca.relationships.Root
 
  77     description: This type represents a hosting relationship between two nodes.
 
  79     - tosca.capabilities.Container
 
  80   tosca.relationships.DependsOn:
 
  81     derived_from: tosca.relationships.Root
 
  82     description: This type represents a general dependency relationship between two nodes.
 
  84     - tosca.capabilities.Node
 
  85   tosca.relationships.ConnectsTo:
 
  86     derived_from: tosca.relationships.Root
 
  87     description: This type represents a network connection relationship between two nodes.
 
  89     - tosca.capabilities.Endpoint
 
  92         type: tosca.datatypes.Credential
 
  94   org.openecomp.relationships.VolumeAttachesTo:
 
  95     derived_from: org.openecomp.relationships.AttachesTo
 
  96     description: This type represents an attachment relationship for associating volume
 
  99         description: The ID of the volume to be attached
 
 104         description: The ID of the server to which the volume attaches
 
 110         description: Detailed information about resource
 
 113   org.openecomp.relationships.AttachesTo:
 
 114     derived_from: tosca.relationships.AttachesTo
 
 115     description: This type represents an attachment relationship
 
 118         description: The relative location (e.g., path on the file system), which provides the root location to address an attached node.
 
 122   org.openecomp.relationships.ForwardsTo:
 
 123     derived_from: tosca.relationships.Root
 
 125     - org.openecomp.capabilities.Forwarder
 
 126   org.openecomp.relationships.AssignsTo:
 
 127     derived_from: tosca.relationships.Root
 
 128   org.openecomp.relationships.RoutesTo:
 
 129     derived_from: tosca.relationships.RoutesTo
 
 130     description: This type represents an intentional network routing between internal and external network
 
 131   tosca.relationships.nfv.VirtualBindsTo:
 
 132     derived_from: tosca.relationships.DependsOn
 
 134     - tosca.capabilities.nfv.VirtualBindable
 
 135   tosca.relationships.nfv.VirtualLinksTo:
 
 136     derived_from: tosca.relationships.DependsOn
 
 138     - tosca.capabilities.nfv.VirtualLinkable
 
 139   tosca.relationships.nfv.Vdu.AttachedTo:
 
 140     derived_from: tosca.relationships.DependsOn
 
 142     - tosca.capabilities.nfv.VirtualStorage