Code Review
/
integration
/
test.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
fixing pep8 problems for test verify tox job
[integration/test.git]
/
csit
/
suites
/
groupbasedpolicy
/
common_scripts
/
dumpflows.sh
1
#!/usr/bin/env bash
2
3
set -e
4
hostnum=${HOSTNAME#"gbpsfc"}
5
sw="sw$hostnum"
6
7
TABLE=$1
8
9
clear
10
ovs-ofctl dump-groups $sw -OOpenFlow13
11
if [ "$TABLE" ]
12
then
13
ovs-ofctl dump-flows $sw -OOpenFlow13 table=$TABLE
14
else
15
ovs-ofctl dump-flows $sw -OOpenFlow13
16
fi
17