feat!: configure_snmp_agent with the caller's values replaces fix_snmp (0.4.0) #15

Merged
christianmanivong merged 2 commits from feat/snmp-agent-template into master 2026-10-17 06:48:20 +00:00
2 Commits
Author SHA1 Message Date
Christian Manivong 0527cd20c1 feat!: configure_snmp_agent with the caller's values replaces fix_snmp (0.4.0)
CI / test (3.10) (push) Successful in 24s
CI / test (3.11) (push) Successful in 24s
CI / test (3.12) (push) Successful in 24s
CI / test (3.10) (pull_request) Successful in 24s
CI / test (3.11) (pull_request) Successful in 23s
CI / test (3.12) (pull_request) Successful in 24s
fix_snmp hard-coded community "public". The driver implements
napalm-device-types 4.13's configure_snmp_agent as a whole, because
over REST a temporary SSH session has to run the config-mode CLI:
community (read-only), contact and location from the caller, saved
and verified in show snmp-server. The agent is built in and the switch
filters nothing for its management plane; the steps say so instead of
pretending. A value that would break the CLI is refused.

The unused _detect_management_vlan goes with it.

BREAKING CHANGE: run_device_action is removed.

Part of #12 and #6 (the dead helper).
2026-10-17 08:35:30 +02:00
Christian Manivong 0c0ab7c988 chore: declare napalm-device-types, stop tracking build artefacts
pyproject.toml did not list napalm-device-types although the code
imports it (CI installed it by hand); it now requires 4.13, whose fix
templates the next commit uses. Seven .pyc and six egg-info files were
tracked; they go, and a .gitignore keeps them out.

Closes #11
2026-10-17 08:35:20 +02:00