New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RouterOS 6.49.6 issue #2860
Comments
@JavierJV Can you post the full exception stack trace? |
Add the try/catch but it doesn't throw any exception, the execution is correct. Detect that there are times when it works, but in the debug log it does not add info. Is there a lower level log? I add log when it works. |
sorry, missclick, I accidentally closed |
I probably need to get access to Mikrotik device...they are too challenging to figure out (in general) without having a device to test against. |
This could be a similar issue: We are supposed to have a device to test against later in the week. |
I am having problems with the version of RouterOS 6.49.6 and netmiko 4.1.1 that does not execute the commands correctly. In the version of RouterOS 6.48.6 everything works correctly. The tests were in a RB2011UiAS-2HnD with a clean configuration.
Code:
`from netmiko import ConnectHandler
import logging
logging.basicConfig(filename="test.log", level=logging.DEBUG)
logger = logging.getLogger("netmiko")
net_connect = ConnectHandler(
device_type="mikrotik_routeros",
host="10.114.130.221",
port="22", # port
username="admin",
password="123456",
session_log="output.txt", # debug
)
command = "interface wireless print terse"
output = net_connect.send_command(command).splitlines()
print(output)
net_connect.disconnect()`
attached log of both versions
log-netmiko-RouterOS-6-49-6.log
log-netmiko-RouterOS-6-48-6.log
The text was updated successfully, but these errors were encountered: