aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-08-30 18:09:24 -0700
committerEd Warnicke <hagbard@gmail.com>2016-09-01 18:35:51 +0000
commit6214326f41a3c1c4d10c319d5f5fb284fb619ab4 (patch)
treef3032a54df1b622aa3b79faf0134a663802c47e3
parent08377f8ff7e27f6986e3e7e6b398f87b3c861897 (diff)
VPP-371: Fix for vppctl to suppress "load_one_plugin:63: Loaded plugin:" msgs
Change-Id: I06fcb024036b48a6401d2865a2181b122cb32108 Signed-off-by: Ed Warnicke <eaw@cisco.com> (cherry picked from commit f53db2a6c2a7e511716018aa37bc8ae8d0c18156)
-rwxr-xr-xvpp-api-test/scripts/vppctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp-api-test/scripts/vppctl b/vpp-api-test/scripts/vppctl
index f4062b64f20..c348fff6c0b 100755
--- a/vpp-api-test/scripts/vppctl
+++ b/vpp-api-test/scripts/vppctl
@@ -16,14 +16,14 @@ while [[ $# -gt 0 ]]; do
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