Monolith
A monolithic VDU/VNFC res.
It is a VDU, because it requires one virtualization container.
It is also a VNFC, because it was onboarded all at once.
It is a simple resource, since it brings all necessary artifacts and does not have a detailed topology.
Monolith Resource Type Definition
node_types:
com.vendorXXX.MyTinyMonolith:
derived_from: onap.nodes.Resource
artifacts:
- software_image: abcd.iso
requirements:
- cp_1:
node_filter:
capabilities:
- onap.capabilities.Linkable
properties:
protocols: [IPv4, TCP]
roles:[peer]
bitrate:
- greater_or_equal: 1000
- cp_2:
node_filter:
capabilities:
- onap.capabilities.Linkable
properties:
protocols: [IPv6, UDP]
roles:[peer]
bitrate:
- greater_or_equal: 1000
- host:
node_filter:
capabilities:
- onap.capabilities.Compute
properties:
num_cpus:
- greater_or_equal: 2
A topology composed of such monoliths:
Topology composed of monoliths
node_templates:
component_1:
type: com.vendorXXX.MyTinyMonolith
requirements:
- cp_1:
node: internal_vl
capability: link
- cp_2:
# to be exposed
component_2:
type: com.vendorXXX.MyTinyMonolith
requirements:
- cp_1:
node: internal_vl
capability: link
- cp_2:
# to be exposed
internal_vl:
type: onap.nodes.VL
capabilities:
link:
substitution_mappings:
type: com.vendorYYY.MyVNF
requirements:
mgmt_link: [component_1, cp_2]
data_link: [component_2, cp_2]
host_1: [component_1, host]
host_2: [component_2, host]
The interface type of the above topology:
Topology Interface Type
node_types:
com.vendorYYY.MyVNF:
derived_from: onap.resource.Resource
requirements:
- mgmt_link: # copied from [component_1, cp_2]
- data_link: # copied from [component_2, cp_2]
- host_1: # copied from [component_1, host]
- host_2: # copied from [component_1, host]