nornir.__init__

nornir.__init__.InitNornir(config_file: str = '', dry_run: bool = False, **kwargs: Any) nornir.core.Nornir
Parameters
  • config_file (str) – Path to the configuration file (optional)

  • dry_run (bool) – Whether to simulate changes or not

  • configure_logging – Whether to configure logging or not. This argument is being deprecated. Please use logging.enabled parameter in the configuration instead.

  • **kwargs – Extra information to pass to the nornir.core.configuration.Config object

Returns

fully instantiated and configured

Return type

nornir.core.Nornir