Versions Compared

Key

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

...

Code Block
titlePNF
linenumberstrue
collapsetrue
  VendorABC.capabilities.CanHostVendorABCRouter:
    derived_from: tosca.capabilities.nfv.PurposeBuiltHostingPlatform
    valid_source_types: [VendorABC.nodes.MyPhysicalRouter]
    
  VendorABC.nodes.MyPhysicalRouter:   # similar to BaseStation
    derived_from:  tosca.nodes.nfv.NF
    properties:
      # omitted for brevity
    capabilities: 
      forwarding:  # similar to over the air RF service
        type: onap.capabilities.PacketForwarding
    requirements:
    - host: AssociatedHardware
         
  # This IS the physical aspect of the device, my NF can't work without this      
  AssociatedHardware:   # similar to the airscale box the base station runs on
    derived_from: tosca.nodes.Root
    properties:
      geographic_location_id:
        type: string
    capabilities:
      moveable:
        type: tosca.capabilities.nfv.PhysicallyMoveable
      host:
        type: tosca.capabilities.ExecutionEnvironmentAspects
      specificHardware:
        type: VendorABC.capabilities.CanHostVendorABCRouter
        properties:
          serial_number: someValue

...