aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VESreporting_vLB5.0/go-client_2_collector.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/VESreporting_vLB5.0/go-client_2_collector.sh')
-rwxr-xr-xvnfs/VESreporting_vLB5.0/go-client_2_collector.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/vnfs/VESreporting_vLB5.0/go-client_2_collector.sh b/vnfs/VESreporting_vLB5.0/go-client_2_collector.sh
new file mode 100755
index 00000000..3fe872ea
--- /dev/null
+++ b/vnfs/VESreporting_vLB5.0/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