No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Evan Butler 233589941e Initial commit: netmap — network topology diagram renderer
Renders per-site network diagrams for the amyops Network page. Lives beside
amy_v2 in the Samba share rather than inside it: amy_v2's netmap_export.py
bridges the two, pulling live topology through amy's read-only api_get and
invoking `python -m netmap.cli render`. GPU-free, so the nightly timer can never
clash with kb_mine or amy.

Structure: vendor adapters (meraki / unifi / manual) normalise into model.py's
dataclasses, layout.py places them, and the SVG/PNG renderers draw from that
shared model. Adding a source means adding an adapter; nothing else changes.

Under version control late — this code has been in production since 2026-07-19
with no history at all, and three files were overwritten today with only a
hand-made backup as the undo. That is the reason for this commit.

63 tests, no network access required.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 16:12:31 -07:00
netmap Initial commit: netmap — network topology diagram renderer 2026-08-07 16:12:31 -07:00
templates Initial commit: netmap — network topology diagram renderer 2026-08-07 16:12:31 -07:00
tests Initial commit: netmap — network topology diagram renderer 2026-08-07 16:12:31 -07:00
.gitattributes Initial commit: netmap — network topology diagram renderer 2026-08-07 16:12:31 -07:00
.gitignore Initial commit: netmap — network topology diagram renderer 2026-08-07 16:12:31 -07:00
conftest.py Initial commit: netmap — network topology diagram renderer 2026-08-07 16:12:31 -07:00
PROGRESS.md Initial commit: netmap — network topology diagram renderer 2026-08-07 16:12:31 -07:00