ofproto-dpif: Require an in_port when tracing datapath flows.
authorEthan Jackson <ethan@nicira.com>
Thu, 24 Jan 2013 01:05:54 +0000 (17:05 -0800)
committerEthan Jackson <ethan@nicira.com>
Mon, 28 Jan 2013 21:15:46 +0000 (13:15 -0800)
commit72d64e3322bba929e733886fef50711558016701
tree7b0cf333636a75fc834d0241a97338b4caaef796
parent58c6adda89411391d076ee45e503c2788c61ebf5
ofproto-dpif: Require an in_port when tracing datapath flows.

All datapath flows should have an in_port, so it doesn't make a lot
of sense to allow omitting it when tracing.  If a user wants to
trace a flow which has no in_port, they can use the OpenFlow syntax
which doesn't go through ofproto_receive().

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/ofp-parse.c
ofproto/ofproto-dpif.c
tests/ofproto-dpif.at