summaryrefslogtreecommitdiffstats
path: root/vnfs/VESreporting_vLB5.0/go-client_2_collector.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-01-28 20:59:35 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-28 20:59:35 +0000
commit7115cfddb7ecec3cd56b548b4365fdea1783b2d7 (patch)
treedd355670ab823386ccd3e165ba19b0325eb50b00 /vnfs/VESreporting_vLB5.0/go-client_2_collector.sh
parent1b97e2665be03fc518eb11de0863c42b2280149e (diff)
parentaf7aa682517d3ccaace9a089194e6a4333f4cdaa (diff)
Merge "VES EVEL Library VES 5.4.1 enhancements"
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