[ovs-discuss] OVN external network access in Openstack

Michael Kashin mmkashin at gmail.com
Wed Nov 16 17:38:39 UTC 2016


I'm integration RDO (Packstack) Openstack with OVN and facing a problem
connecting DVR to external networks. My setup consists of a couple of
virtual networks and a router interconnecting them.  On each compute node
I've create a "br-ex" and created a mapping
"ovn-bridge-mappings=extnet:br-ex". I've also created a neutron network
with "--provider:physical_network extnet" and assigned this network as a
gateway to my router. I can see that OVN northDB creates a new LS with two
ports as expected:

 switch 151ac068-ee99-4324-b785-40709b2e2061

        port provnet-b4786af5-cf70-4fc2-8f36-e9d540165d37

            addresses: ["unknown"]

        port fb73ca73-488f-40aa-89e1-e8e312de7a77

            addresses: ["fa:16:3e:1d:75:66"]

However, I can't see any link between my DVR and this LS. Am I expected to
create a DVR-to-extLS patch manually?

Can you also clarify one more thing. I've seen the setting for L3 gateway
scheduling which, I assume, should place that external router IP
( in my case) on a particular compute node. Is there any
document that describes what happens during GW scheduling?

Details about my setup

1 controller, 2 compute nodes. Integrated with OVN as described in the
guide (http://docs.openstack.org/developer/networking-ovn/install.html)

External network setup steps:(assuming R1 already exists)

neutron net-create EXT-NET --provider:network_type flat
 --provider:physical_network extnet   --router:external --shared

neutron subnet-create --name EXT-SUB --enable_dhcp=False
--allocation-pool=start=,end= --gateway=

neutron router-gateway-set R1 EXT-NET


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20161116/f75e57d0/attachment.html>

More information about the discuss mailing list