mirror of
https://github.com/hansjone/netx.git
synced 2026-10-12 17:53:21 +08:00
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:
parent
633a9d55bd
commit
8180f069ea
11 changed files with 2365 additions and 2090 deletions
|
|
@ -41,32 +41,34 @@ from .topology_schemas import (
|
|||
ViewPopulateRequest,
|
||||
ViewPositionsPatch,
|
||||
)
|
||||
from .topology_service import (
|
||||
from .topology_fabric 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,
|
||||
)
|
||||
from .topology_views import (
|
||||
add_nodes_to_view,
|
||||
bootstrap_topology_tree,
|
||||
create_folder,
|
||||
create_view,
|
||||
delete_folder,
|
||||
delete_view,
|
||||
get_discover_job,
|
||||
get_fabric_neighborhood,
|
||||
get_fabric_summary,
|
||||
get_topology_tree,
|
||||
get_view_graph,
|
||||
list_fabric_edges,
|
||||
list_fabric_nodes,
|
||||
list_views,
|
||||
merge_duplicate_fabric_nodes,
|
||||
patch_view_edge_style,
|
||||
patch_view_positions,
|
||||
populate_view,
|
||||
project_fabric_neighbors_to_view,
|
||||
refresh_fabric_stats,
|
||||
remove_view_nodes,
|
||||
start_discover_job,
|
||||
update_folder,
|
||||
update_view,
|
||||
upsert_fabric_edge,
|
||||
)
|
||||
|
||||
router = APIRouter(prefix="/v1/topology", tags=["topology"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue