mirror of
https://github.com/hansjone/netx.git
synced 2026-10-15 11:05:53 +08:00
Improve UME ops triage APIs and slim fabric path payloads.
Add severity/time filters, exclude missing hosts from aggregates, and default topology paths to compact summary fields for MCP-friendly alarm triage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
753740d64e
commit
78d174232d
6 changed files with 505 additions and 50 deletions
|
|
@ -160,6 +160,7 @@ def api_fabric_paths(body: dict[str, Any] = Body(...), db: Session = Depends(get
|
|||
max_paths=int(body.get("max_paths") or 3),
|
||||
max_hops=int(body.get("max_hops") or 6),
|
||||
layer=str(body.get("layer") or "physical"),
|
||||
detail=str(body.get("detail") or "summary"),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue