feat!: configure_snmp_agent with the caller's values replaces fix_snmp (0.3.0)
Tests / Test (Python 3.10) (pull_request) Successful in 17s
Tests / Test (Python 3.11) (pull_request) Successful in 17s
Tests / Test (Python 3.12) (pull_request) Successful in 21s

fix_snmp hard-coded community "public" and found the management VLAN
for the source interface with a substring match, so 10.0.0.1 matched
10.0.0.10 and a DNS name never matched (#3).

The driver implements napalm-device-types 4.13's configure_snmp_agent
steps: the caller's community (read-only, viewDefault), the source
interface set to the VLAN whose address is exactly the listen address
or the management address, configuration saved, and the community
checked in show snmp community. Contact and location are reported as
not set; there is no verified CLI for them on this switch. A value
that would break the CLI is refused.

The requirements now name napalm-device-types 4.13 in both files.

BREAKING CHANGE: run_device_action is removed.

Part of #3 and #4.
This commit is contained in:
Christian Manivong committed 2026-10-17 08:36:52 +02:00
1 parent f4d553b7df
commit c2f0f7c20a
4 files changed
+142 -74

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
napalm>=4.0.0
napalm_device_types>=0.1.0
napalm_device_types>=4.13.0
netmiko>=4.0.0
netaddr