NFV Approach:
- A capability type for Infrastructure requirements (nfv.capabilities.Compute)
- A node type (nfv.nodes.Compute) with a capability of the nfv.Capabilities.Compute type
- A VDU node "connects" to a Compute node using this Compute requirement.
node_templates: my_vnf: requirements: - host: node: my_compute capability: host my_compute: type: onap.nodes.Compute capabilities: host: properties: num_cpus: 4 memory_size: 100 MB
ONAP Approach
- A capability type for infrastructure requirements (onap.capabilities.Compute)
A VDU node expresses its infra requirements as a TOSCA requirements with the node_filter construct
node_templates: my_vdu: requirements: - host: node_filter: capabilities: onap.capabilities.Compute properties: num_cpus: - equal: 4 memory_size: - greater_or_equal: 100 MB
The approach can be extended into the "decomposed VDU variant":node_templates: my_vnf: requirements: - host: node: my_compute capabilities: host my_compute: type: onap.nodes.Container capabilities: host: #... requirements: - host: node_filter: capabilities: onap.capabilities.Compute properties: num_cpus: - equal: 4 memory_size: - greater_or_equal: 100 MB