Tuesday, December 7, 2021

Nornir multiple different task concurrency?

Nornir looks great for concurrently running the same command to your selection of inventory devices but what about having the same concurrency but with different tasks for each device? I take a stack of different tasks meant for different switches. Does that mean I'd have to implement threading on top of nornir tasks?

Example:

I want switch 192.168.150.10 to set port te0/0 - down and switch 192.168.150.20 to set port te0/7 up. Those are two different tasks that I would like to run concurrently.



No comments:

Post a Comment