Replies: 2 comments 1 reply
-
Netmiko has a read_channel() method which will read all the available data (at that point in time). So you can build a loop and sleep and keep reading using read_channel() for as long as you want. You can get the underlying Netmiko connection inside of a Nornir custom task. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Small inspection of the object:
Gets me access to read_channel().
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all, looking for a way to read a stream of debug and then capture it. I have to use netmiko in particular for this use case. I may be wrong, but, netmiko is built on finding the prompt, and in my case, I don't have a prompt, I just want to read the channel for "X" amount of time and then capture. Is anyone familiar with doing something like this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions