← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1628455] [NEW] openvswitch native native bridge implementation redefines delete_flows with a different signature

 

Public bug reported:

The delete_flows method [1] in the native implementation of OVSBridge
takes different parameters (including ruy objects) compared to with
parent class method [2].

As a result an agent extension reusing such a bridge will fail to call
delete_flows depending on which flavor (native or ovs-ofctl) the agent
is configured for.

[1]
https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py#L102

[2]
https://github.com/openstack/neutron/blob/master/neutron/agent/common/ovs_lib.py#L301

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  openvswitch native native bridge implementation redefines delete_flows
  with a different signature

Status in neutron:
  New

Bug description:
  The delete_flows method [1] in the native implementation of OVSBridge
  takes different parameters (including ruy objects) compared to with
  parent class method [2].

  As a result an agent extension reusing such a bridge will fail to call
  delete_flows depending on which flavor (native or ovs-ofctl) the agent
  is configured for.

  [1]
  https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py#L102

  [2]
  https://github.com/openstack/neutron/blob/master/neutron/agent/common/ovs_lib.py#L301

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


Follow ups