nornir.init_nornir
nornir.init_nornir.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
nornir.init_nornir.load_inventory(config: nornir.core.configuration.Config) → nornir.core.inventory.Inventory
nornir.init_nornir.load_runner(config: nornir.core.configuration.Config) → nornir.core.plugins.runners.RunnerPlugin