功能 #3446
ai基站工具网管界面配置管理
0%
描述
增加网管界面对ai基站工具的配置管理:
1.增加usb配置自导入工具的开关,对端基站ip,端口配置管理(显示、下发);
2.增加ai基站后台服务开关配置(显示、下发);
3.usb配置自导入工具修改接口:
netconf edit-config请求
moduleName:sysrepouddtool
type SysrepoUddCfgInfo struct {
Sw bool `json:"switch"`//true:开,false:关
GnbIp string `json:"gnb_ip"`
GnbPort int `json:"gnb_port"`
}
4.usb配置自导入工具显示接口:
netconf get-config请求
moduleName:sysrepouddtool
type SysrepoUddCfgInfo struct {
Sw bool `json:"switch"`//true:开,false:关
GnbIp string `json:"gnb_ip"`
GnbPort int `json:"gnb_port"`
}
ai基站后台服务配置修改接口:
netconf edit-config请求
moduleName:sysrepoCfgTool
Data.value: 0(关),1(开)
ai基站后台服务配置获取接口:
netconf get-config请求
moduleName:sysrepoCfgTool
0(关),1(开)
历史记录
由 钱 伯宁 更新于 大约一个月 之前
增加网管界面对ai基站工具的配置管理:
1.增加usb配置自导入工具的开关,对端基站ip,端口配置管理(显示、下发);
2.增加ai基站后台服务开关配置(显示、下发);
3.usb配置自导入工具修改接口:
netconf edit-config请求
moduleName:sysrepouddtool
type SysrepoUddCfgInfo struct {
Sw bool `json:"switch"`//true:开,false:关
GnbIp string `json:"gnb_ip"`
GnbPort int `json:"gnb_port"`
}
4.usb配置自导入工具显示接口:
netconf get-config请求
moduleName:sysrepouddtool
type SysrepoUddCfgInfo struct {
Sw bool `json:"switch"`//true:开,false:关
GnbIp string `json:"gnb_ip"`
GnbPort int `json:"gnb_port"`
}
ai基站后台服务配置修改接口:
netconf edit-config请求
moduleName:sysrepocfgtool
Data.value: 0(关),1(开)
ai基站后台服务配置获取接口:
netconf get-config请求
moduleName:sysrepocfgtool
0(关),1(开)@马党旗
获取usb配置自导入工具获取配置请求示例:
<get-config><target><running/></target><operation>query</operation><sysrepouddtool xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/sysrepouddtool">{"type":"","extension":"","value":""}</sysrepouddtool></get-config>
应答: <data>{"result":"success","data":"{\"switch\":true,\"gnb_ip\":\"192.168.79.183\",\"gnb_port\":9999}","code":0}</data>
耗时: 76.9223ms
修改usb配置自导入工具修改配置请求示例:
请求: <edit-config><target><running/></target><operation>update</operation><sysrepouddtool xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/sysrepouddtool">{"type":"","extension":"","value":"{\"switch\":false,\"gnb_ip\":\"192.168.79.184\",\"gnb_port\":9999}"}</sysrepouddtool></edit-config>
应答: <data>{"result":"success","data":"ok","code":0}</data>
耗时: 182.3568ms
获取ai基站后台服务开关配置信息请求示例:
Request is: <get-config><target><running/></target><operation>query</operation><sysrepocfgtool xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/sysrepocfgtool">{"type":"","extension":"","value":""}</sysrepocfgtool></get-config>
应答: <data>{"result":"success","data":"0","code":0}</data>
耗时: 58.3752ms
修改ai基站后台服务开关配置信息请求示例:
Request is: <edit-config><target><running/></target><operation>update</operation><sysrepocfgtool xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/sysrepocfgtool">{"type":"","extension":"","value":"0"}</sysrepocfgtool></edit-config>
应答: <data>{"result":"success","data":"ok","code":0}</data>
耗时: 49.2028ms