mirror of
https://github.com/hansjone/netx.git
synced 2026-10-16 10:23:19 +08:00
Harden UME/LLDP link ports and canvas styles around UME authority.
Resolve ports from EQ+PTP first, enrich from LLDP when compatible, miss only on valid LLDP evidence, and paint UME solid blue / LLDP dashed / missing red. Also localize new root maps as Root map in English. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
77832b271d
commit
137597cd25
16 changed files with 736 additions and 152 deletions
|
|
@ -149,6 +149,8 @@ class TopologyFolderCreate(BaseModel):
|
|||
kind: str = Field(default="region", description="region only from API")
|
||||
parent_id: str | None = None
|
||||
sort_order: int = 0
|
||||
# UI locale for auto-spawned「根图」/ Root map label (zh | en).
|
||||
locale: str = Field(default="", max_length=16)
|
||||
|
||||
|
||||
class TopologyFolderUpdate(BaseModel):
|
||||
|
|
@ -300,6 +302,8 @@ class ViewEdgeOut(BaseModel):
|
|||
stroke_width: int = 0
|
||||
line_style: str = ""
|
||||
discovered_at: datetime | None = None
|
||||
# UME links without EQ+PTP: show this instead of a_port↔b_port.
|
||||
display_label: str = ""
|
||||
|
||||
|
||||
class WorldScatterPointOut(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue