fix(snmp): open the REST side session's SSH on port 22
configure_snmp_agent over the REST API opened its temporary SSH session on optional_args["port"], which names the REST API's port when REST is the transport. It now uses port 22, as the running-config fallback already did. The second finding of the issue, the unverified REST certificate, needs a decision and stays open. Refs #17
This commit is contained in:
1 parent
58428042f1
commit
874e25a1ce
3 files changed
+24
-6
No files matched your search
@@ -14,6 +14,11 @@ All notable changes to this driver. The format follows
|
||||
- The floor on urllib3 is 1.26.5: older releases bundle a `six` that Python 3.12
|
||||
cannot import.
|
||||
|
||||
### Fixed
|
||||
- `configure_snmp_agent` over the REST API opens its temporary SSH session on port 22.
|
||||
It used `optional_args["port"]`, which names the REST API's port when REST is the
|
||||
transport, so the SNMP setup failed on switches managed over REST.
|
||||
|
||||
## [0.6.0] - 2026-10-23
|
||||
|
||||
The first release on PyPI.
|
||||
|
||||
Reference in new issue
Block a user