VPP_LITE_DIR=/vpp/build-root/install-vpp_debug-native/vpp/bin
VPP_LITE_BIN=${VPP_LITE_DIR}/vpp
VPP_API_TEST=/vpp/build-root/install-vpp_debug-native/vpp-api-test/bin/vpp_api_test
+VPP_PLUGIN_DIR=${VPP_LITE_DIR}/../lib64/vpp_plugins
+ONE_ROOT=/vpp/one
# read user config file if exists
if [ -f "${HOME}/.onerc" ] ; then
unix { log /tmp/$2.log \
full-coredump \
cli-listen localhost:$1 } \
- api-trace { on } api-segment { prefix "$2" }
- plugins { plugin dpdk_plugin.so { disable } }
+ api-trace { on } api-segment { prefix "$2" } \
+ plugins { plugin dpdk_plugin.so { disable } } \
+ plugin_path ${VPP_PLUGIN_DIR} 2> /dev/null
}
function print_status
mr_id=$!
}
+function start_map_server
+{
+ echo "starting dummy map server on interface $1"
+ python scripts/dummy_map_server.py "$1" 4342 &
+ ms_id=$!
+}
+
function check_counters
{
python scripts/vat/check_counters.py ${VPP_API_TEST} ${VAT_TEMPLATES} "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8"