nornir.core.plugins.register
class nornir.core.plugins.register.PluginRegister
(entry_point: str)
auto_register
() → Noneavailable
= {}deregister
(name: str) → NoneDeregisters a registered plugin by its name
Parameters: name – name of the plugin to deregister Raises: nornir.core.exceptions.PluginNotRegistered deregister_all
() → NoneDeregisters all registered plugins
get_plugin
(name: str) → TFetches the plugin by name if already registered
Parameters: name – name of the plugin Raises: nornir.core.exceptions.PluginNotRegistered register
(name: str, plugin: T) → NoneRegisters a plugin with a specified name
Parameters: - name – name of the connection plugin to register
- plugin – plugin class
Raises: :obj:
nornir.core.exceptions.PluginAlreadyRegistered
if – another plugin with the specified name was already registered