← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1407887] [NEW] Linux bridge agent should also handle empty before/after notifications properly

 

Public bug reported:

I am seeing the bug: https://bugs.launchpad.net/neutron/+bug/1367881
And it fixed the bug by handling empty before/after notifications in l2pop code.
Then I find there is the same problem in the method "_fdb_chg_ip" of   linuxbridge_neutron_agent.

after = state.get('after')
                for mac, ip in after:
                    self.agent.br_mgr.add_fdb_ip_entry(mac, ip, interface)

 before = state.get('before')
                for mac, ip in before:
                    self.agent.br_mgr.remove_fdb_ip_entry(mac, ip, interface)

I think we should also change it.Otherwise, it may cause some similar
problems.

** 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/1407887

Title:
  Linux bridge agent should also  handle empty before/after
  notifications properly

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  I am seeing the bug: https://bugs.launchpad.net/neutron/+bug/1367881
  And it fixed the bug by handling empty before/after notifications in l2pop code.
  Then I find there is the same problem in the method "_fdb_chg_ip" of   linuxbridge_neutron_agent.

  after = state.get('after')
                  for mac, ip in after:
                      self.agent.br_mgr.add_fdb_ip_entry(mac, ip, interface)

   before = state.get('before')
                  for mac, ip in before:
                      self.agent.br_mgr.remove_fdb_ip_entry(mac, ip, interface)

  I think we should also change it.Otherwise, it may cause some similar
  problems.

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


Follow ups

References