vmware-nsx/neutron/plugins/bigswitch
Aaron Rosen 6189cbe4f5 Improve DHCP agent performance
Previously when starting the dhcp agent the sync_state() process would
be extremely expensive as it would query quantum server for each network.
In order to improve performance a get_active_networks_info() was added
so this information could be retrieved in one query rather than doing a
query for each active network.

The second part of this patch optimizes the logic to avoid calling
get_dhcp_port(). Previously, this method was called once for each network
which makes a call to get_subnets() and get_ports() unnecessarily as
the dhcp agent can determine itself if it needs to update a port or create a
port for dhcp.

This patch also threads the inital sync process and maintains backwards
compatibility with the previous rpc api.

There was also a trivial change to the nvp_plugin where filters are assumed to
be a dict.

implements blueprint improve-dhcp-agent-performance

Change-Id: I3b631057f595250dad76516faa9b421789f60953
2013-07-09 21:46:43 -07:00
..
db Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
extensions Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
tests Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
plugin.py Improve DHCP agent performance 2013-07-09 21:46:43 -07:00
README Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
routerrule_db.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
vcsversion.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00

# Neuron REST Proxy Plug-in for Big Switch and FloodLight Controllers

This module provides a generic neutron plugin 'NeutronRestProxy' that
translates neutron function calls to authenticated REST requests (JSON supported)
to a set of redundant external network controllers.

It also keeps a local persistent store of neutron state that has been
setup using that API.

Currently the FloodLight Openflow Controller or the Big Switch Networks Controller
can be configured as external network controllers for this plugin.

For more details on this plugin, please refer to the following link:
http://www.openflowhub.org/display/floodlightcontroller/Neutron+REST+Proxy+Plugin