查找智能网关ospf信息
更新时间 2026-05-26 14:26:40
最近更新时间: 2026-05-26 14:26:40
接口功能介绍
查找智能网关ospf信息
接口约束
无
URI
GET /v4/sdwan/edge-ospf/list
路径参数 无
Query参数
| 参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|---|
| edgeID | 是 | String | 智能网关ID | 87a74704-3efd-11ed-910d-005056893e3e |
请求参数
请求头header参数 无
请求体body参数 无
响应参数
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| statusCode | Integer | 返回状态码('800为成功,900为失败) ,默认值:800 | 800 | |
| errorCode | String | 业务细分码,为product.module.code三段式码 | ||
| message | String | 失败时的错误描述,一般为英文描述 | ||
| description | String | 失败时的错误描述,一般为中文描述 | ||
| returnObj | Object | 返回参数 | returnObj | |
| error | String | 业务细分码,为product.module.code三段式码 |
表 returnObj
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| result | Array of Objects | 查询ospf | result | |
| totalCount | Integer | 总数量 | 1 | |
| currentCount | Integer | 当前页数量 | 1 |
表 result
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| ospfIntfIP | String | ospf接口IP | 10.1.1.1 | |
| ospfEnable | Boolean | 是否启用ospf | true | |
| authEnable | Boolean | 是否开启md5认证 | true | |
| helloTime | Integer | 上传Hello包之间的周期性间隔 | 60 | |
| deadTime | Integer | 等待接收Hello数据包的时间 | 20 | |
| areaID | Integer | 区域ID | 1 | |
| routerID | String | ospf业务标识 | 100.1.1.1 | |
| areaType | String | 本参数表示区域类型 取值范围: NSSA:NSSA | NSSA | |
| keyID | String | md5认证的key-id | 1 | |
| mdsKey | String | md5认证的mds-key | 123456 |
枚举参数
无
请求示例
请求url
无
请求头header
无
请求体body
无
响应示例
{
"statusCode": 800,
"returnObj": {
"result": [
{
"ospfIntfIP": "10.1.1.1",
"ospfEnable": true,
"authEnable": true,
"helloTime": 60,
"deadTime": 20,
"areaID": 1,
"routerID": "100.0.0.1",
"areaType": "NSSA",
"keyID": "1",
"mdsKey": "123456"
}
],
"totalCount": 1,
"currentCount": 1
},
"errorCode": "",
"error": "",
"message": "",
"description": ""
}
状态码
请参考 状态码
错误码
请参考 错误码