config.sh revision 12defda1
1ODL_USER="admin"
2ODL_PASSWD="admin"
3ODL_IP="127.0.0.1"
4ODL_PORT="8181"
5
6# path to vpp executable
7VPP_LITE_BIN=/vpp/build-root/install-vpp_lite_debug-native/vpp/bin/vpp
8
9# read user config file if exists
10if [ -f "${HOME}/.onerc" ] ; then
11  source "${HOME}/.onerc"
12fi
13
14if [ ! -f "${VPP_LITE_BIN}" ] ; then
15  echo "Error: VPP binary not found. You can set VPP_LITE_BIN in config.sh"
16  echo "Current value:"
17  echo "VPP_LITE_BIN=${VPP_LITE_BIN}"
18  exit 1
19fi
20