mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 04:40:45 +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
|
|
@ -1060,7 +1060,14 @@ export const fetchTopologyViews = () =>
|
|||
|
||||
export const fetchTopologyTree = () => apiGet<TopologyTree>("/v1/topology/tree");
|
||||
|
||||
export const createTopologyFolder = (body: { name: string; kind?: string; parent_id?: string; sort_order?: number }) =>
|
||||
export const createTopologyFolder = (body: {
|
||||
name: string;
|
||||
kind?: string;
|
||||
parent_id?: string;
|
||||
sort_order?: number;
|
||||
/** UI locale so auto-spawned root map is「根图」or "Root map". */
|
||||
locale?: string;
|
||||
}) =>
|
||||
apiPost<{
|
||||
id: string;
|
||||
parent_id: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue