From 01672d86d512320cae936c8c3f070664aafe8d45 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 19 Jun 2013 08:50:32 +0100 Subject: 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 --- nova/api/openstack/compute/extensions.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nova/api') 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() -- cgit