#!/bin/bash

for i in {1..100}
do
	curl -i -H "Content-type: application/json" -X POST -d '{"event": {"commonEventHeader":{"startEpochMicrosec":1538407540940,"sourceId":"val13","eventId":"registration_38407540","nfcNamingCode":"oam","internalHeaderFields":{},"eventType":"pnfRegistration","priority":"Normal","version":"4.0.1","reportingEntityName":"NOK6061ZW3","sequence":0,"domain":"pnfRegistration","lastEpochMicrosec":1538407540940,"eventName":"pnfRegistration_Nokia_5gDu","vesEventListenerVersion":"7.0.1","sourceName":"testtesttest","nfNamingCode":"gNB"},"pnfRegistrationFields":{"unitType":"val8","serialNumber":"6061ZW3","pnfRegistrationFieldsVersion":"2.0","manufactureDate":"1538407540942","modelNumber":"val6","lastServiceDate":"1538407540942","unitFamily":"BBU","vendorName":"Nokia","oamV4IpAddress":"13.13.13.13","oamV6IpAddress":"2001:0db8:0:0:0:0:1428:57ab","softwareVersion":"val7"}}}' http://192.168.31.45:30235/eventListener/v7
sleep 1
done
