Versions Compared

Key

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

...

Code Block
linenumberstrue
node_types:
  onap.nodes.CP:
    derived_from: onap.nodes.Resource
    description: a connection point
  requirements:
    - binding:
        description: binding with a VFC
        capability: onap.capabilities.Bindable
        occurrences: [1, 1] # exactly one occurrence
        relationship: onap.relationships.BindsTo
    - link:
        description: link to a network
        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)
        relationship: onap.relationships.LinksTo
            # without a relationship, a TOSCA requirement cannot have properties :(
  attributes:
    address_data:
      type: onap.datatypes.AddressData
      description: the address received after assignment

...