[ovs-discuss] OVN external network access in Openstack

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


Greetings,

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
(neutron-b4786af5-cf70-4fc2-8f36-e9d540165d37)

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

            addresses: ["unknown"]

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

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

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
(169.254.0.50 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=169.254.0.50,end=169.254.0.99 --gateway=169.254.0.1
EXT-NET169.254.0.0/24

neutron router-gateway-set R1 EXT-NET

Cheers,

Michael
-------------- 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