Maru Newby 51bcc61996 Ensure core plugin deallocation after every test
The unit tests were previously consuming an excessive amount of memory
(4GB+) due to plugin instances persisting in memory.  Deallocation was
not possible where a combination of circular references and mocking
was involved.  This patch ensures that only NeutronManager holds a
plugin reference and that all other references are instances of
weakref.proxy.  Residual memory footprint for tox executed on a
12-core machine has been reduced to ~1.3GB.  Plugin deallocation is
validated at the end of each test to prevent regressions.

This change also includes fixes to unit tests that depended on plugin
instances persisting across tests.

Partial-Bug: #1234857
Change-Id: Ia1f868c2d206eb72ef77d290d054f3c48ab58c94
2014-05-08 23:40:46 -07:00
..
2013-07-06 15:02:43 -04:00
2013-07-06 15:02:43 -04:00

Neutron plugin for Ryu Network Operating System
This directory includes neutron plugin for Ryu Network Operating System.

# -- Installation

For how to install/set up this plugin with Ryu and OpenStack, please refer to
https://github.com/osrg/ryu/wiki/OpenStack

# -- Ryu General

For general Ryu stuff, please refer to
http://www.osrg.net/ryu/

Ryu is available at github
git://github.com/osrg/ryu.git
https://github.com/osrg/ryu

The mailing is at
ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Enjoy!