mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 08:48:05 +00:00
closes #268: fix issue with mikrotik commands
This commit is contained in:
parent
e0751311ba
commit
0f52bc438f
1 changed files with 1 additions and 6 deletions
|
|
@ -29,12 +29,7 @@ netmiko_device_globals = {
|
||||||
"mikrotik_switchos": {"global_cmd_verify": False},
|
"mikrotik_switchos": {"global_cmd_verify": False},
|
||||||
}
|
}
|
||||||
|
|
||||||
netmiko_device_send_args = {
|
netmiko_device_send_args = {}
|
||||||
# Netmiko doesn't currently handle the Mikrotik prompt properly, see
|
|
||||||
# ktbyers/netmiko#1956
|
|
||||||
"mikrotik_routeros": {"expect_string": r"\S+\s\>\s$"},
|
|
||||||
"mikrotik_switchos": {"expect_string": r"\S+\s\>\s$"},
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
class NetmikoConnection(SSHConnection):
|
class NetmikoConnection(SSHConnection):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue