...
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.jsonCode Block language bashjs title onfig.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
StoppingĀ PNF registration events simulation
- fill value for sourceName key - use correlationId value used during service instantiation in prerequisite no. 3
- fill pnfOamIpv4Address, pnfOamIpv6Address with some value