Add netx UME NE inventory tools for ops

Expose netx_query_ume_ne_inventory and netx_get_ume_ne (GET /v1/ume/inventory/ne and /ne/{id}). Update ops playbook, ROLE_SYSTEM, env example comment, and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-11 17:24:57 +08:00
parent 939a734e76
commit 1c90a3570e
6 changed files with 146 additions and 8 deletions

View file

@ -372,7 +372,7 @@ TAVILY_API_KEY=
# 【前端】多数上述项在 Admin 设置表单中有对应勾选或输入框。
# -----------------------------------------------------------------------------
# 二十二、netx(network_ops 内部工具:告警明细 / 聚合 / 诊断)
# 二十二、netx(network_ops 内部工具:UME 告警 / 网元清单 / 诊断)
# -----------------------------------------------------------------------------
# OCLAW_NETX_BASE_URL netx HTTP 根地址(无尾部斜杠);runtime/tools/experts/network_ops/netx_tools.py
# 调用 /v1/alarms、/v1/alarms/aggregate、/v1/diagnostics。