This series adds support for load balancers in OVN. One could create a load_balancer object on OVN with a command of the form: ovn-nbctl create load_balancer \ vips:30.0.0.1="172.16.1.2,172.16.1.3,172.16.1.4"
One could also use L4 ports to create LBs. e.g: ovn-nbctl create load_balancer \ vips:'"30.0.0.1:8000"'='"172.16.1.2:80,172.16.1.3:80,172.16.1.4:80"' And then attach the created load_balancer to any logical switch where the client resides. e.g.: ovn-nbctl set logical_switch foo \ load_balancer=91facf32-d6f1-43e9-bead-54c59af493e1 Gurucharan Shetty (7): ovn-northd: Split ACL and pre-ACL processing. ovn-northd.8: Update documentation. ovn-northd: Introduce pre-stateful table. ovn-northd: Introduce stateful table. ovn-nb: Add Load-balancer table to schema. ovn-controller: Add support for load balancing. ovn-northd: Logical flows for load balancers. ovn/controller/lflow.c | 5 +- ovn/controller/lflow.h | 2 + ovn/controller/ofctrl.c | 160 ++++++++++++++++++++++- ovn/controller/ofctrl.h | 3 +- ovn/controller/ovn-controller.c | 26 +++- ovn/lib/actions.c | 135 +++++++++++++++++++ ovn/lib/actions.h | 20 +++ ovn/lib/lex.c | 13 ++ ovn/lib/lex.h | 1 + ovn/northd/ovn-northd.8.xml | 102 ++++++++++----- ovn/northd/ovn-northd.c | 282 ++++++++++++++++++++++++++++++++++++---- ovn/ovn-nb.ovsschema | 22 +++- ovn/ovn-nb.xml | 41 ++++++ ovn/ovn-sb.xml | 24 ++++ ovn/utilities/ovn-nbctl.c | 4 + tests/ovn.at | 8 ++ tests/test-ovn.c | 8 ++ 17 files changed, 795 insertions(+), 61 deletions(-) -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev