Fix ZTE BGP RR *i/RD parsing and add batch collect detail UX.

Decouple heavy CLI parse via ParsePool, keep ECMP/multi-RD keys, and expose per-command CLI lines vs DB rows with raw.txt export.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-23 10:52:43 +08:00
parent 4c5738e48e
commit 05357e971e
31 changed files with 1952 additions and 269 deletions

View file

@ -266,14 +266,19 @@ const en = {
deselectAllVrfs: "Deselect all",
batches: "Batches",
viewBatch: "Open",
batchDetail: "Detail",
export: "Export",
exportCommands: "Export collect commands",
exportCommandsOk: "Collect commands exported",
exportRawLog: "Export as text",
exportRawLogOk: "Log exported",
noBatches: "No batches yet",
batchDetail: "Batch detail",
batchCollectDetail: "Collect detail",
batchWorkbook: "Batch workbook",
batchId: "Batch ID",
copyBatchId: "Copy batch ID",
batchMessageEmpty: "No message or error",
batchCmdSummary: "{{ok}} ok / {{fail}} failed / {{other}} other · {{total}} commands",
sheetCommands: "Commands",
sheetLldp: "LLDP neighbors",
sheetVrfRoute: "VRF route summary",
@ -292,6 +297,8 @@ const en = {
viewRawLog: "Raw log",
rawLogTitle: "Raw collect log",
rawLogEmpty: "No raw output",
rawLogStats: "{{lines}} lines collected · {{rows}} rows stored",
openWorkbook: "Open workbook",
filterColumn: "Column",
filterAllCols: "All columns",
listFilterPh: "Filter NE / IP / vendor / status",
@ -306,7 +313,8 @@ const en = {
colStarted: "Started",
colEnded: "Ended",
colTime: "Time",
colRows: "Rows",
colRows: "DB rows",
colRawLines: "CLI lines",
colActions: "Actions",
colCommand: "Command",
colMessage: "Message",

View file

@ -266,14 +266,19 @@ const zh = {
deselectAllVrfs: "取消全选",
batches: "采集批次",
viewBatch: "查看",
batchDetail: "详情",
export: "导出",
exportCommands: "导出采集命令",
exportCommandsOk: "已导出采集命令",
exportRawLog: "导出为文本",
exportRawLogOk: "日志已导出",
noBatches: "尚无批次",
batchDetail: "批次详情",
batchCollectDetail: "采集详情",
batchWorkbook: "批次工作簿",
batchId: "批次 ID",
copyBatchId: "复制批次 ID",
batchMessageEmpty: "无额外说明或报错",
batchCmdSummary: "命令 {{ok}} 成功 / {{fail}} 失败 / {{other}} 其他 · 共 {{total}} 条",
sheetCommands: "命令",
sheetLldp: "LLDP 邻居",
sheetVrfRoute: "VRF 路由摘要",
@ -292,6 +297,8 @@ const zh = {
viewRawLog: "原始日志",
rawLogTitle: "原始采集日志",
rawLogEmpty: "无原始输出",
rawLogStats: "采集 {{lines}} 行 · 入库 {{rows}} 条",
openWorkbook: "打开工作簿",
filterColumn: "筛选列",
filterAllCols: "全部列",
listFilterPh: "筛选网元 / IP / 厂商 / 状态",
@ -306,7 +313,8 @@ const zh = {
colStarted: "开始时间",
colEnded: "结束时间",
colTime: "时间",
colRows: "行数",
colRows: "入库条数",
colRawLines: "采集行数",
colActions: "操作",
colCommand: "命令",
colMessage: "说明",