Re: [openstack-dev] [networking-ovn] OVN native gateway workflow

2016-11-17 Thread Russell Bryant
On Thu, Nov 17, 2016 at 4:23 AM, Michael Kashin  wrote:

> Greetings,
> I'm testing OVN integration with RDO Openstack. I can create tenant
> networks and attach VMs to them with no issues. However I don't get how the
> gateway scheduling works. It seems like whenever I create an external
> provider network and attach it to my DLR, OVN should schedule a gateway
> router and connect it to my DVR via an special transit network. However I
> don't see that happening.
>

​Hi, it looks like you posted this to two mailing lists.  I answered over
on the ovs-discuss mailing list, where I saw it first.  Here's the thread:

https://mail.openvswitch.org/pipermail/ovs-discuss/2016-November/042970.html

-- 
Russell Bryant​



-- 
Russell Bryant
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [networking-ovn] OVN native gateway workflow

2016-11-17 Thread Michael Kashin
Greetings,
I'm testing OVN integration with RDO Openstack. I can create tenant
networks and attach VMs to them with no issues. However I don't get how the
gateway scheduling works. It seems like whenever I create an external
provider network and attach it to my DLR, OVN should schedule a gateway
router and connect it to my DVR via an special transit network. However I
don't see that happening.

My ML2 OVN settings:
ovn_l3_mode=true
ovn_l3_scheduler=leastloaded
ovn_native_dhcp=true
My workflow (assuming DLR 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-NET 169.254.0.0/24
neutron router-gateway-set R1 EXT-NET

At the end of this all i see in my northDB is a new LS:
 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"]

I don't see any new GW router or a link between a DLR and GW.
Can someone please explain what the workflow should look like for OVN
native NAT and FIP connectivity?
Cheers,
Michael
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev