功能 #4308
增加基站软件本地配置导出导入
0%
描述
增加cu、du、功放、gnb_agent、baseservice、logwriter本地配置的导入导出
历史记录
由 钱 伯宁 更新于 大约 2 个月 之前
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
由 杨 凯 更新于 大约一个月 之前
- 状态 从 转测试 变更为 已解决
网管2.2.5版本已实现,基站版本[verinfo]
inner_ver_id=344
build_time=2025-10-30T08:42:37
desc=Rel_3.1.3_Pre1T8-1030
git_tag=760d2136be8aaf1259847d9b1af894206ccf3867
1、旧网管版本(2.2.4)导出的基站3.1.3T8版本配置数据,导入网管升级后(2.2.5)版本,需要重签名进行导入,若不签名提示需要配置签名后再导入
2、因网管新旧版本处理不同的tag值切换导出导入时需要配置签名,相同tag值平级导出导入不需要配置签名