mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 13:50:44 +08:00
Wire cutover monitor to templates: project binding, multi-sheet evaluate, dual status semantics, and UI expect/HF.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
202196a197
commit
60a663e2f6
11 changed files with 808 additions and 159 deletions
|
|
@ -463,13 +463,18 @@ const en = {
|
|||
sectionName: "1. Task name",
|
||||
sectionTasks: "2. Bind collect tasks (required)",
|
||||
sectionTasksHint: "Pick the old-device and new-device business-monitor tasks.",
|
||||
sectionOptional: "3. Port mapping & baselines (optional)",
|
||||
sectionOptionalHint: "Skip for now if needed; set later under Baseline. Batches load after a collect task is chosen.",
|
||||
sectionOptional: "3. Monitor template, mapping & baselines (optional)",
|
||||
sectionOptionalHint:
|
||||
"Skip for now if needed; set later under Baseline. Defaults to the port cutover monitor template when omitted.",
|
||||
sectionPair: "Bound collect tasks",
|
||||
sectionPairHint: "Collect tasks are fixed at create time; adjust mapping and baselines here.",
|
||||
sectionPairHint: "Collect tasks are fixed at create time; adjust monitor template, mapping and baselines here.",
|
||||
sectionBaseline: "Baseline batches",
|
||||
sectionBaselineHint: "Old baseline feeds the expected-port picker; new baseline is optional.",
|
||||
sectionBaselineHint: "Old baseline feeds the expected-object picker; new baseline is optional.",
|
||||
optionalNone: "None",
|
||||
monitorTemplate: "Monitor template",
|
||||
monitorTemplateHint: "Chooses which metrics to compare and dual-side success semantics. Defaults to port cutover.",
|
||||
compareTemplate: "Compare template",
|
||||
compareTemplateBound: "Bound compare template: {{name}}",
|
||||
portMappingHint: "From Business compare port mappings; leave empty if none yet.",
|
||||
baselineNeedTask: "Select the matching collect task first",
|
||||
baselinePickHint: "Choose from that task’s collect batches",
|
||||
|
|
@ -479,8 +484,8 @@ const en = {
|
|||
oldBaseline: "Old baseline batch",
|
||||
newBaseline: "New baseline batch (optional)",
|
||||
needProjectFields: "Enter a name and pick old/new collect tasks",
|
||||
needExpectPorts: "Select at least one expected port for this batch",
|
||||
needBaselineFirst: "Save an old baseline batch first to list ports",
|
||||
needExpectPorts: "Select at least one expected object for this batch",
|
||||
needBaselineFirst: "Save an old baseline batch first to list expect objects",
|
||||
needBizStateTasks: "No business-monitor tasks yet. Create one first:",
|
||||
projectCreated: "Task created",
|
||||
projects: "Tasks",
|
||||
|
|
@ -506,11 +511,12 @@ const en = {
|
|||
tabSetup: "Baseline",
|
||||
tabBatches: "Batches",
|
||||
tabBoard: "Board",
|
||||
saveBaseline: "Save baseline / mapping",
|
||||
saveBaseline: "Save baseline / mapping / template",
|
||||
baselineSaved: "Baseline saved",
|
||||
pickExpectPorts: "Expected ports (from old baseline)",
|
||||
portFilterPh: "Filter interface / description",
|
||||
emptyBaselinePorts: "No interface_brief rows in baseline (enable that profile on the task)",
|
||||
pickExpectPorts: "Expected objects (from old baseline)",
|
||||
portFilterPh: "Filter object / description",
|
||||
emptyBaselinePorts:
|
||||
"No matching metric rows in baseline (confirm monitor template and collect profiles)",
|
||||
batchLabel: "Batch label",
|
||||
defaultBatchLabel: "Night N",
|
||||
expectPorts: "Expected ports (old side)",
|
||||
|
|
@ -527,7 +533,8 @@ const en = {
|
|||
metricPort: "Port status",
|
||||
progress: "Progress",
|
||||
anomaly: "Anomaly",
|
||||
onlyExpect: "Expected ports only",
|
||||
onlyExpect: "Expected objects only",
|
||||
allMetrics: "All metrics",
|
||||
colMetric: "Metric",
|
||||
colKey: "Object",
|
||||
colPort: "Old port",
|
||||
|
|
@ -548,10 +555,10 @@ const en = {
|
|||
verdictNotInvolved: "Not involved",
|
||||
verdictUnexpected: "Unexpected new",
|
||||
verdictOk: "OK",
|
||||
enableHighfreq: "Enable high-freq port collect",
|
||||
enableHighfreq: "Enable high-freq collect",
|
||||
highfreqHint:
|
||||
"Creates/reuses biz-state tasks with interface_brief only on old/new NEs. Add BGP etc. later on the same tasks in Business monitor.",
|
||||
highfreqReady: "High-freq port collect tasks ready and bound to this task",
|
||||
"Creates/reuses high-freq biz-state tasks on old/new NEs using the monitor template’s collect_metric_ids (empty = all compare-template metrics).",
|
||||
highfreqReady: "High-freq collect tasks ready and bound to this task",
|
||||
collectNow: "Collect old+new now",
|
||||
collectTriggered: "Collect triggered",
|
||||
openBizState: "Open business monitor",
|
||||
|
|
|
|||
|
|
@ -460,13 +460,17 @@ const zh = {
|
|||
sectionName: "1. 任务名称",
|
||||
sectionTasks: "2. 绑定采集任务(必填)",
|
||||
sectionTasksHint: "分别选择老设备、新设备上的业务监控任务;两侧不能为空。",
|
||||
sectionOptional: "3. 端口映射与基线(可选)",
|
||||
sectionOptionalHint: "可先跳过,创建后再到「基线配置」里设置。选了采集任务后才会加载对应批次。",
|
||||
sectionOptional: "3. 监控模板、映射与基线(可选)",
|
||||
sectionOptionalHint: "可先跳过,创建后再到「基线配置」里设置。未选监控模板时默认绑端口割接监控。",
|
||||
sectionPair: "已绑定采集任务",
|
||||
sectionPairHint: "采集任务在创建时绑定;此处只调整映射与基线。",
|
||||
sectionPairHint: "采集任务在创建时绑定;此处可调整监控模板、映射与基线。",
|
||||
sectionBaseline: "基线批次",
|
||||
sectionBaselineHint: "老侧基线用于列出本批预期端口;新侧基线可选。",
|
||||
sectionBaselineHint: "老侧基线用于列出本批预期对象;新侧基线可选。",
|
||||
optionalNone: "不选",
|
||||
monitorTemplate: "监控模板",
|
||||
monitorTemplateHint: "决定对比哪些 metric 与双端成功语义;默认端口割接监控。",
|
||||
compareTemplate: "对比模板",
|
||||
compareTemplateBound: "绑定对比模板:{{name}}",
|
||||
portMappingHint: "来自「业务对比」中的端口映射;没有可先不选。",
|
||||
baselineNeedTask: "请先选择对应采集任务",
|
||||
baselinePickHint: "从该任务的历史采集批次中选择",
|
||||
|
|
@ -476,8 +480,8 @@ const zh = {
|
|||
oldBaseline: "老设备基线批次",
|
||||
newBaseline: "新设备基线批次(可选)",
|
||||
needProjectFields: "请填写任务名并选择老/新采集任务",
|
||||
needExpectPorts: "请先勾选本批预期迁移的端口",
|
||||
needBaselineFirst: "请先保存老设备基线批次,才能列出端口",
|
||||
needExpectPorts: "请先勾选本批预期迁移的对象",
|
||||
needBaselineFirst: "请先保存老设备基线批次,才能列出预期对象",
|
||||
needBizStateTasks: "尚无业务监控任务,请先创建:",
|
||||
projectCreated: "任务已创建",
|
||||
projects: "任务",
|
||||
|
|
@ -503,11 +507,11 @@ const zh = {
|
|||
tabSetup: "基线配置",
|
||||
tabBatches: "割接批次",
|
||||
tabBoard: "判定看板",
|
||||
saveBaseline: "保存基线/映射",
|
||||
saveBaseline: "保存基线/映射/模板",
|
||||
baselineSaved: "基线已保存",
|
||||
pickExpectPorts: "本批预期端口(来自老基线)",
|
||||
portFilterPh: "筛选接口名 / 描述",
|
||||
emptyBaselinePorts: "基线中无端口状态数据(确认任务已采 interface_brief)",
|
||||
pickExpectPorts: "本批预期对象(来自老基线)",
|
||||
portFilterPh: "筛选对象 / 描述",
|
||||
emptyBaselinePorts: "基线中无对应 metric 数据(确认监控模板与采集任务已勾选相应 profile)",
|
||||
batchLabel: "批次标签",
|
||||
defaultBatchLabel: "第N晚",
|
||||
expectPorts: "本批预期端口(老侧)",
|
||||
|
|
@ -524,7 +528,8 @@ const zh = {
|
|||
metricPort: "端口状态",
|
||||
progress: "进度",
|
||||
anomaly: "异常",
|
||||
onlyExpect: "仅看预期端口",
|
||||
onlyExpect: "仅看预期对象",
|
||||
allMetrics: "全部监控项",
|
||||
colMetric: "监控项",
|
||||
colKey: "对象",
|
||||
colPort: "老侧端口",
|
||||
|
|
@ -545,10 +550,10 @@ const zh = {
|
|||
verdictNotInvolved: "未涉及",
|
||||
verdictUnexpected: "意外新增",
|
||||
verdictOk: "正常",
|
||||
enableHighfreq: "开启高频端口采集",
|
||||
enableHighfreq: "开启高频采集",
|
||||
highfreqHint:
|
||||
"在业务监控下为老/新设备各建(或复用)仅含 interface_brief 的任务并周期采集;后续要加 BGP 等直接去业务监控勾选即可。",
|
||||
highfreqReady: "高频端口采集任务已就绪(已绑定到本任务)",
|
||||
"按当前监控模板的 collect_metric_ids(空则取对比模板全量)为老/新设备各建或复用高频采集任务并勾选对应 profile。",
|
||||
highfreqReady: "高频采集任务已就绪(已绑定到本任务)",
|
||||
collectNow: "立即采集老+新",
|
||||
collectTriggered: "已触发采集",
|
||||
openBizState: "打开业务监控",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue