You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


NFV Approach:

  1. A capability type for Infrastructure requirements (nfv.capabilities.Compute)
  2. A node type (nfv.nodes.Compute) with a capability of the nfv.Capabilities.Compute type
  3. 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

  1. A capability type for infrastructure requirements (onap.capabilities.Compute)
  2. 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                                        
                            
     







  • No labels