mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 14:10:44 +08:00
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:
parent
3bd5d5b7da
commit
2fc47e5135
13 changed files with 595 additions and 182 deletions
|
|
@ -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…)",
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ const zh = {
|
|||
cards: {
|
||||
umeSync: "UME同步",
|
||||
umeSyncDesc: "UME 告警同步、订阅与清单",
|
||||
network: "网络管理",
|
||||
networkDesc: "设备、拓扑、告警、WebCRT 与监控任务",
|
||||
managedNe: "网元管理",
|
||||
managedNeDesc: "多厂商 SSH/Telnet 网元与连通性测试",
|
||||
collect: "批量采集",
|
||||
|
|
@ -39,9 +41,33 @@ const zh = {
|
|||
apiKeysDesc: "为用户生成 MCP/脚本用 Token,可设有效期",
|
||||
},
|
||||
},
|
||||
network: {
|
||||
title: "网络管理",
|
||||
nav: {
|
||||
detail: "网络详情",
|
||||
tasks: "监控任务",
|
||||
devices: "设备列表",
|
||||
topology: "拓扑信息",
|
||||
alarms: "告警信息",
|
||||
webcrt: "WebCRT",
|
||||
configSync: "采集任务",
|
||||
portTraffic: "端口流量监控",
|
||||
},
|
||||
placeholder: {
|
||||
title: "功能规划中",
|
||||
body: "该能力尚未开放。",
|
||||
portTrafficTitle: "端口流量监控",
|
||||
portTrafficBody: "规划中:按任务采集设备端口流量并展示趋势。建议路径如下。",
|
||||
portTrafficStep1: "任务定义:选择网元/端口范围、采集周期与保留策略",
|
||||
portTrafficStep2: "采集:优先 CLI(display/show interface),规模上来后再 SNMP",
|
||||
portTrafficStep3: "存储:端口 in/out bps、error 等时序或按小时汇总",
|
||||
portTrafficStep4: "界面:任务列表 + 单端口趋势图",
|
||||
},
|
||||
},
|
||||
layout: {
|
||||
title: "UME 对接",
|
||||
titleUme: "UME同步",
|
||||
titleNetwork: "网络管理",
|
||||
titleManagedNe: "网元管理",
|
||||
titleCollect: "批量采集",
|
||||
titleWebcrt: "WebCRT",
|
||||
|
|
@ -611,6 +637,7 @@ const zh = {
|
|||
},
|
||||
alarms: {
|
||||
title: "当前告警",
|
||||
movedHint: "当前告警查询已迁至网络管理 →",
|
||||
showPanel: "展开",
|
||||
hidePanel: "收起",
|
||||
keywordPh: "keyword(告警键/原因/ne_name/host_name/ip 等)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue