<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 15, 2020 at 7:22 AM Tim Rozet <<a href="mailto:trozet@redhat.com">trozet@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi All,</div><div>While looking into using ecmp routes for an OVN router I noticed there is no support for BFD on these routes. Would it be possible to add this capability? I would like the next hop to be removed from the openflow group if BFD detection for that next hop goes down. My routes in this case would be on a GR for N/S external next hop and not going across a tunnel as it egresses.</div><div><br></div><div>Thanks,</div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr">Tim Rozet<div>Red Hat CTO Networking Team</div></div></div></div></div></div></div>

<p></p></blockquote><div>Hi Tim,</div><div><br></div><div>Thanks for bringing this up. Yes, it is desirable to have BFD support for OVN routers. Here are my thoughts.</div><div><br></div><div>In general, OVN routers are distributed. It is not easy to tell which node should be responsible for the BFD session, especially, to handle the response packets. Even if we managed to implement this, the node detects the failure needs to populate the information to central SB DB, so that the information is distributed to all nodes, to make the distributed route updated.<br></div><div><br></div><div>In your particular case, it may be easier, since the gateway router is physically located on a single node. ovn-controller on the GR node can maintain BFD session with the nexthops. If a session is down, ovn-controller may take action locally to enforce the change locally.</div><div><br></div><div>For both cases, more details may need to be sorted out.</div><div><br></div><div>Alternatively, it shouldn't be hard to have an external monitoring service/agent that talks BFD with the nexthops, and react on the session status changes by updating ECMP routes in OVN NB.<br></div><div><br></div><div>Thanks,</div><div>Han<br></div></div></div>