fix: drop stubs that claim what a phone cannot do (0.1.1) #3

Merged
christianmanivong merged 1 commits from chore/drop-snmp-stub into master 2026-10-16 23:07:00 +00:00
Owner
  • get_health_metrics, get_ssids, get_radio_info, get_wireless_clients only raised NotImplementedError (leftovers from AccessPointDriver); a stub makes a capability check answer yes.
  • Stops tracking .pyc and egg-info files .gitignore already lists.

Closes #2

With NetOrk/netork#1129 a phone is no longer SNMP-polled (today it is, and the stub raises every time). Part of NetOrk/netork#1105.

- `get_health_metrics`, `get_ssids`, `get_radio_info`, `get_wireless_clients` only raised `NotImplementedError` (leftovers from `AccessPointDriver`); a stub makes a capability check answer yes. - Stops tracking `.pyc` and egg-info files `.gitignore` already lists. Closes #2 With NetOrk/netork#1129 a phone is no longer SNMP-polled (today it is, and the stub raises every time). Part of NetOrk/netork#1105.
christianmanivong added 1 commit 2026-10-16 10:04:03 +00:00
fix: drop stubs that claim what a phone cannot do (0.1.1)
CI / test (3.10) (push) Successful in 29s
CI / test (3.11) (push) Successful in 26s
CI / test (3.12) (push) Successful in 28s
CI / test (3.10) (pull_request) Successful in 30s
CI / test (3.11) (pull_request) Successful in 28s
CI / test (3.12) (pull_request) Successful in 29s
46ff971953
get_health_metrics, get_ssids, get_radio_info and get_wireless_clients
only raised NotImplementedError. They are left over from when the
driver sat on AccessPointDriver, and a stub makes a capability check
(callable(getattr(driver, name))) answer yes. The application polls
SNMP itself (napalm-device-types docs/STRUCTURE.md); a phone has no
profile to declare.

Also stops tracking the .pyc and egg-info files .gitignore already
lists.

Closes #2
christianmanivong merged commit 8d38e6f119 into master 2026-10-16 23:07:00 +00:00
christianmanivong deleted branch chore/drop-snmp-stub 2026-10-16 23:07:00 +00:00
Sign in to join this conversation.