Code Review
/
vpp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c39ee000965715423d55be49aab877aa602ca560
[vpp.git]
/
vpp-api-test
/
scripts
/
vppctl
1
#!/bin/bash
2
if [ $# -gt 0 ]; then
3
echo exec ${@} | vpe_api_test | sed 's/vat# //g'
4
else
5
echo -n "vpp# "
6
while read CMD; do
7
if [ "x$CMD" == "xexit" ]; then
8
exit
9
elif [ "x$CMD" != "x" ]; then
10
echo exec $CMD | vpe_api_test | sed 's/vat# //g'
11
fi
12
echo -n "vpp# "
13
done
14
fi