yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40514
[Bug 1509890] [NEW] Linux bridge agent "interface_exists_on_bridge" can be optimized
Public bug reported:
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.
** Affects: neutron
Importance: Undecided
Assignee: Cedric Brandily (cbrandily)
Status: New
** Tags: linuxbridge loadimpact low-hanging-fruit
--
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:
New
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
Follow ups