vmware-nsx/neutron/plugins
Maru Newby 6db48dd688 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
..
bigswitch Revert "Big Switch: Check source_address attribute exists" 2014-05-08 15:51:52 -07:00
brocade Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
cisco Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
common Add common base class for agent functional tests 2014-04-07 08:13:59 +00:00
embrane Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
hyperv Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
ibm Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
linuxbridge Merge "Database exception causes UnboundLocalError in linuxbridge-agent" 2014-05-08 07:43:44 +00:00
metaplugin Make help texts more descriptive in Metaplugin 2014-04-22 07:30:53 +09:00
midonet Merge "Delete disassociated floating ips on external network deletion" 2014-04-23 15:45:53 +00:00
ml2 Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
mlnx Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
nec Ensure core plugin deallocation after every test 2014-05-08 23:40:46 -07:00
nicira Fix NVP/Nicira nits 2014-03-03 14:48:59 -08:00
nuage Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
ofagent OVS and OF Agents: Create updated_ports attribute before setup_rpc 2014-04-30 16:04:58 +04:00
oneconvergence Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
openvswitch Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
plumgrid Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
ryu Ensure core plugin deallocation after every test 2014-05-08 23:40:46 -07:00
vmware NSX: ensure that no LSN is created on external networks 2014-05-07 08:10:30 -07:00
__init__.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00