neutron/neutron/tests/unit
Henry Gessau b3c0d5f239 Eliminate lookup of "resource extend" funcs by name
By registering functions directly we cut off the dependency of the
"resource extend" functions on the plugin. This is a step towards
the goal of removing the CommonDbMixin mixin class.

Also, we register all "resource extend" functions at plugin create
(in __new__) instead of in the class definition (which caused the
hooks to be registered on import). This ensures the "resource
extend" functions are only registered for the plugins/mixins that
are actually used.

Note that decorators are used to register "resource extend" methods,
similar to the callback receiver decorators.

Related-Blueprint: neutron-lib

Change-Id: I128cfda773d5f9597df9cd61261fdc05f2a174aa
2017-04-21 14:48:42 -04:00
..
agent Use the ovsdbapp library 2017-04-20 20:13:48 -05:00
api Stop extension warnings in UTs 2017-04-20 10:03:26 +00:00
callbacks Downgrade callback abortable event log to debug 2017-03-16 13:35:39 -07:00
cmd ip_lib: ignore gre and lo devices in get_devices by default 2017-04-13 15:03:06 -07:00
common Merge "Switched rpc access policy to DefaultRPCAccessPolicy" 2017-04-17 23:36:27 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Spin off context module 2017-03-06 16:25:29 +00:00
db Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
debug use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
extensions Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
hacking Switch to neutron-lib hacking factory 2017-04-13 07:41:25 -07:00
ipam New enginefacade for networks, subnets. 2017-03-30 01:26:45 -07:00
notifiers Merge "Remove baremetal notification from nova notifier" 2017-03-15 02:46:20 +00:00
objects Merge "Make QoS policy object compatible with versions 1.2 and higher" 2017-04-19 09:47:31 +00:00
plugins Merge "Use the ovsdbapp library" 2017-04-21 06:30:20 +00:00
quota TestTrackedResource: register core plugin in directory 2017-03-30 18:05:33 +00:00
scheduler DVR: Move _get_floatingip_by_port to l3_db 2017-04-18 18:43:04 -07:00
services Remove deprecated support for QoS notification_drivers 2017-04-17 06:32:01 -07:00
tests Remove recursion from import_modules_recursively 2016-09-30 21:48:50 +00:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
dummy_plugin.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
test_manager.py neutron-lib: use CORE from neutron lib constants 2016-12-26 00:56:42 -08:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Merge "Neutron server was not compatible with member actions" 2017-04-21 06:28:39 +00:00
test_service.py Fix that api_workers=0 doesn't spawn any api workers 2016-07-29 05:40:05 -04:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py Pass parameters when create eventlet.wsgi server 2017-03-17 14:14:25 +08:00
testlib_api.py Fix SQL fixture to preserve engine facade settings 2017-04-06 09:36:07 +00:00