summaryrefslogtreecommitdiffstats
path: root/examples/docker/SRv6_5-node/watch_int_vpp.sh
diff options
context:
space:
mode:
authorMichal Cmarada <michal.cmarada@pantheon.tech>2018-06-15 10:37:14 +0200
committerMichal Cmarada <michal.cmarada@pantheon.tech>2018-06-20 08:29:14 +0200
commit1528ed5d01ddd8a0de14711de59861d16f727a3e (patch)
treedefc318c886c8673161b2cae43d6fa097b8a0772 /examples/docker/SRv6_5-node/watch_int_vpp.sh
parentb77a5725338dc700873b36c98af85d70acd7bbe4 (diff)
Add SRv6 5 node docker demo
This demo is intended to test SRv6 implementation. There are two options how to run the demo. First one is to use VPP only configuration and the second one uses honeycomb to configure SRv6 on nodes. For detailed information about the demo read documentation in ./asciidoc/Readme.adoc file. Follow the instructions to run the demo and use provided commands to verify the operation of VPP nodes. Change-Id: I7d17db0096cc48b06e9148e7c78faaf9d7b8a97d Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
Diffstat (limited to 'examples/docker/SRv6_5-node/watch_int_vpp.sh')
-rwxr-xr-xexamples/docker/SRv6_5-node/watch_int_vpp.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/docker/SRv6_5-node/watch_int_vpp.sh b/examples/docker/SRv6_5-node/watch_int_vpp.sh
new file mode 100755
index 000000000..ef11c5197
--- /dev/null
+++ b/examples/docker/SRv6_5-node/watch_int_vpp.sh
@@ -0,0 +1,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