项目

一般

简介

功能 #5288

nms.xml需要支持xpath获取值

薛 泽庆9 天 之前添加. 更新于 大约 13 小时 之前.

状态:
转测试
优先级:
一般
指派给:
开始日期:
2026-05-18
计划完成日期:
% 完成:

0%

预期时间:

描述

gnb-nms.xml需要支持xpath获取值

历史记录

#1

钱 伯宁 更新于 9 天 之前

  • 状态新建 变更为 进行中

新增Netconf接口:
type:.xpath
其他内容遵循sysrepo .xpath接口

#2

钱 伯宁 更新于 9 天 之前

  • 指派给钱 伯宁 变更为 薛 泽庆

gnb_agent已自测成功,待与网管联调。
修改接口:
Request is: <edit-config><target><running/></target><operation>update</operation><gnb-nms xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/gnb-nms">{"type":".xpath","extension":"","value":"\u003cconfig xpath=\"/gnb-nms:GNB-NMS/LOCAL_CONFIG/NET_CHECK_CONFIG/NET_CHECK_NAME\"\u003e\u003cxpathVal\u003etest123\u003c/xpathVal\u003e\u003c/config\u003e"}</gnb-nms></edit-config>
RecvResp.RawReply is: <data>{"result":"success","data":"ok","code":0}</data>
获取接口:
Request is: <get-config><target><running/></target><operation>query</operation><gnb-nms xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/gnb-nms">{"type":".xpath","extension":"","value":"\u003cconfig xpath=\"/gnb-nms:GNB-NMS/LOCAL_CONFIG/NET_CHECK_CONFIG/NET_CHECK_NAME\"\u003e\u003cxpathVal\u003e\u003c/xpathVal\u003e\u003c/config\u003e"}</gnb-nms></get-config>
RecvResp.RawReply is: <data>{"result":"success","data":"[{\"module\":\"gnb-nms\",\"data\":\"\\u003cconfig xpath=\\\"/gnb-nms:GNB-NMS/LOCAL_CONFIG/NET_CHECK_CONFIG/NET_CHECK_NAME\\\"\\u003etest123\\u003c/config\\u003e\"}]","code":0}</data>

#3

薛 泽庆 更新于 9 天 之前

  • 指派给薛 泽庆 变更为 马 党旗

agent返回从数组修改为对象:Request is: <get-config><target><running/></target><operation>query</operation><gnb-nms xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/gnb-nms">{"type":".xpath","extension":"","value":"\u003cconfig xpath=\"/gnb-nms:GNB-NMS/LOCAL_CONFIG/NET_CHECK_CONFIG/NET_CHECK_NAME\"\u003e\u003cxpathVal\u003e\u003c/xpathVal\u003e\u003c/config\u003e"}</gnb-nms></get-config>
RecvResp.RawReply is: <data>{"result":"success","data":"{\"module\":\"gnb-nms\",\"data\":\"\\u003cconfig xpath=\\\"/gnb-nms:GNB-NMS/LOCAL_CONFIG/NET_CHECK_CONFIG/NET_CHECK_NAME\\\"\\u003eeth2\\u003c/config\\u003e\"}","code":0}</data>

网管由原来的根据网元请求nms修改为根据内部版本号获取文件,减少请求次数,提高页面加载速度
nms由原来的全文件获取修改,替换成内部版本号大于等于535以后xpath获取及修改

#4

马 党旗 更新于 8 天 之前

  • 状态进行中 变更为 转测试
#5

马 党旗 更新于 大约 13 小时 之前

  • 指派给马 党旗 变更为 杨 凯

导出 Atom PDF