45ce9d3f7e
feat(mcp): add netx-mcp package and HTTP stdio MCP
...
- Extract installable packages/netx-mcp (12 HTTP tools, mcp.json)
- Delegate netx_api.mcp to netx_mcp; keep legacy db_server shim
- Add docs/MCP.md, install payload, pyproject entry, tests
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-30 15:44:32 +08:00
21f7cfba41
feat(ume): denormalize host_name onto alarms for display and grouping
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-20 00:05:10 +08:00
47033f14ab
fix(netx): order current alarms by time_created desc
...
Sort UME current alarms by time_created descending (newest first) with last_seen_at and alarm_key as tie-breakers to keep offset/limit pagination stable. Apply the same default ordering in the MCP tool listing.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 17:28:52 +08:00
d0994f6e53
feat(UME): 完善网元字段注释并补齐IPv6地址字段
...
为 ume_inventory_ne 的关键字段补充建表注释并在启动时执行 COMMENT ON 同步历史库结构,同时新增 ipv6_address 字段并完成入库映射、接口返回与前端类型定义对齐。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-08 22:19:06 +08:00
267eddb273
feat(UME): 切换marker分页并简化告警表字段
...
告警同步改为按响应头 marker 连续迭代,支持 iterator is null 的500尾页兜底,同时移除告警表中的 ne_name/user_label 冗余字段,统一在查询层与网元表 join 补齐展示信息。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-08 18:58:24 +08:00
3ea4f08bea
feat(UME): 完善网元元数据入库并增强告警/前端展示
...
补齐 ume_inventory_ne 的关键元数据字段并在同步时结构化落库,支持从 alarmkey 推导 ne_id、告警查询连表补齐 user_label/ne_name,同时优化 UME 页面分页显示与网元展开详情,提升运维排障可读性。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-08 17:02:57 +08:00
7f2e4ec393
feat(UME): 增加RESTCONF对接与可视化运维页
...
- 支持 token 获取/续约/断开、DB共享缓存与跨进程单飞锁、keepalive 保活
- 新增 inventory/current/history 告警同步入库与查询接口,前端增加 UME 对接页面与分页
- 修复 stop_netx.ps1 在部分 PowerShell 版本下 Stop-Job -Force 报错
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-08 01:36:53 +08:00
f49c0b5bad
feat: initialize netx ops tool repository
...
Set up netx as a standalone git-managed project with isolated Python dependencies, alarm ingestion/query APIs, oclaw bridge integration, and ops-focused UI enhancements including history and raw field access.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 23:43:21 +08:00