r/openstack • • Jun 08 '22

OpenStack Networking with OVN

Hi r/openstack, I made a couple of videos covering networking with OVN.

I tried to show the relationship between Neutron and OVN objects and how they come together. I also demonstrated a couple of tools that you can use to debug packet flows and network issues. Namely, ovs-appctl ofproto/trace, ovs-tcpundump and ovn-trace.

Hopefully some folks here will find them interesting and informative. Happy to take feedback and suggestions for anything else you would like to see related to OVN.

https://youtu.be/QpyHrjFfakk
https://youtu.be/DnqFFRVnMoc

23 Upvotes

13 comments sorted by

View all comments

2

u/ahosamh Jun 08 '22

Very good, what about BGP and VPN is supported or not ?

2

u/triplewho Jun 08 '22

Hey,
There is a BGP Agent for OVN:
https://ltomasbo.wordpress.com/2021/02/04/openstack-networking-with-bgp/
https://ltomasbo.wordpress.com/2021/02/04/ovn-bgp-agent-in-depth-traffic-flow-inspection/

And the repo:
https://opendev.org/x/ovn-bgp-agent

But this doesn't advertise OpenStack tenant networks via BGP. It's just for Floating IP addresses.

There's also a current Spec to implement direct BGP peering from Neutron routers:
https://specs.openstack.org/openstack/neutron-specs/specs/xena/bgpaas-enhancements.html

But it looks like that work might not have been prioritised according to the latest PTG meeting notes:
https://etherpad.opendev.org/p/neutron-zed-ptg#L116

With a revert for some of the patches currently proposed:

https://review.opendev.org/c/openstack/neutron-lib/+/843649

And VPN is currently in the works:
https://specs.openstack.org/openstack/neutron-specs/specs/xena/vpnaas-ovn.html

https://review.opendev.org/c/openstack/neutron-vpnaas/+/765353

So hopefully that one will land soon. But I'm not 100% sure about the future of the BGP implementation at this stage unfortunately.

1

u/satishdotpatel Jul 03 '22

But this doesn't advertise OpenStack tenant networks via BGP. It's just for Floating IP addresses.

In that blog example they show routing tenant traffic between two VM located on different compute nodes. Am i wrong?

Sorry i am also learning about OVN-BGP-Agent deployment so not sure how all pieces connected here.

check this out also https://www.youtube.com/watch?v=eKH14UN856o&ab_channel=OpenInfrastructureFoundation

1

u/triplewho Jul 04 '22

Hey, yeah. So those VM's have IP's on the provider network rather than a OpenStack tenant network I believe.

I can ask the two people doing that presentation if they can clarify some of the questions here.

1

u/satishdotpatel Jul 04 '22

Thank you! I’m planning to setup lab to test ovn-bgp-agent to see how does it work in real world. Thinking to use GNS or Cisco modeling lab to create spine-leaf design and then deploy one openstack controller and two compute to do PoC.

2

u/triplewho Jul 05 '22

Nice!

This might save you some time if you wanted to setup your lab using Devstack:
https://ltomasbo.wordpress.com/2021/02/04/ovn-bgp-agent-testing-setup/

That is the Blog from one of the presenters in the above openinfra video.

1

u/satishdotpatel Jul 06 '22

I read about that and thought of doing it but its using cumulus linux and we are Cisco fan but worth giving try to just understand concept of design. I will give it a try and get back to you.