Linux bridge agent "interface_exists_on_bridge" can be optimized
Bug #1509890 reported by
Cedric Brandily
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Cedric Brandily |
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(
if filename == interface:
return True
return False
when we can directly check os.path.
Changed in neutron: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/239299
Review: https:/