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 | An optional list of property definitions for the Relationship Type. |
attributes | no | list of | An optional list of attribute definitions for the Relationship Type. |
interfaces | no | list of | 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:
derived_from: <parent_relationship_type_name> version: <version_number> metadata: description: <relationship_description> properties: attributes: interfaces: valid_target_types: [ <capability_type_names> ] |
1.1.1.1.3 org.openecomp. relationships.AssignsTo
Relationship of this type, when assigned to
- VLAN Network Receptor on Customer Orderable Service, represent readiness of VLAN Network Receptor to provide internal network routing information (like route target, network id and other routing information) to the node with requirement of this capability.
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
- VRFEntry on Customer Orderable Service, represent readiness of VLAN Network Receptor to provide internal network routing information (like route target, network id and other routing information) to the node with requirement of this capability.
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 |