[ovs-dev] [PATCH v3 1/5] ovn-northd: Support connecting multiple routers to a switch.

Guru Shetty guru at ovn.org
Fri Jun 3 01:02:07 UTC 2016


On 2 June 2016 at 13:06, Ben Pfaff <blp at ovn.org> wrote:

> On Thu, May 19, 2016 at 01:02:30PM -0700, Gurucharan Shetty wrote:
> > Currently we can connect routers via "peer"ing. This limits
> > the number of routers that can be connected with each other
> > directly to 2.
> >
> > One of the design goals for L3 Gateway is to be able to
> > have multiple gateways (each with their own router)
> > connected to a distributed router via a switch.
> >
> > With the above goal in mind, this commit gives the general
> > ability to connect multiple routers via a switch.
> >
> > Signed-off-by: Gurucharan Shetty <guru at ovn.org>
>
> Please describe this new priority-101 rule in ovn-northd.8.xml.
>

I tried to remember the reason for having the flow priority of 101 instead
of 100 and couldn't find any. So I changed it to 100. With it now being
100, there is already documentation that matches the flow (which was
written for peer routers) and reads:

      <p>
          For each logical router port with an IP address <var>A</var> and
          a mac address of <var>E</var> that is reachable via a different
          logical router port <var>P</var>, a priority-100 flow with
          match <code>outport === <var>P</var> &amp;&amp; reg0 ==
          <var>A</var></code> has actions <code>eth.dst = <var>E</var>;
          next;</code>.
      </p>

Since the above holds true for this change too, I applied this.


>
> Acked-by: Ben Pfaff <blp at ovn.org>
>



More information about the dev mailing list