fix(connect): name a full switch and a web page, not a bad password
A switch whose Telnet sessions were all taken, and a REST API answering the login with the web UI's HTML page, were both reported as an authentication failure, which sent the operator after the password. The Telnet login now keeps the switch's greeting in an in-memory session log and reports a full switch as a connection error; an HTML answer to the REST login says so. An SSH attempt records netmiko's underlying error instead of "timed out" when it was not a timeout. Session log objects need netmiko 4.3.0, which becomes the floor. Closes #13
This commit is contained in:
1 parent
874e25a1ce
commit
ee49948b2b
7 files changed
+233
-12
No files matched your search
@@ -27,7 +27,7 @@
|
||||
"napalm_procurve.procurve"
|
||||
],
|
||||
"python_file_lines": {
|
||||
"napalm_procurve/procurve.py": 1397
|
||||
"napalm_procurve/procurve.py": 1396
|
||||
},
|
||||
"untyped_public": [
|
||||
"napalm_procurve/procurve.py::ProcurveDriver.get_snmp_config"
|
||||
|
||||
Reference in new issue
Block a user