nornir.plugins.runners.__init__
- class nornir.plugins.runners.__init__.SerialRunner
SerialRunner runs the task over each host one after the other without any parellelization
- run(task: nornir.core.task.Task, hosts: List[nornir.core.inventory.Host]) nornir.core.task.AggregatedResult
- class nornir.plugins.runners.__init__.ThreadedRunner(num_workers: int = 20)
ThreadedRunner runs the task over each host using threads
- Parameters
num_workers – number of threads to use
- run(task: nornir.core.task.Task, hosts: List[nornir.core.inventory.Host]) nornir.core.task.AggregatedResult