aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh
diff options
context:
space:
mode:
authorPrakashH <pbhandar@techmahindra.com>2019-01-30 13:21:45 +0000
committerPrakashH <pbhandar@techmahindra.com>2019-01-30 13:21:45 +0000
commit3937a2e6a422f5cc6bb012e6c119f61dff76341f (patch)
treeaf21d7294ce6d3c1d8770e4bf762c215a2e20345 /vnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh
parente03be3845828032fd363b3d9b9ef83424b3428b9 (diff)
VES5.4.1 EVEL Library enhancements
Readme file update and AFXagent addition Issue-ID: CERT-17 Change-Id: I77b956a8e16af844c4ae681c7305fad39dbf22f5 Signed-off-by: PrakashH <pbhandar@techmahindra.com>
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