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 /root/integration/test/mocks/pnfsimulator/config/config.json

    Code Block
    languagejs
    titleconfig.json
    {
      "simulatorParams": {
        "vesServerUrl": "http://VES-HOST:VES-PORT/eventListener/v7",
        "testDuration": "10",
        "messageInterval": "1"
      },
      "commonEventHeaderParams": {
        "eventName": "pnfRegistration_Nokia_5gDu",
        "nfNamingCode": "gNB",
        "nfcNamingCode": "oam",
        "sourceName": "NOK6061ZW3",
        "sourceId": "val13",
        "reportingEntityName": "NOK6061ZW3"
      },
      "pnfRegistrationParams": {
        "serialNumber": "6061ZW3",
        "vendorName": "Nokia",
        "oamV4IpAddress": "val3",
        "oamV6IpAddress": "val4",
        "unitFamily": "BBU",
        "modelNumber": "val6",
        "softwareVersion": "val7",
        "unitType": "val8"
      },
      "notificationParams": {
        "changeIdentifier": "PM_MEAS_FILES",
        "changeType": "FileReady",
        "arrayOfNamedHashMap": [
          {"name": "A20161221.1031-1041.bin.gz", "hashMap": {
            "location": "ftpes://192.169.0.1:22/ftp/rop/A20161224.1030-1045.bin.gz",
            "compression": "gzip",
            "fileformatType": "org.3GPP.32.435#measCollec",
            "fileFormatVersion": "V10"
          }
          },
          {"name": "A20161222.1042-1102.bin.gz", "hashMap": {
            "location": "ftpes://192.168.0.102:22/ftp/rop/A20161224.1045-1100.bin.gz",
            "compression": "gzip",
            "fileFormatType": "org.3GPP.32.435#measCollec",
            "fileFormatVersion": "V10"
          }
          }
        ]
      }
    }
    
    

    In order to use simulator as in Registration Request mode user need to:

    • remove whole notification prams "notificationParams" section:

      Code Block
      languagejs
      titleconfig.json
      , 
        "notificationParams": { 
          "changeIdentifier": "PM_MEAS_FILES", 
          "changeType": "FileReady", 
          "arrayOfNamedHashMap": [ 
            {"name": "A20161221.1031-1041.bin.gz", "hashMap": { 
              "location": "ftpes://192.169.0.1:22/ftp/rop/A20161224.1030-1045.bin.gz", 
              "compression": "gzip", 
              "fileformatType": "org.3GPP.32.435#measCollec", 
              "fileFormatVersion": "V10" 
            } 
            }, 
            {"name": "A20161222.1042-1102.bin.gz", "hashMap": { 
              "location": "ftpes://192.168.0.102:22/ftp/rop/A20161224.1045-1100.bin.gz", 
              "compression": "gzip", 
              "fileFormatType": "org.3GPP.32.435#measCollec", 
              "fileFormatVersion": "V10" 
            } 
            } 
          ] 
        }


    • fill these parameters:

      • vesServerUrl

        • <VES-HOST> - IP of any Kubernetes host where ONAP is deployed

        • <VES-PORT> - port under which VES service is visible accessible outside of 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

...