aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh')
-rwxr-xr-xvnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/vnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh b/vnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh
new file mode 100755
index 00000000..46b9fb04
--- /dev/null
+++ b/vnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh
@@ -0,0 +1,13 @@
+#!/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)
+
+#Usage
+#./afx_ves_reporter <DCAE FQDN>|<IP address> <port> <credential file> <debug level>
+# OR
+#./afx_ves_reporter <DCAE FQDN>|<IP address> <port> <credential file> <debug level> <DCAE FQDN2>|<IP address2> <port2> <credential file2>
+
+./afx_ves_reporter $DCAE_COLLECTOR_IP $DCAE_COLLECTOR_PORT ./vescred 0 0