Versions Compared

Key

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

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.

1.1.1.1.1     Keynames

The Relationship Type is a TOSCA Entity and has the common keynames listed in section Error! Reference source not found. TOSCA Entity Schema.

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[]

...

Table of Contents

1.1.1.1.

...

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> ]

 

...

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

...