diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-07-06 13:38:18 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-07-06 14:07:54 +0200 |
commit | 12defda1182a88e98a20d63c32fe897359663ad7 (patch) | |
tree | f7e45f0da7617cd57b8aca5c3fca5a2021d69e07 /tests/data_plane/vpp_lite_topo/config.sh | |
parent | 572c17d6b9db44b8e0fb70222a13272fe41a4a7e (diff) |
Refactor basic LISP tests
Change-Id: Ibc11d4d82006ea11580d3b3e269f81709eedb53a
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/config.sh')
-rw-r--r-- | tests/data_plane/vpp_lite_topo/config.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/config.sh b/tests/data_plane/vpp_lite_topo/config.sh index 351df29..f7afa3c 100644 --- a/tests/data_plane/vpp_lite_topo/config.sh +++ b/tests/data_plane/vpp_lite_topo/config.sh @@ -6,6 +6,11 @@ ODL_PORT="8181" # path to vpp executable VPP_LITE_BIN=/vpp/build-root/install-vpp_lite_debug-native/vpp/bin/vpp +# read user config file if exists +if [ -f "${HOME}/.onerc" ] ; then + source "${HOME}/.onerc" +fi + if [ ! -f "${VPP_LITE_BIN}" ] ; then echo "Error: VPP binary not found. You can set VPP_LITE_BIN in config.sh" echo "Current value:" |