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

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.

1

u/satishdotpatel Jul 03 '22

Awesome video!! very helpful. Could you make video on ovn-bgp-agent (EVPN design with openstack)

1

u/triplewho Jul 05 '22

Hey! Thanks for your feedback. I will need to setup a lab, but I'm sure I could probably do it.

In the mean time, there are some useful blogs on this topic that you might find interesting:
https://ltomasbo.wordpress.com/2021/02/04/ovn-bgp-agent-testing-setup/
https://ltomasbo.wordpress.com/2021/06/25/openstack-networking-with-evpn/

1

u/PreferenceFuzzy2956 Sep 04 '22

Hello

Thanks for nice videos I'm having a hard time trying to deploy openstack with OVN Seems like official installation documents are not complete Can I ask you questions through email?

1

u/triplewho Sep 05 '22

Hey, which documentation are you following?

The best mailing list for issues is:
[email protected]

I can respond to you there if you like. Just nice to have things in a public setting as you're probably not the only person hitting the issue. So having a public thread will probably help others if they're having the same problem.

1

u/park0kyung0won Sep 05 '22

Hi

I'm PreferenceFuzzy on desktop

I was following: https://docs.openstack.org/networking-ovn/latest/install/manual.html

I could solve my problem through weekend

I've tried asking that mailing list two or three times but

sadly people ignored me

I'll ask there again if I face another problem

Thank you

1

u/call_tomorrow Sep 07 '22

Thanks for cool videos!

I am now trying to deploy ovn-bgp-agent in kolla-ansible environment and just wondering if there are any tutorials on how to do it right. I am kind of stuck due to lack of examples and will appreciate any help.

Thank you.