...
Code Block | ||
---|---|---|
| ||
node_types:
onap.nodes.CP:
derived_from: tosca.nodes.Root
description: a connection point
requirements:
- binding:
description: binding with a NetworkFunctionComponent
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 :(
|
...