From c5121c5bc5c544eb7be9432913f9099574270cbe Mon Sep 17 00:00:00 2001 From: RehanRaza Date: Thu, 4 Apr 2019 12:42:15 +0000 Subject: Fix VES event fields * timeZoneOffset uses default system timezone * sourceName and reportingEntityName use the nodename of pnf-sim instance Change-Id: Idf7f0b8d4a02cb533e81bdf69d5034cd842c3fb8 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza --- test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh') diff --git a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh index 4c5d9f062..6ba707973 100755 --- a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh +++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh @@ -74,6 +74,8 @@ function compose(){ export PORTFTPS=$8 export IPFTPS=$9 export IPSFTP=${10} + LOCALTIME=$(ls -l /etc/localtime) + export TIMEZONE=${LOCALTIME//*zoneinfo\/} #will insert $I to distinguish containers, networks properly #docker compose cannot substitute these, as they are keys, not values. -- cgit 1.2.3-korg