Step 2: Move test folder to root
[integration/test.git] / tools / odl-mdsal-clustering-tests / clustering-performance-test / ovs-scripts / OVS-dump-tables.sh.13
1 #!/bin/bash
2
3 # author__ = "Michal Rehak"
4 # copyright__ = "Copyright(c) 2014, Cisco Systems, Inc."
5 # license__ = "New-style BSD"
6 # email__ = "jmedved@cisco.com"
7
8 if [ -z "$1" ]; then
9     echo "usage:: $0 <switch name, e.g.: s1>"
10     exit 1
11 fi
12
13 key="${0##*.}"
14 #echo "${key}"
15
16 sudo ovs-ofctl -O OpenFlow${key} dump-tables $1