Split UME and alarms routes out of main; align UI scopes.

Extract ume_support/ume_router and alarms_router so main stays startup-focused, add topology fabric/views import surfaces, and gate managed-NE writes by ne:write.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-02 16:30:29 +08:00
parent 633a9d55bd
commit 8180f069ea
11 changed files with 2365 additions and 2090 deletions

View file

@ -0,0 +1,27 @@
"""Topology fabric node/edge operations (narrow import surface for routers)."""
from __future__ import annotations
from .topology_service import (
get_discover_job,
get_fabric_neighborhood,
get_fabric_summary,
list_fabric_edges,
list_fabric_nodes,
merge_duplicate_fabric_nodes,
refresh_fabric_stats,
start_discover_job,
upsert_fabric_edge,
)
__all__ = [
"get_discover_job",
"get_fabric_neighborhood",
"get_fabric_summary",
"list_fabric_edges",
"list_fabric_nodes",
"merge_duplicate_fabric_nodes",
"refresh_fabric_stats",
"start_discover_job",
"upsert_fabric_edge",
]