46b9fb041b2db8a7923e06b8c7d5823f96889885
[demo.git] / vnfs / VES5.0 / evel / evel-library / code / VESreporting_vAFX / go-client.sh
1 #!/bin/bash
2 export LD_LIBRARY_PATH="/opt/VES/libs/x86_64/"
3 DCAE_COLLECTOR_IP=$(cat /opt/config/dcae_collector_ip.txt)
4 DCAE_COLLECTOR_PORT=$(cat /opt/config/dcae_collector_port.txt)
5 DCAE_COLLECTOR_IP2=$(cat /opt/config/dcae_collector_ip2.txt)
6 DCAE_COLLECTOR_PORT2=$(cat /opt/config/dcae_collector_port2.txt)
7
8 #Usage
9 #./afx_ves_reporter <DCAE FQDN>|<IP address> <port> <credential file> <debug level>
10 # OR
11 #./afx_ves_reporter <DCAE FQDN>|<IP address> <port> <credential file> <debug level> <DCAE FQDN2>|<IP address2> <port2> <credential file2>
12
13 ./afx_ves_reporter $DCAE_COLLECTOR_IP $DCAE_COLLECTOR_PORT ./vescred 0 0