lflow: Refactor neighbor flows.
authorRyan Moats <rmoats@us.ibm.com>
Sun, 3 Jul 2016 15:35:32 +0000 (10:35 -0500)
committerBen Pfaff <blp@ovn.org>
Sun, 3 Jul 2016 22:00:54 +0000 (15:00 -0700)
commit7ecefc49c6a48cbde548957aa437f27ac67b8300
tree3d3eac4fc0e3bcfb21f99a03ab03d98a3df30a8e
parenta2ba3806871f09937bbe04cbf06907178142db3a
lflow: Refactor neighbor flows.

Extract block within SBREC_MAC_BINDING_FOR_EACH loop within
add_neighbor_flows to helper method so it can be reused when
doing incremental processing.

Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/controller/lflow.c