[ovs-discuss] BFD not working with RSTP, suggesting fix

Mika Väisänen mika.vaisanen at gmail.com
Mon Feb 20 14:24:46 UTC 2017


Patch sent to ovs-dev list.

BR, Mika


17.2.2017 20.29 "Joe Stringer" <joe at ovn.org> kirjoitti:

> On 15 February 2017 at 05:18, Mika Väisänen <mika.vaisanen at gmail.com>
> wrote:
> > Hello,
> >
> > I have discovered that RSTP and BFD do not work together. When BFD is
> > enabled on a link, it first assumes that the link is down and informs
> this
> > to RSTP. RSTP then puts that link to DISABLED state (similar as if
> carrier
> > was lost).
> >
> > BFD tries to send its messages over the link, but as RSTP considers port
> is
> > DISABLED and therefore not forwarding, no messages are allowed through.
> This
> > means BFD will never get its forwarding state to true even the link
> itself
> > was working. Therefore RSTP port will remain in DISABLED state forever.
> >
> > Seems that the problem is in ofproto-dpif-xlate.c. On openvswitch-2.5.1 I
> > have overcome the problem with following patch:
>
> Hi Mika, thanks for taking a look at this!
>
> Would you mind resubmitting in standard git format-patch(1) format, to
> the ovs-dev list, including a sign-off line? Patches on ovs-discuss
> aren't tracked through the usual systems so it's easier for developers
> to miss them. If you haven't done this before, there's documentation
> here about what the patch should look like:
>
> http://docs.openvswitch.org/en/latest/internals/contributing/submitting-
> patches/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170220/cf6f3355/attachment.html>


More information about the discuss mailing list