ofproto: Honour NXFMF_OWN flag of flow monitors
authorSimon Horman <horms@verge.net.au>
Fri, 13 Jun 2014 02:40:24 +0000 (11:40 +0900)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Jun 2014 23:20:03 +0000 (16:20 -0700)
commit200d6ac4cd63bded337765959c5a124dfdce0826
tree3ae2a21f92cb3d016a6549c9b1243f90a151e1ac
parent1637ebb2e40a328a65b63cea7604d7037dda145f
ofproto: Honour NXFMF_OWN flag of flow monitors

If NXFMF_OWN is set then full updates should be sent.
Prior to this change an abbreviated update is always sent
to the controller to which a monitor belongs, that is,
the NXFMF_OWN flag is ignored.

Also:
* Update existing flow tests for this chagne
* Add a test to exercise NX flow monitor with !own

I noticed this while working on support for OpenFlow1.4 flow monitors.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/connmgr.c
tests/ofproto.at