neutron/neutron/plugins/bigswitch
Kevin Benton ee9fe2458f BSN: Remove db lock and add missing contexts
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
2014-07-01 08:22:50 -07:00
..
agent Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
db BSN: Remove db lock and add missing contexts 2014-07-01 08:22:50 -07:00
extensions Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
tests Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
README Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
config.py Merge "Remove the useless vim modelines" 2014-06-23 06:10:21 +00:00
plugin.py BSN: Remove db lock and add missing contexts 2014-07-01 08:22:50 -07:00
routerrule_db.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
servermanager.py BSN: Remove db lock and add missing contexts 2014-07-01 08:22:50 -07:00
vcsversion.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00

README

# 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