nornir.plugins.runners.__init__

class nornir.plugins.runners.__init__.SerialRunner

Runner that executes the task over each host sequentially without parallelization.

run(task: Task, hosts: list[nornir.core.inventory.Host]) AggregatedResult
class nornir.plugins.runners.__init__.ThreadedRunner(num_workers: int = 20)

Runner that executes the task over each host using threads.

Parameters:

num_workers – number of threads to use

run(task: Task, hosts: list[nornir.core.inventory.Host]) AggregatedResult