This patch adds local router support. The idea is to do openflow rule calculations and download for logical routers only on HVs where this is needed. The approach used is to do a flood fill, based local VIF presence and factoring in logical data path associations recursively.
The algorithm detects changes in the local and patched datapath sets and triggers recalculation of the local_routers set. The code changes are limited to ovn-controller. v7->v8: Merge with patched_datapath fix; fix misplaced flood_fill_end declaration/definition; ovs style fix v6->v7: Factor in Transit LS v5->v6: Rebase and ordering fix for data path association checks v4->v5: Bug fix related to datapath_assoc_chgd v3->v4: line length issue v1->v3: explore different approaches Darrell Ball (1): ovn: Add local router support (RFC). ovn/controller/binding.c | 34 ++++++--- ovn/controller/binding.h | 3 +- ovn/controller/lflow.c | 4 + ovn/controller/ovn-controller.c | 157 +++++++++++++++++++++++++++++++++++++--- ovn/controller/ovn-controller.h | 7 ++ ovn/controller/patch.c | 38 +++++++--- ovn/controller/patch.h | 4 +- tests/ovn.at | 153 +++++++++++++++++++++++++++++++++++++++ 8 files changed, 365 insertions(+), 35 deletions(-) -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev