Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page demonstrates a possible implementation of the VSBC VNF using the new ONAP DM.

TODO: Huawei cSBC CSAR herevSBC CSAR (based on an intermediary version of SOL001)


The ONAP DM provides two techniques to model abstractions - through dangling requirements and abstract nodes, and this page shows how to use each of them:

...

Code Block
titlevSCB VNF Type
linenumberstrue
collapsetrue
node_types:
  vendorXXX.nodes.vnf.vSBC:
    derived_from: onap.nodes.Resource.NetworkFunction
    requirements:
      - ext_link_1:
          node_filter:
            capabilities: 
              onap.capabilities.Linkable:
                properties:
                  - protocol: {equal: Ethernet}
                  - bitrate: {greater_or_equal: 10 Kbps}    
      - ext_link_2:
          node_filter:
            capabilities: 
              onap.capabilities.Linkable:
                properties:
                  - protocol: {equal: Ethernet}
                  - bitrate: {greater_or_equal: 10 Kbps}    
      - hru.host:
          node_filter:
            capabilities: 
              onap.capabilities.Compute:
                properties:
                  - num_cpus: {greater_or_equal: 2}
                  - mem_size: {greater_or_equal: 1GB}
                  - local_storage_size: {greater_or_equal: 16GB}
      - hru.storage_attachment_1:
          node_filter:
            capabilities: 
              onap.capabilities.StorageAttachment:
                properties:
                  - storage_size: {greater_or_equal: 100GB}
      - ccu.host:
          node_filter:
            capabilities: 
              onap.capabilities.Compute:
                properties:
                  - num_cpus: {greater_or_equal: 2}
                  - mem_size: {greater_or_equal: 1GB}
                  - local_storage_size: {greater_or_equal: 16GB}
      - vpu.host:
          node_filter:
            capabilities: 
              onap.capabilities.Compute:
                properties:
                  - num_cpus: {greater_or_equal: 2}
                  - mem_size: {greater_or_equal: 1GB}
                  - local_storage_size: {greater_or_equal: 16GB}
      - vpu.storage_attachment_1:
          node_filter:
            capabilities: 
              onap.capabilities.StorageAttachment:
                properties:
                  - storage_size: {greater_or_equal: 100GB}


Model

...

Using Abstract Nodes

Functionally, this model is very similar to the previous solution, with few differences:

...