Versions Compared

Key

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

...

Code Block
titleonap.nodes.resource.NetworkFunction
linenumberstrue
collapsetrue
   onap.nodes.Resource.NetworkFunction:
    description: |
      a base of the ONAP hierarchy of network functions
      If you have a requirement for a factory, you're allotted
      If you have a requirement for a PNFdevice, you're physical 
      If you have neither, you're virtual.
      Expect to see network functions be group members for naming and homing.
    derived_from: onap.nodes.Resource
    properties:
      nf_classification:
        description: |
          data governed value used by operations to filter network functions
        type: onap.datatypes.NetworkFunctionClassification
        required: true
    capabilities:
      # Expect to define these in the derived node_type, with mappings to appropriate the NetworkFunctionComponent CP
      # This exposes external CPs of the NF.
    requirements:
      # Expect to define these in the derived node_type, with mappings to appropriate inner nodes



Examples

Code Block
linenumberstrue
collapsetrue
node_types:
  onap.nodes.functions.AbstractFirewall:
  derived_from: onap.nodes.Function
  properties:
    nf_classification:
      constraints:
        - equal: {nf_function: "Firewall"}
  requirements:
    - unprotected:
        capability: onap.capabilities.Linkable
    - protected:
        capability: onap.capabilities.Linkable
      
  vendorXXX.nodes.VerySpecialFirewall:
    derived_from: onap.nodes.functions.AbstractFirewall
    requirements:
      - management:
          capability: onap.capabilities.Linkable  






Examples

Code Block
linenumberstrue
collapsetrue
node_types:
  onap.nodes.functions.AbstractFirewall:
  derived_from: onap.nodes.Function
  properties:
    function:
      type: string
      constraints:
        - equal: "firewall"
  requirements:
    - unprotected:
        capability: onap.capabilities.Linkable
    - protected:
        capability: onap.capabilities.Linkable
      
  vendorXXX.nodes.VerySpecialFirewall:
    derived_from: onap.nodes.functions.AbstractFirewall
    requirements:
      - management:
          capability: onap.capabilities.Linkable  

...