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
diff --git a/tools/odl-mdsal-clustering-tests/clustering-performance-test/ovs-scripts/OVS-dump-tables.sh.13 b/tools/odl-mdsal-clustering-tests/clustering-performance-test/ovs-scripts/OVS-dump-tables.sh.13
new file mode 100755 (executable)
index 0000000..ce9c494
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+# author__ = "Michal Rehak"
+# copyright__ = "Copyright(c) 2014, Cisco Systems, Inc."
+# license__ = "New-style BSD"
+# email__ = "jmedved@cisco.com"
+
+if [ -z "$1" ]; then
+    echo "usage:: $0 <switch name, e.g.: s1>"
+    exit 1
+fi
+
+key="${0##*.}"
+#echo "${key}"
+
+sudo ovs-ofctl -O OpenFlow${key} dump-tables $1