netmiko constant feed
See original GitHub issueI am having this issue with mikrotiks, i used in multiple ones with RouterOS 6.49.6. netmiko==4.1.2
Code:
for cmds in cmds:
net_connect.write_channel(cmds)
output = net_connect.read_channel_timing()
output = net_connect.strip_ansi_escape_codes(output)
print(output)
Also when i use the find_prompt() it doesn’t detect anything
def testCPE(self, user, pswd, ip):
try:
self.vm_conn.write_channel('ssh -o StrictHostKeyChecking=no -l ' + user + ' ' + ip + '\r')
time.sleep(11)
print("1")
self.vm_conn.write_channel(pswd.format(self.vm_conn.password))
print("2")
time.sleep(10)
output = self.vm_conn.find_prompt()
print(output)
in this case output = “”
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Netmiko - Problems Connecting to Multiple Devices at a Time
I made a script that accepts an IP address as input and checks all of the ARP tables across all our layer three...
Read more >Multithreading with Python and Netmiko
In this segment we: Create the queue; Populate the queue with our devices settings; Start our threads. ResultsPermalink. Now that we've got our ......
Read more >Managing JUNOS device using Netmiko - Devang Patel
Documenting the way I learned to use Netmiko with JUNOS device.
Read more >Python script throws error ("Socket exception
Hi, I am new to python and have written a script based on my experience so far with python to automate the process...
Read more >Testing your network with Nornir TestsProcessor
... follow github account and twitter feed for latest updates. ... why not we all already running automated tests suits on a constant...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure!
Sorry about the delay.
test.log
There we go, log file!