← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1587296] [NEW] ovs-agent: use_veth_interconnection is not needed anymore

 

Public bug reported:

Config option 'use_veth_interconnection' should be deprecated. Instead
we can always use Open vSwitch patch ports.

The discussion started in a review here:

https://review.openstack.org/#/c/318317/2
openstack/neutron/doc/source/devref/openvswitch_agent.rst
line 471

AFAICT the use of veth pairs was always a fallback when sufficiently new
ovs was not available from distro packages. Since veth pairs have always
worse packet forwarding performance than ovs patch cables it makes no
sense using them if ovs patch cables are available.

If we no longer support veth pairs, the agent code can be simplified.

We think providing the veth fallback is no longer relevant. Open vSwitch
release notes state this (http://openvswitch.org/releases/NEWS-2.5.0):

v1.10.0 - 01 May 2013
---------------------
    ...
    - Patch ports no longer require kernel support, so they now work
      with FreeBSD and the kernel module built into Linux 3.3 and later.

For example for Ubuntu this means veth is not needed in 14.04+.

I opened this bug to separate this conversation from the above review.
To get feedback if anybody still uses veth pairs. Shall we deprecate
'use_veth_interconnection'? If yes, what should be the deprecation
timeline?

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovs rfe

** Project changed: tempest => neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1587296

Title:
  ovs-agent: use_veth_interconnection is not needed anymore

Status in neutron:
  New

Bug description:
  Config option 'use_veth_interconnection' should be deprecated. Instead
  we can always use Open vSwitch patch ports.

  The discussion started in a review here:

  https://review.openstack.org/#/c/318317/2
  openstack/neutron/doc/source/devref/openvswitch_agent.rst
  line 471

  AFAICT the use of veth pairs was always a fallback when sufficiently
  new ovs was not available from distro packages. Since veth pairs have
  always worse packet forwarding performance than ovs patch cables it
  makes no sense using them if ovs patch cables are available.

  If we no longer support veth pairs, the agent code can be simplified.

  We think providing the veth fallback is no longer relevant. Open
  vSwitch release notes state this
  (http://openvswitch.org/releases/NEWS-2.5.0):

  v1.10.0 - 01 May 2013
  ---------------------
      ...
      - Patch ports no longer require kernel support, so they now work
        with FreeBSD and the kernel module built into Linux 3.3 and later.

  For example for Ubuntu this means veth is not needed in 14.04+.

  I opened this bug to separate this conversation from the above review.
  To get feedback if anybody still uses veth pairs. Shall we deprecate
  'use_veth_interconnection'? If yes, what should be the deprecation
  timeline?

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1587296/+subscriptions


Follow ups