PREREQUISITES:
Clone the OAM simulator from https://gerrit.o-ran-sc.org/r/admin/repos/oam.
RUN THE SIMULATOR:
a. Change directory to folder /oam/solution/dev/client-scripts-ves-v7.
Edit the "config" file and update value of properties as mentioned below.
urlVes=http://<IP address of the host>:9999/eventListener/v7/events
basicAuthVes=user:password
b. run ./_example.sh. It will generate few events each of pnf, fault, threshold and measurement domains.
c. To generate events of Heartbeat domain, edit config.yaml file and update configuration as mentioned below.
vesEndpoint:
url: http://<IP address of the host>:9999/eventListener/v7/events
username: user
password: password
d. Execute sendVesHeartbeat.py to generate heartbeat events. Example: python3 sendVesHeartbeat.py