aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VES5.0/evel/evel-library/code/VESreporting_vAFX/go-client.sh
blob: 46b9fb041b2db8a7923e06b8c7d5823f96889885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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