错误 #4505
核心网GbrQos配置接口修改
0%
描述
1.core_agent修改成请求获取、修改核心网LMT获取GbrQos配置;
2.网管根据新接口适配修改(结构中出现数组形式的配置字段,界面UI设计,前台数据处理);
3.页面支持GbrQos配置修改、创建、删除操作;
历史记录
由 钱 伯宁 更新于 22 天 之前
- 状态 从 进行中 变更为 审视
- 指派给 从 钱 伯宁 变更为 马 党旗
获取所有qos配置接口实例:
请求: <get-config><target><running/></target><operation>query</operation><ngc-qosConf xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/ngc-qosConf">{"type":"","extension":"","value":"{\"supi\":\"imsi-001010000000001\",\"dnn\":\"internet\"}"}</ngc-qosConf></get-config>
应答: <data>{"result":"success","data":"[{\"IMSI\":\"imsi-001010000000011\",\"DNN\":\"internet\",\"QFI\":1,\"Precedence\":1,\"ULGBR\":1,\"DLGBR\":1,\"FlowRules\":[{\"RuleId\":1,\"Precedence\":1,\"Proto\":\"udp\",\"ServerIP\":\"121212121212\",\"ServerPort\":12312,\"LocalPort\":1232}]}]","code":0}</data>
耗时: 21.3936ms
修改qos配置接口实例:
请求: <edit-config><target><running/></target><operation>update</operation><ngc-qosConf xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/ngc-qosConf">{"type":"","extension":"","value":"{\"IMSI\":\"imsi-001010000000011\",\"DNN\":\"internet\",\"Precedence\":1,\"QFI\":1,\"ULGBR\":1,\"DLGBR\":1,\"FlowRules\":[{\"RuleId\":1,\"Precedence\":1,\"Proto\":\"udp\",\"ServerIP\":\"121212121212\",\"ServerPort\":12312,\"LocalPort\":1232}]}"}</ngc-qosConf></edit-config>
应答: <data>{"result":"success","data":"ok","code":0}</data>
耗时: 34.5493ms
新增qos配置接口实例:
请求: <edit-config><target><running/></target><operation>add</operation><ngc-qosConf xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/ngc-qosConf">{"type":"","extension":"","value":"{\"IMSI\":\"imsi-001010000000011\",\"DNN\":\"internet\",\"Precedence\":1,\"QFI\":1,\"ULGBR\":1,\"DLGBR\":1,\"FlowRules\":[{\"RuleId\":1,\"Precedence\":1,\"Proto\":\"udp\",\"ServerIP\":\"121212121212\",\"ServerPort\":12312,\"LocalPort\":1232}]}"}</ngc-qosConf></edit-config>
应答: <data>{"result":"success","data":"ok","code":0}</data>
耗时: 34.5493ms
删除qos配置接口实例:
请求: <edit-config><target><running/></target><operation>delete</operation><ngc-qosConf xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/ngc-qosConf">{"type":"","extension":"","value":"{\"imsi\":\"imsi-001010000000011\",\"dnn\":\"internet\",\"qfi\":1}"}</ngc-qosConf></edit-config>
应答: <data>{"result":"failed","data":"del qos config failed,","code":32002}</data>
耗时: 29.7418ms
由 钱 伯宁 更新于 22 天 之前
钱 伯宁 写到:
获取所有qos配置接口实例:
请求: <get-config><target><running/></target><operation>query</operation><ngc-qosConf xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/ngc-qosConf">{"type":"","extension":"","value":"{\"supi\":\"001010000000001\",\"dnn\":\"internet\"}"}</ngc-qosConf></get-config>
应答: <data>{"result":"success","data":"[{\"IMSI\":\"imsi-001010000000011\",\"DNN\":\"internet\",\"QFI\":1,\"Precedence\":1,\"ULGBR\":1,\"DLGBR\":1,\"FlowRules\":[{\"RuleId\":1,\"Precedence\":1,\"Proto\":\"udp\",\"ServerIP\":\"121212121212\",\"ServerPort\":12312,\"LocalPort\":1232}]}]","code":0}</data>
耗时: 21.3936ms
修改qos配置接口实例:
请求: <edit-config><target><running/></target><operation>update</operation><ngc-qosConf xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/ngc-qosConf">{"type":"","extension":"","value":"{\"IMSI\":\"001010000000011\",\"DNN\":\"internet\",\"Precedence\":1,\"QFI\":1,\"ULGBR\":1,\"DLGBR\":1,\"FlowRules\":[{\"RuleId\":1,\"Precedence\":1,\"Proto\":\"udp\",\"ServerIP\":\"121212121212\",\"ServerPort\":12312,\"LocalPort\":1232}]}"}</ngc-qosConf></edit-config>
应答: <data>{"result":"success","data":"ok","code":0}</data>
耗时: 34.5493ms
新增qos配置接口实例:
请求: <edit-config><target><running/></target><operation>add</operation><ngc-qosConf xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/ngc-qosConf">{"type":"","extension":"","value":"{\"IMSI\":\"001010000000011\",\"DNN\":\"internet\",\"Precedence\":1,\"QFI\":1,\"ULGBR\":1,\"DLGBR\":1,\"FlowRules\":[{\"RuleId\":1,\"Precedence\":1,\"Proto\":\"udp\",\"ServerIP\":\"121212121212\",\"ServerPort\":12312,\"LocalPort\":1232}]}"}</ngc-qosConf></edit-config>
应答: <data>{"result":"success","data":"ok","code":0}</data>
耗时: 34.5493ms
删除qos配置接口实例:
请求: <edit-config><target><running/></target><operation>delete</operation><ngc-qosConf xmlns="http://www.yunzhiruantong.com/yzrt/yzmm/ngc-qosConf">{"type":"","extension":"","value":"{\"imsi\":\"001010000000011\",\"dnn\":\"internet\",\"qfi\":1}"}</ngc-qosConf></edit-config>
应答: <data>{"result":"failed","data":"del qos config failed,","code":32002}</data>
耗时: 29.7418ms
去除imsi-前缀