summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2013-06-19 08:50:32 +0100
committerMark McLoughlin <markmc@redhat.com>2013-06-19 09:56:28 +0100
commit01672d86d512320cae936c8c3f070664aafe8d45 (patch)
tree2be3f89ada3ccce1dd606dfdd9ba4d74270cb091 /nova/api
parent2bcd6b59a6d6848144ff9fb4f7b4c2241b907515 (diff)
downloadnova-01672d86d512320cae936c8c3f070664aafe8d45.tar.gz
nova-01672d86d512320cae936c8c3f070664aafe8d45.tar.xz
nova-01672d86d512320cae936c8c3f070664aafe8d45.zip
Remove the unused plugins framework
This framework was merged a year ago and AFAICT hasn't seen use beyond the two initial wikimedia extensions. The framework basically allows a way for a single plugin to register API extensions and notification drivers. Both of these can be done by directly using config opts like osapi_compute_extension and notification_driver so this framework really only helps if we expected to (and wanted to) lots of these plugins in the wild. Change-Id: I09a11f9931ee0436a56e8b0d925683b54f73b104
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/extensions.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/api/openstack/compute/extensions.py b/nova/api/openstack/compute/extensions.py
index 5e6633f1d..ac8c04aa0 100644
--- a/nova/api/openstack/compute/extensions.py
+++ b/nova/api/openstack/compute/extensions.py
@@ -19,7 +19,6 @@ from oslo.config import cfg
from nova.api.openstack import extensions as base_extensions
from nova.openstack.common import log as logging
-from nova.openstack.common.plugin import pluginmanager
ext_opts = [
cfg.MultiStrOpt('osapi_compute_extension',
@@ -38,10 +37,6 @@ class ExtensionManager(base_extensions.ExtensionManager):
def __init__(self):
LOG.audit(_('Initializing extension manager.'))
self.cls_list = CONF.osapi_compute_extension
- self.PluginManager = pluginmanager.PluginManager('nova',
- 'compute-extensions')
- self.PluginManager.load_plugins()
- self.cls_list.append(self.PluginManager.plugin_extension_factory)
self.extensions = {}
self.sorted_ext_list = []
self._load_extensions()