neutron/neutron/services
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
..
auto_allocate Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
externaldns Spin off context module 2017-03-06 16:25:29 +00:00
flavors Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
l3_router Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
loki Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
metering Merge "Replace six.iteritems with dict.items(Part-2)" 2017-04-18 18:07:55 +00:00
network_ip_availability Implement '-F' option for 'net-ip-availability-*' command respond 2017-04-15 20:39:48 -07:00
qos Correct param type description of supported_rules of QoS driver 2017-04-19 09:58:20 +08:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
segments Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
tag Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
timestamp Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
trunk Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py Remove unused variable 2017-04-14 23:09:21 +00:00
service_base.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00