Skip to content

Remove SNMP/router device discovery; devices are static-IP only - #145

Open
arvsa wants to merge 1 commit into
mainfrom
claude/remove-snmp-router-logic-vkvko1
Open

Remove SNMP/router device discovery; devices are static-IP only#145
arvsa wants to merge 1 commit into
mainfrom
claude/remove-snmp-router-logic-vkvko1

Conversation

@arvsa

@arvsa arvsa commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Devices are now added exclusively via a static IP address, single-add or
CSV bulk import. Removes the SNMP-based infrastructure polling/ARP-table
discovery mechanism end to end:

  • pingsvc: drop discovery.go, snmp_infra.go, snmp_enrich.go, arpsweep*.go
    and their tests, plus the discovery flags/wiring in main.go and the
    gosnmp dependency
  • backend: drop InfraPollTarget*/DiscoveredDevice* models, the
    /discovery routes, related crud.py functions, discovery-only routes on
    /devices, and AUTO_POPULATE_DISCOVERED_DEVICES/
    DISCOVERY_STALE_THRESHOLD_SECONDS config; add a migration dropping the
    infra_poll_target/discovered_device tables
  • frontend: remove the Infrastructure Targets and Discovered Devices
    admin pages, their API clients, schemas, routes and nav entries
  • dev tooling: remove the mock-lan/snmpsim fixture stack and its scripts
  • docs: drop plan/device-discovery-v1.md and SNMP/router references in
    README.md, development.md and plan/device-naming-and-bulk-import-v1.md

Devices are now added exclusively via a static IP address, single-add or
CSV bulk import. Removes the SNMP-based infrastructure polling/ARP-table
discovery mechanism end to end:

- pingsvc: drop discovery.go, snmp_infra.go, snmp_enrich.go, arpsweep*.go
  and their tests, plus the discovery flags/wiring in main.go and the
  gosnmp dependency
- backend: drop InfraPollTarget*/DiscoveredDevice* models, the
  /discovery routes, related crud.py functions, discovery-only routes on
  /devices, and AUTO_POPULATE_DISCOVERED_DEVICES/
  DISCOVERY_STALE_THRESHOLD_SECONDS config; add a migration dropping the
  infra_poll_target/discovered_device tables
- frontend: remove the Infrastructure Targets and Discovered Devices
  admin pages, their API clients, schemas, routes and nav entries
- dev tooling: remove the mock-lan/snmpsim fixture stack and its scripts
- docs: drop plan/device-discovery-v1.md and SNMP/router references in
  README.md, development.md and plan/device-naming-and-bulk-import-v1.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants