ovn: Add local router support (RFC). 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. Note: I still need to factor in a fix for patched_datapaths when/if it is merged. 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 | 28 ++++--- ovn/controller/patch.h | 5 +- tests/ovn.at | 153 +++++++++++++++++++++++++++++++++++++++ 8 files changed, 358 insertions(+), 33 deletions(-) -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev