Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

1.1.1.1       Tosca Group Type Definitions

...


A Relationship Type is a reusable entity that defines the type of one or more relationships between Node Types or Node Templates.

...

In addition, the Relationship Type has the following recognized keynames:

Keyname

Required

Definition/Type

Description

properties

no

list of

property definitions

An optional list of property definitions for the Relationship Type.

attributes

no

list of

attribute definitions

An optional list of attribute definitions for the Relationship Type.

interfaces

no

list of

interface definitions

An optional list of interface definitions interfaces supported by the Relationship Type.

valid_target_types

no

string[]

An optional list of one or more names of Capability Types that are valid targets for this relationship.

1.1.1.1.2     Grammar

Relationship Types have following grammar:

<relationship_type_name>:

  derived_from: <parent_relationship_type_name>

  version: <version_number>

  metadata:

    <map of string>

  description: <relationship_description>

  properties:

    <property_definitions>

  attributes:

    <attribute_definitions>

  interfaces:

    <interface_definitions>

  valid_target_types: [ <capability_type_names> ]

 

1.1.1.1.3     org.openecomp. relationships.AssignsTo

...


Relationship of this type, when assigned to

...

Here is the TOSCA definition of this relationship type:

relationship_types:

    org.openecomp.relationships.AssignsTo:

    derived_from: tosca. relationships.Root

...


1.1.1.1.4     org.openecomp.relationships.RoutesTo

...


Relationship of this type, when assigned to

...

Here is the TOSCA definition of this relationship type:

relationship_types:

    org.openecomp.relationships.RoutesTo:

    derived_from: tosca. relationships.RoutesTo

       description: This type represents an intentional network routing between internal and external network

...