Improve topology UX, traffic discover logs, and CLI wrap parsing.

Paginate LLDP job items, surface port-traffic raw logs with a 300s default, harden topology discover/edit/zoom/fullscreen, and join mid-token CLI wraps before TextFSM.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-03 19:24:43 +08:00
parent 66f26b738d
commit c13ab48ba7
22 changed files with 693 additions and 75 deletions

View file

@ -590,6 +590,9 @@ export type TopologyDiscoverJob = {
ended_at?: string | null;
created_at?: string | null;
items: TopologyDiscoverJobItem[];
items_total?: number;
items_page?: number;
items_page_size?: number;
};
/** @deprecated alias — prefer TopologyViewItem */
@ -887,6 +890,10 @@ export type PortTrafficDiscoverResponse = {
vendor: string;
vendor_key: string;
ports: PortTrafficDiscoverPort[];
ok?: boolean;
command?: string;
raw_preview?: string;
error?: string;
};
export type PortTrafficSamplePoint = {