Change logging format for flows to that accepted by ofproto/trace.
authorMehak Mahajan <mmahajan@nicira.com>
Mon, 22 Oct 2012 21:00:35 +0000 (14:00 -0700)
committerMehak Mahajan <mmahajan@nicira.com>
Mon, 22 Oct 2012 21:34:35 +0000 (14:34 -0700)
commitaa6c9932f2937fa9a2140ec1737668eb9105b0b5
treee5f865cbe4cf7c04c7afcd2b4a3d5246641e0801
parent9028e8b8cfbf7e2021b57579807242e06d184aa1
Change logging format for flows to that accepted by ofproto/trace.

flow_format() logs packets contents.  However, the format used is not
the format accepted by ofproto/trace.  Hence it becomes difficult to
trace the packets using the debugs printed.  With this commit, the
logging of the packet contents is done in a format that is accepted
by ofproto/trace.  This will make debugging easier.

Signed-off-by: Mehak Mahajan <mmahajan@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/flow.c
lib/match.c
lib/match.h
tests/ofp-print.at
tests/ofproto-dpif.at
tests/ofproto.at