blob: 90828f6773b8dffc2523b7b2bf84b99838392774 [file] [log] [blame]
#!/bin/bash
if [ $# -gt 0 ]; then
echo exec ${@} | vpe_api_test | sed 's/vat# //g'
else
echo -n "vpp# "
while read CMD; do
if [ $CMD == "exit" ]; then
exit
fi
echo exec $CMD | vpe_api_test | sed 's/vat# //g'
echo -n "vpp# "
done
fi