r/openstack • • Apr 20 '21

How does OVN work with Openstack?

I am using Redhat OpenStack in my environment with OVN as the default network plugin and I'm having a hard time understanding how OVN works. I was able to understand the connection between NB and SB database and function of northd, I was also able to list the flows from SB. What I don't understand is how it integrates with br-int, br-ex and br-tenant on the compute host.

br-tenant as I understand is the interface for the vms to communicate with each other, but when I do tcpdump on it I see no action, and traceroute from the guest vms don't show the actual path the packets are taking -- I'm thinking this is because of encapsulation.

I see multiple tap ports on br-int and I only see patch ports between br-int and br-ex. There is no patch port on br-tenant. Does that mean br-tenant is redundant here and not being used at all?

Are there any good resources on this topic. I could find a few good resources that cover the OVS plugin but not many for OVN. I was just looking the understand the packet flow. If you have answer to my question, or know of any good resources please let me know.

14 Upvotes

5 comments sorted by

View all comments

5

u/[deleted] Apr 20 '21

I am on the same path, trying to understand.

There is a tutorial on https://docs.ovn.org/en/latest/tutorials/ovn-openstack.html that seems quite helpful.

1

u/[deleted] Apr 21 '21

Thanks