Merge "Add a help script for attaching running vpp with gdb"
authorFlorin Coras <florin.coras@gmail.com>
Mon, 10 Oct 2016 10:54:29 +0000 (10:54 +0000)
committerGerrit Code Review <gerrit@fd.io>
Mon, 10 Oct 2016 10:54:29 +0000 (10:54 +0000)
1  2 
tests/data_plane/vpp_lite_topo/config.sh

@@@ -4,7 -4,8 +4,8 @@@ ODL_IP="127.0.0.1
  ODL_PORT="8181"
  
  # path to vpp executable
- VPP_LITE_BIN=/vpp/build-root/install-vpp_lite_debug-native/vpp/bin/vpp
+ VPP_LITE_DIR=/vpp/build-root/install-vpp_lite_debug-native/vpp/bin
+ VPP_LITE_BIN=${VPP_LITE_DIR}/vpp
  VPP_API_TEST=/vpp/build-root/install-vpp_lite_debug-native/vpp-api-test/bin/vpp_api_test
  
  # read user config file if exists
@@@ -138,10 -139,3 +139,10 @@@ function assert_rc_o
      exit $test_result
    fi
  }
 +
 +function start_map_resolver
 +{
 +  echo "starting dummy map resolver on interface $1"
 +  python scripts/dummy_mr.py "$1" 4342 &
 +  mr_id=$!
 +}