Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changed VFC to NetworkFunctionComponent

...

The Linkable-type requirement of the CP nodes are more important for modeling than the node type itself. When a the Linkable-type requirement of a CP is not used for an internal link and exposed through a substitution mapping of a model, this CP is external.

Capabilities


NameRequiredTypeConstraintsDescription
















Requirements


NameRequiredTypeDescription
binding0..1onap.capabilities.BindableThe binding with a Network Function Component
link0..1onap.capabilities.LinkableThe link to a network. When left dangling, the CP is external.


TOSCA Definition

Code Block
linenumberstrue
node_types:
  onap.nodes.CP:
    derived_from: onaptosca.nodes.Resource
Root    
  description: a connection point
  requirements:
    - binding:
        description: binding with a VFCNetworkFunctionComponent
        capability: onap.capabilities.Bindable
        occurrences: [1, 1] # exactly one occurrence
        relationships: onap.relationships.BindsTo
    - link:
        description: link to a network.  If left dangling, it is external.
        capability: onap.capabilities.Linkable
        occurrences: [1, 1]
            # Exactly one occurrence;
            # either spend it with an internal VL (and this is how this CP becomes internal)
            # or leave it unsatisfied (and thus make the CP external)
        relationships: onap.relationships.LinksTo
            # without a relationship, a TOSCA requirement cannot have properties :(

...