Add topology-canvas placeholder NE create (source=topology).

Toolbar and pane context menu create placeholders that follow the same setup path as LLDP in NE management and WebCRT.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-05 17:42:51 +08:00
parent 71c5193ecd
commit 241093343e
21 changed files with 460 additions and 31 deletions

View file

@ -737,6 +737,7 @@ const en = {
ume_sync: "UME sync",
webcrt: "WebCRT",
lldp: "LLDP placeholder",
topology: "Topology placeholder",
},
connect: {
run: "Connectivity test",
@ -1123,9 +1124,9 @@ const en = {
},
newSession: {
title: "New Session",
claimTitle: "Complete LLDP placeholder",
claimTitle: "Complete placeholder session",
claimHint:
"Enter a reachable host. Session name defaults to the LLDP placeholder. On success, source becomes WebCRT.",
"Enter a reachable host. Session name defaults to the placeholder name. On success, source becomes WebCRT.",
connect: "Connect",
connecting: "Connecting…",
protocol: "Protocol",
@ -1454,6 +1455,18 @@ const en = {
removeNode: "Remove from canvas",
removeEdge: "Delete edge",
nodeMenu: "Node",
paneMenu: "Canvas",
createNe: "Create NE",
createNeTitle: "Create topology placeholder NE",
createNeHint:
"Source is topology placeholder. Complete login via WebCRT, or promote in NE management.",
createNeName: "Name",
createNeNamePh: "e.g. SW-CORE-01",
createNeNameRequired: "NE name is required",
createNeIp: "IP (optional)",
createNeIpPh: "Can fill later during setup",
createNeDone: "Created placeholder {{name}}",
createNeBusy: "Creating…",
selectionMenu: "Selection",
edgeStyle: "Edge style",
edgeColor: "Color",

View file

@ -732,6 +732,7 @@ const zh = {
ume_sync: "UME 同步",
webcrt: "WebCRT",
lldp: "LLDP 占位",
topology: "拓扑占位",
},
connect: {
run: "连通性测试",
@ -1117,8 +1118,8 @@ const zh = {
},
newSession: {
title: "新建会话",
claimTitle: "完善 LLDP 占位会话",
claimHint: "请填写可达地址;会话名默认使用 LLDP 占位名。连接成功后来源将更新为 WebCRT。",
claimTitle: "完善占位会话",
claimHint: "请填写可达地址;会话名默认使用占位名。连接成功后来源将更新为 WebCRT。",
connect: "连接",
connecting: "连接中…",
protocol: "协议",
@ -1447,6 +1448,17 @@ const zh = {
removeNode: "从画布移除",
removeEdge: "删除链路",
nodeMenu: "网元",
paneMenu: "画布",
createNe: "建立网元",
createNeTitle: "建立拓扑占位网元",
createNeHint: "来源为拓扑占位;完善登录信息后可在 WebCRT 连接,或在网元管理升级为手工。",
createNeName: "名称",
createNeNamePh: "例如 SW-CORE-01",
createNeNameRequired: "请填写网元名称",
createNeIp: "IP(可选)",
createNeIpPh: "可稍后在完善时填写",
createNeDone: "已建立占位网元 {{name}}",
createNeBusy: "创建中…",
selectionMenu: "多选",
edgeStyle: "链路样式",
edgeColor: "颜色",