Skip to content

How to handle connection error? (follow up issue #423) #706

Answered by dbarrosop
marco-minervino asked this question in Q&A
Discussion options

You must be logged in to vote

Here I'm trying to understand if I can build a list of unreachable devices while i run my script, to track those i had connection problem with.

The nornir object already has such list, please, check the following tutorial https://nornir.readthedocs.io/en/latest/tutorial/failed_tasks.html#

In any case, if you want to do it yourself you can either use a grouped task with your own logic or a Processor

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marco-minervino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants