ofproto-dpif: Accept OpenFlow-like flows in "ofproto/trace".
authorBen Pfaff <blp@nicira.com>
Fri, 4 May 2012 17:05:44 +0000 (10:05 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 7 May 2012 18:23:31 +0000 (11:23 -0700)
commit31a19d69db3f8058257c47f986ec908571b263e7
treebd92640cd094afe6de2622a8db4cf3e77aab6d2f
parentccbe50f8f61ac944eb965f67c570d79b6724c9cf
ofproto-dpif: Accept OpenFlow-like flows in "ofproto/trace".

Until now it has not been possible to directly trace flows that include
register values and other concepts that are not in datapath flows, because
"ofproto/trace" requires a flow in the format output by "ovs-dpctl
dump-flows", which doesn't know anything about registers.  This commit
makes it possible to instead specify an OpenFlow-like flow.

Feature #10084.
Requested-by: Igor Ganichev <iganichev@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
ofproto/ofproto-dpif.c
ofproto/ofproto-unixctl.man
tests/ofproto-dpif.at