Add scan diff endpoint and update spec checklist.

Compare two scans by alive hosts and LLDP-derived links, then reflect completed diff milestone in technical spec.

Made-with: Cursor
This commit is contained in:
Andrey Lutsenko
2026-04-09 22:05:09 +10:00
parent ab94409a52
commit df32d43ac5
3 changed files with 81 additions and 3 deletions
+3 -3
View File
@@ -25,7 +25,7 @@
- [x] сбор LLDP соседей по SNMP;
- [x] сохранение результатов скана в БД;
- [x] построение базового графа связей устройств (`/links`, `/topology`);
- [ ] история сканов и сравнение изменений.
- [x] история сканов и сравнение изменений (`/api/scans/diff?from=&to=`).
## Нефункциональные требования
@@ -58,7 +58,7 @@
- [x] `POST /api/scans`
- [x] `GET /api/scans/{id}`
- [x] `GET /api/scans/{id}/topology`
- [ ] `GET /api/topology/diff?from=&to=`
- [x] `GET /api/scans/diff?from=&to=`
## Модель данных (минимум)
@@ -86,7 +86,7 @@
3. [x] Ping + port scan
4. [x] SNMP system + LLDP
5. [ ] Граф топологии в UI
6. [ ] История и diff
6. [x] История и diff
## Критерии приемки v1