<div dir="ltr"><div dir="ltr">Hi all,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 9, 2020 at 10:56 AM Thomas Goirand <<a href="mailto:zigo@debian.org">zigo@debian.org</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">On 12/8/20 4:12 PM, Tim Sæterøy wrote:<br>
> Hi,<br>
> <br>
> I'm trying to explore BGP support when using OVN in Neutron, but<br>
> haven't been able to find much info on the topic. According to [1]<br>
> committed in march 2020, OVN seems to lack similar functionality as is<br>
> seen in ML2/OVS, but there's no further references:<br>
> <br>
>> Currently ML2/OVS supports making a tenant subnet routable via BGP,<br>
>> and can announce host routes for both floating and fixed IP<br>
>> addresses.<br>
> <br>
> I've tried searching for 'bgp' on Neutrons launchpad for issues tagged<br>
> with 'ovn', in the 'ovn-org/ovn' repo or on <a href="http://docs.ovn.org" rel="noreferrer" target="_blank">docs.ovn.org</a>, but I'm<br>
> getting blanks.<br>
> <br>
> Does anyone happen to know where OVN stands on this, and especially in<br>
> the context of Neutron? Or perhaps able to point me in the right<br>
> direction where I can find out more? Thanks.</blockquote><div><br></div><div>Precisely, there is a talk scheduled for today in the OVS/OVN con about introducing BGP support in OVN [0][1] by Nutanix folks. This is more about EVPN and advertising /32 (or /128) to the router.</div><div><br></div><div>So far, there is nothing specific in Neutron for the ML2/OVN driver. However, neutron-dynamic-routing project would work for you with ML2/OVN to advertise tenant networks but advertising FIPs is currently relying on having 'agent gateway' ports which consume one IP per L3 agent per compute node. This is something that ML2/OVN doesn't do so currently there's no way with neutron-dynamic-routing to advertise FIP host routes directly to the compute node.</div><div><br></div><div>Can you describe the use cases that you'd have in mind or you just wanted to know the current status?</div><div><br></div><div>Thanks a lot!</div><div>daniel</div><div><br></div><div>[0] <a href="https://www.openvswitch.org/support/ovscon2020/">https://www.openvswitch.org/support/ovscon2020/</a></div><div>[1] <a href="http://www.openvswitch.org/support/ovscon2020/slides/OVS-CONF-2020-OVN-WITH-DYNAMIC-ROUTING.pdf">http://www.openvswitch.org/support/ovscon2020/slides/OVS-CONF-2020-OVN-WITH-DYNAMIC-ROUTING.pdf</a> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> <br>
> [1]: <a href="https://docs.openstack.org/neutron/victoria/ovn/gaps.html" rel="noreferrer" target="_blank">https://docs.openstack.org/neutron/victoria/ovn/gaps.html</a><br>
> <br>
> --<br>
> Tim<br>
<br>
Hi,<br>
<br>
As much as I know, there's no upstream (ie: OpenStack without downstream<br>
modification) for BGP-to-the-host support, appart from the<br>
non-mainstream callico driver, which I haven't tested.<br>
<br>
However, I have been able to do a kind of "bgp-to-the-rack" where the L2<br>
networking is limited to segments on a single rack. This can be done<br>
adding this patch to Neutron:<br>
<br>
<a href="https://review.opendev.org/c/openstack/neutron/+/669395" rel="noreferrer" target="_blank">https://review.opendev.org/c/openstack/neutron/+/669395</a><br>
<br>
As you can see, I did a few iteration of this patch, but now, I've been<br>
told to add more db tests, which I don't have the skills for. I asked<br>
for more help from the Neutron team, but so far, everyone seems busy.<br>
However, I did test this, and it works kind of well. :)<br>
<br>
If you wish to help to get this patch going in, please do! :)<br>
<br>
Note that this doesn't use OVN. I have no idea if it would work with OVN<br>
or not (I never did such a setup, only used plain OVS).<br>
<br>
Now, this doesn't replace a full BGP-to-the-host setup, but hopefully,<br>
the Neutron team will be able to have this done "soon" (whatever that<br>
means), as interest for it is growing.<br>
<br>
Cheers,<br>
<br>
Thomas Goirand (zigo)<br>
<br>
</blockquote></div></div>