add support for ovs 2.7 port binding.

Bug #1662289 reported by sean mooney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovs-dpdk
Fix Released
High
jaroslavx.safka
Ocata
Triaged
Critical
Unassigned

Bug Description

ovs 2.7+ nolonger use the dpdkX naming scheme and now requires
the pciadress to be passed when adding dpdk interfaces.

old:
ovs-vsctl --no-wait --may-exist add-port $bridge "dpdk${dpdk_port_number}" -- set Interface "dpdk${dpdk_port_number}" type=dpdk
new:
ovs-vsctl --no-wait --may-exist add-port $bridge $nic -- set Interface $nic type=dpdk options:dpdk-devargs=$addr

networking-ovs-dpdk should be modifed to support both the old and new form.

Revision history for this message
sean mooney (sean-k-mooney) wrote :

this should be completed before the ocata branch is created.

the ocata branch will track dpdk 16.11 and ovs 2.7 branches.

Changed in networking-ovs-dpdk:
status: New → Triaged
importance: Undecided → High
Changed in networking-ovs-dpdk:
assignee: nobody → jaroslavx.safka (jaroslavx-safka)
Revision history for this message
sean mooney (sean-k-mooney) wrote :

jarek when addressing this make sure it support both forms.

you will need to grep for the new dpdk-devargs in the documentation as we do for the ovs db initialization
to detect which method is required or you will have to catch the error when the old form is used and try again with the new form.

Revision history for this message
jaroslavx.safka (jaroslavx-safka) wrote :
Changed in networking-ovs-dpdk:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovs-dpdk (master)

Reviewed: https://review.openstack.org/441919
Committed: https://git.openstack.org/cgit/openstack/networking-ovs-dpdk/commit/?id=55691f54c61df5792353091ee7f933e82d7ac080
Submitter: Jenkins
Branch: master

commit 55691f54c61df5792353091ee7f933e82d7ac080
Author: Sean Mooney <email address hidden>
Date: Mon Mar 6 11:29:14 2017 +0000

    Add support for ovs 2.7

    - This change increases the default ovs version
      to 2.7.0 with dpdk 16.11
    - This change introduces a new OVS_VSWITCHD_INIT
      variable to control sequence of when the
      ovs-vswitchd is created relative to the configuration
      of bridges and interfaces.

    Closes-Bug: #1662291
    Closes-Bug: #1662289
    Closes-Bug: #1676970
    Change-Id: Idf8992e77616140d0a4701603a26603bb115a784

Changed in networking-ovs-dpdk:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovs-dpdk (master)

Change abandoned by sean mooney (<email address hidden>) on branch: master
Review: https://review.openstack.org/435413

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.