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

  • deregister_all() → None

    Deregisters all registered plugins

  • get_plugin(name: str) → nornir.core.plugins.register.T

    Fetches the plugin by name if already registered

  • register(name: str, plugin: nornir.core.plugins.register.T) → None

    Registers a plugin with a specified name