7a42473002
Adds context tracking decorators that were missing from router interface methods. Without them, new sessions were being created instead of using the existing context which was causing transaction issues. Modifies the servermanager to store context references as weakrefs so if multiple functions are called before the rest functions are called, the first one doesn't steal the only context reference with a pop() call. Removes a DB lock for update in the server manager that occured during rest calls that was triggering deadlocks due to the file lock synchronization for the rest calls. Closes-Bug: #1336251 Change-Id: Iad3d61e2c23832b3ad760a999fbab7feaa13f805 |
||
---|---|---|
.. | ||
agent | ||
db | ||
extensions | ||
tests | ||
__init__.py | ||
config.py | ||
plugin.py | ||
README | ||
routerrule_db.py | ||
servermanager.py | ||
vcsversion.py | ||
version.py |
# 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