Code Review
/
groupbasedpolicy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
registration of action validators for to gbp-base
[groupbasedpolicy.git]
/
demos
/
gbpsfc-env
/
dpdumpflows.py
1
#!/usr/bin/python
2
3
from subprocess import check_output
4
5
6
def call_dpctl():
7
cmd="ovs-dpctl dump-flows"
8
listcmd=cmd.split()
9
return check_output(listcmd)
10
11
if __name__ == "__main__" :
12
flows=call_dpctl().split("recirc_id")
13
for flow in flows:
14
print flow
15
16
17