]> git.proxmox.com Git - ovs.git/commit - ovn/ovn-sb.xml
ovn-controller: Datapath based conntrack zone for load-balancing.
authorGurucharan Shetty <guru@ovn.org>
Mon, 22 Aug 2016 08:31:31 +0000 (01:31 -0700)
committerGurucharan Shetty <guru@ovn.org>
Fri, 9 Sep 2016 21:46:37 +0000 (14:46 -0700)
commitc2e954a117a88971217f1a3336ebb7598ecce7d9
tree117d4f573cc33de947d9ab5ca3476ab1625f5521
parent4a777f56ca73e221d2ae39fd8ff0f711731395ec
ovn-controller: Datapath based conntrack zone for load-balancing.

Currently ct_lb() logical action is only added for a logical switch and
we use the conntrack zone allocated for the logical port.  A future commit
will use ct_lb() for a logical router too.  In that case, use the allocated
DNAT zone.

Rationale for not passing zone as an argument for ct_lb():
One way to look at it would be that a "zone" is an internal implementation
detail and should not be seen in a action of logical flow.  But we can then
say that we could rename "zone" as "datapath" in the logical action.  But,
then we would be limiting it to 2 anyway (datapath=lswitch or
datapath=lrouter) - in which case we are inferring it with the current patch.

Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
include/ovn/actions.h
ovn/controller/lflow.c
ovn/lib/actions.c
ovn/ovn-sb.xml
tests/test-ovn.c