nornir.core.plugins.register
class nornir.core.plugins.register.PluginRegister(entry_point: str)
auto_register() → None
available: Dict[str, nornir.core.plugins.register.T] = {}
deregister(name: str) → None
Deregisters a registered plugin by its name
Parameters
name – name of the plugin to deregister
Raises
deregister_all() → None
Deregisters all registered plugins
get_plugin(name: str) → nornir.core.plugins.register.T
Fetches the plugin by name if already registered
Parameters
name – name of the plugin
Raises
register(name: str, plugin: nornir.core.plugins.register.T) → None
Registers a plugin with a specified name
Parameters
name – name of the connection plugin to register
plugin – plugin class
Raises
nornir.core.exceptions.PluginAlreadyRegistered – another plugin with the specified name was already registered