Code Review
/
integration
/
test.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Step 1: Move vm scripts to the right place
[integration/test.git]
/
test
/
tools
/
odl-mdsal-clustering-tests
/
clustering-performance-test
/
ovs-scripts
/
OVS-dump-flows.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-flows $1