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
relationships: onap.relationships.BindsTo
- link:
description: link to a network
capability: onap.capabilities.LinkableLinkable
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)
occurrences: [1, 1]
relationships: onap.relationships.LinksTorelationships: onap.relationships.LinksTo
# without a relationship, a TOSCA requirement cannot have properties :(
attributes:
address:
type: onap.datatypes.AddressData
description: the address received after assignment
onap.nodes.VL:
derived_from: onap.nodes.Resource
description: a virtual link
capabilities:
link:
type: onap.capabilities.Linkable
occurrences: [0, UNBOUNDED]
# can interconnect an unlimited occurrences: [0, UNBOUNDED]number of CPs
|