[ovs-dev] [PATCH v2] ovn: Add software l2 gateway.

Russell Bryant russell at ovn.org
Wed Apr 6 21:45:13 UTC 2016


On Wed, Apr 6, 2016 at 5:43 PM, Ramu Ramamurthy <ramu.ramamurthy at gmail.com>
wrote:

> On Mon, Apr 4, 2016 at 5:58 AM, Russell Bryant <russell at ovn.org> wrote:
> > This patch implements one approach to using ovn-controller to implement
> > a software l2 gateway between logical and physical networks.
> >
> > A new logical port type called "gateway" is introduced here.  It is very
> > close to how localnet ports work, with the following exception:
> >
> > - A localnet port makes OVN use the physical network as the
> >   transport between hypervisors instead of tunnels. A gateway port still
> >   uses tunnels between all hypervisors, and packets only go to/from the
> >   specified physical network as needed via the chassis the gateway port
> >   is bound to.
> >
> > - A gateway port also gets bound to a chassis while a localnet port does
> >   not.  This binding is not done by ovn-controller.  It is left as an
> >   administrative function.  In the case of OpenStack, the Neutron plugin
> >   will do this.
> >
> > Signed-off-by: Russell Bryant <russell at ovn.org>
> > ---
> >
>
> Can there be more than 1 gateway to the same l2 network  (say for HA) ?
> If gateway port G1 on chassis1 and gateway port G2 on chassis2,
> Then, when a VM a chassis3 sends a broadcast, it will tunnel to
> chassis1, and chassis2,
> and then get sent out of G1 and G2 to the same L2 network, ie, Can
> that broadcast packet
> get sent in duplicate to the physical network ? If so, would you have
> to run xSTP on the
> gateway ports ?
>

You can only have a single gateway port for a given network at this stage.

-- 
Russell Bryant



More information about the dev mailing list