liboftrace – openflow debugging tool released
April 14th, 2009, capveg in OpenFlow BlogYesterday, I announced a new OpenFlow debugging tool: liboftrace. oftrace is a library for parsing and analyzing openflow messages (as defined in openflow.h) from a network dump, i.e., from tcpdump or wireshark. I imagine (hope?
that people will find their own uses for this, but the two initial motivating applications for this library are:
ofstats: a program which calculates the controller processing delay, i.e., the difference in time between a packet_in message and the corresponding packet_out or flow_mod message.
and
ofdump: a program that simply lists openflow message types with timestamps by switch/controller pair.
liboftrace is a C library with a swig (www.swig.org) wrapper that allows it to be used from your favorite scripting language. Both ofstats and ofdump applications have been ported to python (pyofdump.py and pyofstats.py) and are included in the tarball as examples.
More description and the actual code are available at:
http://www.openflow.org/wk/index.php/Liboftrace
If (when) you find bugs, please post them to our bug tracking system at :

