neutron/neutron
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 Register ovs config options before using them 2017-04-21 08:19:10 -05:00
api Merge "Add a new configuration variable for api links." 2017-04-19 04:15:17 +00:00
callbacks Remove EXTERNAL_NETWORK callbacks 2017-04-20 02:55:57 -07:00
cmd Merge "sanity check: deprecate all version based checks" 2017-04-19 05:33:54 +00:00
common Merge "Switched rpc access policy to DefaultRPCAccessPolicy" 2017-04-17 23:36:27 +00:00
conf Use HostAddressOpt for opts that accept IP and hostnames 2017-04-20 07:24:31 -04:00
core_extensions Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07: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 Merge "Add string validation on security group's name" 2017-04-17 07:04:08 +00: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
locale Imported Translations from Zanata 2016-08-19 07:27:43 +00:00
notifiers Merge "Use registry.receives decorator in neutron.notifiers.nova" 2017-03-15 06:27:04 +00:00
objects Use dirname in object recursive import 2017-04-20 04:35:10 -07:00
pecan_wsgi Replace six.iteritems with dict.items(Part-2) 2017-04-18 18:56:46 +08:00
plugins Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
privileged Do not raise an error deleting neighbour entry 2017-01-26 16:22:20 -05:00
quota Use new enginefacade for quota and provisioning blocks 2017-03-29 14:31:03 +00:00
scheduler Refactor L3 scheduler (unify code paths) 2017-01-26 23:05:06 +00:00
server Expose neutron api application as a wsgi script 2017-04-17 02:07:27 +00:00
services Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
tests Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
__init__.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
_i18n.py
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Use is_loaded in manager.init 2017-03-30 14:53:20 +00:00
neutron_plugin_base_v2.py Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00
opts.py Remove deprecated support for QoS notification_drivers 2017-04-17 06:32:01 -07:00
policy.py Merge "Neutron server was not compatible with member actions" 2017-04-21 06:28:39 +00:00
service.py Spin off context module 2017-03-06 16:25:29 +00:00
version.py
worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
wsgi.py Merge "Pass parameters when create eventlet.wsgi server" 2017-04-17 05:35:54 +00:00