summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_clibrary/VESreporting_vFW/go-client_2_collector.sh
diff options
context:
space:
mode:
Diffstat (limited to 'veslibrary/ves_clibrary/VESreporting_vFW/go-client_2_collector.sh')
-rwxr-xr-xveslibrary/ves_clibrary/VESreporting_vFW/go-client_2_collector.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/veslibrary/ves_clibrary/VESreporting_vFW/go-client_2_collector.sh b/veslibrary/ves_clibrary/VESreporting_vFW/go-client_2_collector.sh
new file mode 100755
index 0000000..3fe872e
--- /dev/null
+++ b/veslibrary/ves_clibrary/VESreporting_vFW/go-client_2_collector.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH="/opt/VES/libs/x86_64/"
+DCAE_COLLECTOR_IP=$(cat /opt/config/dcae_collector_ip.txt)
+DCAE_COLLECTOR_PORT=$(cat /opt/config/dcae_collector_port.txt)
+DCAE_COLLECTOR_IP2=$(cat /opt/config/dcae_collector_ip2.txt)
+DCAE_COLLECTOR_PORT2=$(cat /opt/config/dcae_collector_port2.txt)
+./vpp_measurement_reporter $DCAE_COLLECTOR_IP $DCAE_COLLECTOR_PORT $DCAE_COLLECTOR_IP2 $DCAE_COLLECTOR_PORT2 eth1