Description
A templates of this type are atoms of application logic, and they must be hosted.
...
Nodes of this type are normally concrete, implemented using deployment artifacts.
Properties
Name | Required | Type | Constraints | Description |
---|
nfc_classification | yes | onap.datatypes. |
NetworkFunctionComponentClassificationClassification |
| Structured description of this component |
Attributes
Nothing special
Capabilities
Types derived from onap.nodes.NetworkFunctionComponent normally extend it by at least one capability of type onap.capabilities.Bindable.
Requirements
Name | Required | Type | Description |
---|
host | yes | tosca.capabilities.Container | A Network Function Component must be hosted. This requirement is normally paired with the host capability of a Compute-typed node. It can also be paired with the host capability of a Container-typed node. |
TOSCA Definition
Code Block |
---|
title | onap.nodes.NetworkFunctionComponent |
---|
linenumbers | true |
---|
collapse | true |
---|
|
onap.nodes.NetworkFunctionComponent:
description: |
Software component within a larger software package that makes up a virtual network function
derived_from: onaptosca.nodes.ResourceRoot
properties:
nfc_classification:
description: |
data governed value used by operations to filter network function components
type: onap.datatypes.NetworkFunctionComponentClassificationClassification
required: true
catalog_info:
type: onap.datatypes.CatalogInfo
description:
required: true
# generated by Design Time Catalog once, then never changed
attributes:
instance_name:
type: string
description: the name of the run-time instance of in the deployment
capabilities:
# Expect to specify connection point bindings within the derived type
requirements:
- host:
capability: tosca.capabilities.Container
relationship: onap.relationships.HostedOn |
Examples
Extending the basic NetworkFunctionComponent with 2 port bindings and 1 storage attachment. Each of its extra Bindable-typed capabilities has its own descriptive name and sub-type.
Code Block |
---|
title | Example of a customized type |
---|
linenumbers | true |
---|
collapse | true |
---|
|
node_types:
PartOfMyFirewall:
derived_from: onap.nodes.NetworkFunctionResourceNetworkFunctionComponent
capabilities:
bind_1:
capability: onap.capabilities.Bindable123
bind_2:
capability: onap.capabilities.Bindable456
requirements:
- storage_attachment:
capability: onap.capabilities.AttachedStorage
|