功能 #4308
增加基站软件本地配置导出导入
0%
描述
增加cu、du、功放、gnb_agent、baseservice、logwriter本地配置的导入导出
历史记录
由 钱 伯宁 更新于 7 天 之前
Netconf 新增:
ModuleName: gnb-cfg
Body中的type:
    ImportGnbCfg    string = "import-gnb-cfg" //导入基站软件配置压缩包
    ExportGnbCfg    string = "export-gnb-cfg" //导出基站软件配置压缩包
上传基站软件配置消息接口:
2025-10-28T08:39:11.844017015Z  debug   netconfserver/netconfServer.go:165      Recv Netconf Request: <get><target><running/></target><operation>query</operation><gnb-cfg xmlns='http://www.yunzhiruantong.com/yzrt/yzmm/gnb-cfg/action/softwaremanage'>{"type":"upload","extension":"","value":""}</gnb-cfg></get>
2025-10-28T08:39:11.847776947Z  debug   utils/tool.go:141       Netconf Response:{"result":"success","data":"/data/yzmmData/upload_gnb_cfg","code":0}
2025-10-28T08:39:11.847814865Z  debug   netconfserver/netconfServer.go:161      Netconf time:3.797849ms
导出基站软件配置消息接口:
2025-10-28T08:35:59.912555353Z  debug   netconfserver/netconfServer.go:165      Recv Netconf Request: <get><target><running/></target><operation>query</operation><gnb-cfg xmlns='http://www.yunzhiruantong.com/yzrt/yzmm/gnb-cfg/action/softwaremanage'>{"type":"export-gnb-cfg","extension":"","value":""}</gnb-cfg></get>
2025-10-28T08:36:00.303002626Z  debug   utils/tool.go:141       Netconf Response:{"result":"success","data":"/data/yzmmData/download_gnb_cfg/GNBConfig-3.1.3.zip","code":0}
2025-10-28T08:36:00.303042293Z  debug   netconfserver/netconfServer.go:161      Netconf time:390.484607ms
导入基站软件配置消息接口:
2025-10-28T08:42:24.389824107Z  debug   netconfserver/netconfServer.go:165      Recv Netconf Request: <get><target><running/></target><operation>exec</operation><gnb-cfg xmlns='http://www.yunzhiruantong.com/yzrt/yzmm/gnb-cfg/action/softwaremanage'>{"type":"import-gnb-cfg","extension":"","value":""}</gnb-cfg></get>
2025-10-28T08:42:25.037022473Z  debug   utils/tool.go:141       Netconf Response:{"result":"success","data":"ok","code":0}
2025-10-28T08:42:25.037038515Z  debug   netconfserver/netconfServer.go:161      Netconf time:647.212658ms