neutron/neutron/plugins/ml2/drivers/linuxbridge
Cedric Brandily 75c881a748 Optimize get_bridge_for_tap_device
Currently get_bridge_for_tap_device[1] iterates over all neutron bridges
and their interfaces.

This change proposes to deduce interface bridge from:

 /sys/class/net/%(interface)s/brif/bridge

which is a symlink to bridge interface path to improve performance.

[1] neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent

Closes-Bug: #1508789
Change-Id: Ia40cd81f47ff082a90d17f58514942ec50553241
2015-10-26 10:08:29 +09:00
..
agent Optimize get_bridge_for_tap_device 2015-10-26 10:08:29 +09:00
mech_driver Implement external physical bridge mapping in linuxbridge 2015-09-03 14:28:18 +08:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00