summaryrefslogtreecommitdiffstats
path: root/examples/docker/SRv6_5-node/watch_int_vpp.sh
blob: ef11c5197c8fc1178a305405eb0b27fcb7f702f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

vpp_node=$1
packet_count=$2

if [ -z "$1" ]; then
    echo "VPP node argument missing!"
    echo "Usage:"
    echo -e "\n'$0 <vpp_node>' to run this command!\n"
    exit 1
fi

watch -d -n 1 sudo docker exec ${vpp_node} vppctl sh int