yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42481
[Bug 1509890] Re: Linux bridge agent "interface_exists_on_bridge" can be optimized
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1509890
Title:
Linux bridge agent "interface_exists_on_bridge" can be optimized
Status in neutron:
Fix Released
Bug description:
Currently, when lb agent needs to check if an interface exists on a
bridge, it will get all interfaces on the bridge and looks for the
interface:
for filename in os.listdir(BRIDGE_INTERFACES_FS):
if filename == interface:
return True
return False
when we can directly check os.path.join(BRIDGE_INTERFACE_FS,
interface) existence.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1509890/+subscriptions
References