[Openstack] Newton, OpenvSwitch with DPDK, it is all or nothing! How to make it more modular?

Tong Li litong01 at us.ibm.com
Mon Nov 28 14:59:26 UTC 2016

Martin, glad that you got it working for you. My impression is that it
won't work for metadata services. Any idea if that is still the case?


Tong Li
IBM Open Technology
Building 501/B205
litong01 at us.ibm.com

From:	Martinx - ジェームズ <thiagocmartinsc at gmail.com>
To:	"openstack at lists.openstack.org" <openstack at lists.openstack.org>
Date:	11/17/2016 04:31 PM
Subject:	[Openstack] Newton, OpenvSwitch with DPDK, it is all or
            nothing! How to make it more modular?

Hey guys,

 I'm playing with OpenvSwitch with DPDK, in my KVM Ubuntu host, it is

 My KVM guest, have 4 vNIC, it is a L2 Bridge (another DPDK App), the first
two (eth0 and eth1), are regular bridges (Libvirt Linux Bridges (or OVS
regular bridges)), and the latest two (eth2 and eth3), are type=vhostuser
with "/var/run/openvswitch/vhost-user-1" and

 So, all good! I can ssh into my VM via its eth0 (public), my VM can talk
with other VMs via its eth1 (private), and my virtualized DPDK-App runs
fine on top of two VirtIO vhostuser NIC (eth2 and eth3).

 Now, time to do this via OpenStack! But, it doesn't work like this, let me
try to explain...

 On OpenStack, without OVS+DPDK, my KVM Guest also have 4 vNIC, first two
(eth0 and eth1), are VXLAN networks (using the OpenvSwitch Agent), and the
latest two (eth2 and eth3), are Provider Networks (also using the
OpenvSwitch Agent).

 So, here comes the problem with OVS and DPDK...

 I've configured Neutron OVS Agent like this:

 My intention, is to use the OVS+DPDK _only_ for the Provider Networks,
but, when I started my Instance, all the 4 vNIC are being tied to the OVS
+DPDK bridges, which is clearly, not what I've configured on my Neutron

 So, I'm thinking here, how can I do this?

 Regular "OVS Regular" bridges for VXLAN networks, and "OVS DPDPK" bridges
for Provider Networks?

 OR, how to use OVS+DPDK for VXLAN networks? If this is possible, does it
still supports the ovs-firewall-driver?

 Another workaround, that I'm thinking here, would be to launch 2 OVS
Agents on my Compute Nodes, one for OVS and VXLAN, and another only for OVS
+DPDK... Or, maybe, for VXLAN, I can go back to Linux Bridges...

 I've read that RedHat don't recommend DPDK for VXLAN networks but, I'm
using Newton on Ubuntu, so, things might be different, specially because
Ubuntu have native support for a very recent DPDK version, for free,

 I appreciate any comments!

Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20161128/6772aa92/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20161128/6772aa92/attachment.gif>

More information about the Openstack mailing list