
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
# -- Welcome!
You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking!
# -- External Resources:
The homepage for Neutron is: http://launchpad.net/neutron . Use this site for asking for help, and filing bugs. Code is available on github at <http://github.com/openstack/neutron>.
The latest and most in-depth documentation on how to use Neutron is available at: <http://docs.openstack.org>. This includes:
Neutron Administrator Guide http://docs.openstack.org/trunk/openstack-network/admin/content/
Neutron API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/
The start of some developer documentation is available at: http://wiki.openstack.org/NeutronDevelopment
For help using or hacking on Neutron, you can send mail to <mailto:openstack-dev@lists.openstack.org>.