4 echo "Missing number of streams to enable. Exit (1)"
8 if [ "$1" -gt "10" ] || [ "$1" -lt "1" ]; then
9 echo "The number of streams to enable must be between 1 and 10. Exit(1)"
15 # Disable all the streams
16 vppctl packet-generator disable-stream
18 # Enable streams based on client input
19 for((i=1; i <= $STREAMS; i++)); do
20 vppctl packet-generator enable-stream fw_udp$i