华为乾坤-查询LswOpsf:响应示例
时间:2025-05-12 15:31:19
响应示例
返回状态码为200:LswOspfInfo Information
HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "data" : { "pageIndex" : 1, "pageSize" : 20, "totalRecords" : 10, "totalPage" : 20, "ospfResList" : [ { "routerId" : "10.0.0.1", "processUUID" : "", "processId" : "auto", "opaqueLsa" : "", "gracefulRestart" : "", "staticProtocol" : { "enable" : true, "cost" : "1" }, "directProtocol" : { "enable" : true, "cost" : "1" }, "bgpProtocol" : { "enable" : true, "cost" : "1" }, "bandwidthReference" : "23", "preference" : "10", "silentInterfaceList" : { "all" : true, "interfaceNameList" : [ "" ] } } ] }, "errcode" : "0", "errmsg" : "" }
返回状态码为400:Error response
HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errorCode" : "", "errorMsg" : "" }
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001898279789.html