The nova.openstack.common.plugin.pluginmanager Module

class PluginManager(project_name, service_name)

Bases: object

Manages plugin entrypoints and loading.

For a service to implement this plugin interface for callback purposes:

  • Make use of the openstack-common notifier system
  • Instantiate this manager in each process (passing in project and service name)

For an API service to extend itself using this plugin interface, it needs to query the plugin_extension_factory provided by the already-instantiated PluginManager.

load_plugins()
plugin_extension_factory(ext_mgr)

Previous topic

The nova.openstack.common.plugin.plugin Module

Next topic

The nova.openstack.common.policy Module

This Page