mirror of
https://github.com/hansjone/netx.git
synced 2026-10-16 01:50:45 +08:00
Add offline biz_state log import with unified create-task entry.
Create tasks via pick-NE or import log; re-import appends batches like collects, without inventory NE or SSH. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
7b5f03ad54
commit
d701e4a35e
13 changed files with 1991 additions and 139 deletions
|
|
@ -176,6 +176,11 @@ const en = {
|
|||
title: "Business monitor",
|
||||
create: "Create task",
|
||||
createHint: "Pick any valid NE (managed / UME); search supported",
|
||||
createModeDevice: "Pick device",
|
||||
createModeImport: "Import log",
|
||||
createImportHint:
|
||||
"No NE needed: upload a session log or zip to create an Import task and parse the first batch. Re-import later on the task to append batches (same as multiple collects).",
|
||||
createImportSubmit: "Create & import",
|
||||
created: "Task created",
|
||||
createFailed: "Create failed",
|
||||
empty: "No business-state tasks yet.",
|
||||
|
|
@ -195,6 +200,19 @@ const en = {
|
|||
scheduleOff: "Manual",
|
||||
scheduleHint: "When checked, collect on interval; otherwise only Collect now.",
|
||||
collectNow: "Collect now",
|
||||
importLog: "Import log",
|
||||
importLogHint:
|
||||
"Append a new batch to this task (same as one collect): full session or zip; discard noise before show/display; split on hostname#show; fail if no show (no SSH).",
|
||||
importVendor: "Vendor",
|
||||
importVendorGeneric: "Generic (show+display)",
|
||||
importFile: "Log file",
|
||||
importNeName: "Task name (optional)",
|
||||
importNeNamePh: "e.g. PE1-offline",
|
||||
importSubmit: "Import as new batch",
|
||||
importing: "Importing",
|
||||
importStarted: "Import started ({{count}} segments)",
|
||||
importOfflineOnly: "Import tasks are offline-only (no SSH collect)",
|
||||
sourceImport: "Import",
|
||||
stopCollect: "Stop collect",
|
||||
stopCollectOk: "Stop collect requested",
|
||||
stopCollectIdle: "No collect in progress",
|
||||
|
|
|
|||
|
|
@ -176,6 +176,11 @@ const zh = {
|
|||
title: "业务监控",
|
||||
create: "创建任务",
|
||||
createHint: "从托管 / UME 等有效网元中选择(支持查找)",
|
||||
createModeDevice: "选择设备",
|
||||
createModeImport: "手动导入",
|
||||
createImportHint:
|
||||
"无网元也可建任务:上传会话日志或 zip,自动切分 show/display 并解析为首个批次。之后可在任务上多次「导入日志」追加批次(等同于多次采集)。",
|
||||
createImportSubmit: "创建并导入",
|
||||
created: "已创建任务",
|
||||
createFailed: "创建失败",
|
||||
empty: "暂无业务监控任务。",
|
||||
|
|
@ -195,6 +200,19 @@ const zh = {
|
|||
scheduleOff: "手动",
|
||||
scheduleHint: "勾选后按周期自动采集;不勾选则仅支持「立即采集」。",
|
||||
collectNow: "立即采集",
|
||||
importLog: "导入日志",
|
||||
importLogHint:
|
||||
"向当前任务追加一批次(等同于一次采集):支持整段会话或 zip,丢掉 show/display 前杂讯,按 hostname#show 切分;整份无 show 则失败(无需 SSH)。",
|
||||
importVendor: "厂商",
|
||||
importVendorGeneric: "通用(show+display)",
|
||||
importFile: "日志文件",
|
||||
importNeName: "任务名称(可选)",
|
||||
importNeNamePh: "例如:PE1-offline",
|
||||
importSubmit: "导入为新批次",
|
||||
importing: "导入中",
|
||||
importStarted: "已开始导入({{count}} 段命令)",
|
||||
importOfflineOnly: "导入任务仅支持离线导入,无 SSH 采集",
|
||||
sourceImport: "导入",
|
||||
stopCollect: "停止采集",
|
||||
stopCollectOk: "已请求停止采集",
|
||||
stopCollectIdle: "当前没有进行中的采集",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue