Versions Compared

Key

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

...

  • PNF registration events configuration

    In order to configure events that will be send to OANP user need to configure config.json file.
    Path to the file ~/sim/config/config.json

    Code Block
    languagejs
    titleonfig.json
    {
      "simulatorParams": {
        "vesServerUrl": "http://<VES-HOST>:<VES-PORT>/eventListener/v7",
        "testDuration": "10",
        "messageInterval": "1"
      },
      "messageParams": {
        "pnf_serialNumber": "6061ZW3",
        "pnf_vendorName": "Nokia",
        "pnf_oamV4IpAddress": "val3",
        "pnf_oamV6IpAddress": "val4",
        "pnf_unitFamily": "BBU",
        "pnf_modelNumber": "val6",
        "pnf_softwareVersion": "val7",
        "pnf_unitType": "val8",
        "eventName": "pnfRegistration_Nokia_5gDu",
        "nfNamingCode": "gNB",
        "nfcNamingCode": "oam",
        "sourceName": "NOK6061ZW3",
        "sourceId": "val13",
        "reportingEntityName": "NOK6061ZW3"
      }
    }
    

    User need to fill:

    • vesServerUrl

      • <VES-HOST>

        -

        IP

        of

        any

        Kubernetes

        host

      • <VES-PORT>

        -

        port

        under

        which

        VES

        service

        is

        visible

        outside

        Kuberentes

        cluster

    • messageInterval - interval with which messages are send to ONAP

    • testDuration - amount of registration requests

    • sourceName - use correlationId value used during service instantiation

    • pnfOamIpv4Address - put there some IPv4 address

    • pnfOamIpv6Address - put there some IPv6 address

  • Starting  PNF registration events simulation

    In order to send messages from simulator to VES collector run command  ~/sim/simulator.sh run-simulator
  • Stopping  PNF registration events simulation

...

  • In order to send messages from simulator to VES collector run command  ~/sim/simulator.sh stop-simulator