Fix for vppctl to suppress "load_one_plugin:63: Loaded plugin:" msgs
Change-Id: I06fcb024036b48a6401d2865a2181b122cb32108
Signed-off-by: Ed Warnicke <eaw@cisco.com>
diff --git a/vpp-api-test/scripts/vppctl b/vpp-api-test/scripts/vppctl
index f4062b6..c348fff 100755
--- a/vpp-api-test/scripts/vppctl
+++ b/vpp-api-test/scripts/vppctl
@@ -16,14 +16,14 @@
done
if [ "x${CMD_ARGS}" != "x" ]; then
- echo exec ${CMD_ARGS} | vpp_api_test $PREFIX_ARGS | sed 's/vat# //g'
+ echo exec ${CMD_ARGS} | vpp_api_test $PREFIX_ARGS 2> >(grep -v "^load_one_plugin:")| sed 's/vat# //g'
else
echo -n "vpp# "
while read CMD; do
if [ "x$CMD" == "xexit" ]; then
exit
elif [ "x$CMD" != "x" ]; then
- echo exec $CMD | vpp_api_test $PREFIX_ARGS| sed 's/vat# //g'
+ echo exec $CMD | vpp_api_test $PREFIX_ARGS 2> >(grep -v "^load_one_plugin:")| sed 's/vat# //g'
fi
echo -n "vpp# "
done