neutron/neutron
Slawek Kaplonski fb0c062899 Avoid loading same service plugin more than once
In patch [1] requirement that only each service plugin
can be loaded only once was removed.
Unfortunatelly it is not possible that same service plugin
will be instantiate more than once because it may reqister some
callbacks or other things which can't be duplicated.

So this patch adds mechanism which will ensure that each service
plugin class is instantiate only once and reused if necessary.

[1] https://review.openstack.org/#/c/626561/

Closes-Bug: #1816771

Change-Id: Ie6e6cc1bbbe50ff7cfad4e8033e48711569ea020
(cherry picked from commit d802fad8a9)
2019-04-12 08:33:38 +00:00
..
agent Merge "Check if process' cmdline is "space separarated"" into stable/rocky 2019-04-05 22:18:51 +00:00
api Block port update from unbound DHCP agent 2018-12-18 11:11:35 +00:00
cmd Secure dnsmasq process against external abuse 2019-02-01 09:07:14 +00:00
common Always fill UDP checksums in DHCPv6 replies 2019-02-01 23:23:06 +00:00
conf Implement filter validation 2018-07-19 04:13:43 +00:00
core_extensions Refactor duplicated implementation of _get_policy_obj 2018-06-20 09:51:02 +08:00
db Prevent bind fip to port has port forwarding 2019-04-12 08:33:09 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Improve invalid port ranges error message 2019-03-21 10:16:55 -04:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam Fetch specific columns rather than full ORM entities 2018-09-27 16:28:37 +00:00
locale Imported Translations from Zanata 2018-11-30 09:16:33 +00:00
notifiers Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
objects Merge "Fix performance regression adding rules to security groups" into stable/rocky 2019-02-09 10:38:17 +00:00
pecan_wsgi Implement filter validation 2018-07-19 04:13:43 +00:00
plugins Delete port binding level for deleted bindings 2019-03-06 14:37:08 +00:00
privileged Remove a bare raise noticed by the linter 2019-01-30 20:14:58 +03:00
quota Fetch specific columns rather than full ORM entities 2018-09-27 16:28:37 +00:00
scheduler Fetch specific columns rather than full ORM entities 2018-09-27 16:28:37 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Add dependency for service plugin 2019-04-12 08:33:27 +00:00
tests Avoid loading same service plugin more than once 2019-04-12 08:33:38 +00:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Avoid loading same service plugin more than once 2019-04-12 08:33:38 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py Add ext_parent policy check 2018-08-01 02:45:42 +08:00
service.py Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00