Add Network Management module with collapsible left nav.

Consolidate devices, topology, alarms, WebCRT, and collection tasks under /network; keep legacy path redirects and workbench entry.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-07-31 09:48:31 +08:00
parent 3bd5d5b7da
commit 2fc47e5135
13 changed files with 595 additions and 182 deletions

View file

@ -23,6 +23,8 @@ const en = {
cards: {
umeSync: "UME Sync",
umeSyncDesc: "UME alarms, subscription & inventory",
network: "Network Management",
networkDesc: "Devices, topology, alarms, WebCRT, and monitoring tasks",
managedNe: "NE Management",
managedNeDesc: "Multi-vendor SSH/Telnet NEs & connectivity test",
collect: "Batch Collect",
@ -39,9 +41,33 @@ const en = {
apiKeysDesc: "Issue MCP/script tokens per user with expiry",
},
},
network: {
title: "Network Management",
nav: {
detail: "Network details",
tasks: "Monitoring tasks",
devices: "Device list",
topology: "Topology",
alarms: "Alarms",
webcrt: "WebCRT",
configSync: "Collection tasks",
portTraffic: "Port traffic",
},
placeholder: {
title: "Coming soon",
body: "This capability is not available yet.",
portTrafficTitle: "Port traffic monitoring",
portTrafficBody: "Planned: collect per-port traffic on a schedule and show trends. Suggested path:",
portTrafficStep1: "Task definition: NE/port scope, interval, retention",
portTrafficStep2: "Collection: prefer CLI (display/show interface); SNMP later at scale",
portTrafficStep3: "Storage: time series or hourly rollups (in/out bps, errors)",
portTrafficStep4: "UI: task list + per-port trend charts",
},
},
layout: {
title: "UME Integration",
titleUme: "UME Sync",
titleNetwork: "Network Management",
titleManagedNe: "NE Management",
titleCollect: "Batch Collect",
titleWebcrt: "WebCRT",
@ -614,6 +640,7 @@ const en = {
},
alarms: {
title: "Current alarms",
movedHint: "Current alarm query moved to Network Management →",
showPanel: "Expand",
hidePanel: "Collapse",
keywordPh: "keyword(alarm key/cause/ne_name/host_name/ip…)",