feat(ops): add managed NE management and batch CLI collection

Introduce workbench operations for multi-vendor NE CRUD/connect-test and Netmiko batch collection with job lifecycle controls, log downloads, and paginated run filters.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-27 23:34:29 +08:00
parent 282dbe75af
commit 042c015045
36 changed files with 3695 additions and 17 deletions

View file

@ -3,7 +3,7 @@
*/
export type ModuleIconTone = "blue" | "green" | "amber";
export type WorkbenchSection = "monitoring";
export type WorkbenchSection = "monitoring" | "operations";
export type ModuleDefinition = {
moduleId: string;
@ -25,6 +25,24 @@ export const MODULES: readonly ModuleDefinition[] = [
iconTone: "blue",
titleKey: "layout.titleUme",
},
{
moduleId: "managed-ne",
path: "/ne",
section: "operations",
labelKey: "workbench.cards.managedNe",
descKey: "workbench.cards.managedNeDesc",
iconTone: "green",
titleKey: "layout.titleManagedNe",
},
{
moduleId: "collect",
path: "/collect",
section: "operations",
labelKey: "workbench.cards.collect",
descKey: "workbench.cards.collectDesc",
iconTone: "amber",
titleKey: "layout.titleCollect",
},
] as const;
export function getModuleById(moduleId: string): ModuleDefinition | undefined {