neutron/neutron/agent/common
Kevin Benton 4dc68ea88b Read vif port information in bulk
During startup, the agent was making many calls per port
to read information about the current VLAN, external ID, etc.
This resulted in hundreds of calls just to read information about
a relatively small number of ports.

This patch addresses that by converting a few key functions to
lookup information for all of the ports at once.

Performance improvement on dev laptop for 250 ports from agent
start to port ACTIVE status:
   before: 1m21s
   after: 1m06s

Closes-Bug: #1460233
Change-Id: Ic80c85a07fee3e5651dc19819c6cebdc2048dda7
2015-06-29 17:37:59 -07:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base_polling.py OVS agent support on Hyper-V 2015-03-25 13:48:33 -07:00
config.py Add logging of agent heartbeats 2015-06-29 05:40:26 +04:00
ovs_lib.py Read vif port information in bulk 2015-06-29 17:37:59 -07:00
polling.py OVS agent support on Hyper-V 2015-03-25 13:48:33 -07:00
utils.py OVS agent support on Hyper-V 2015-03-25 13:48:33 -07:00