Skip to content

Instantly share code, notes, and snippets.

@kargig
kargig / ovs-dump-flows.py
Last active February 23, 2017 12:40 — forked from djoreilly/ovs-dump-flows.py
Make ovs-ofctl dump-flows more readable. Remove stats, sort by table and priority, replace port numbers with port names.
#!/usr/bin/python
import sys
import re
import subprocess
if len(sys.argv) != 2:
print "bridge name needed"
sys.exit()