-
响应参数 返回状态码为200:删除成功,响应体参考DeleteNetstreamRecordName。 表4 DeleteNetstreamRecordName对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errCode string 0~10个字符。 - 错误码。 "0" errMsg string 0~255个字符。 - 错误描述。 "" data REFERENCE 详细请参见表5。 - - 表5 DelRecordInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 recordName string 1~32个字符。满足正则表达([^?"']{1,32})|("[^?"']{1,30}")|('[^?"']{1,30}')。 - 灵活流模板名。 "record1" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部异常。 详细信息请参见实际响应消息体。
-
请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/netstream/global/00000000-0000-0000-0000-000000000000/flexflowRecord/delete HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-AC
CES S-TOKEN: x-yyyyyy
{
"recordName" : "record1"
}
-
响应示例 返回状态码为200:删除成功,响应体参考DeleteNetstreamRecordName。 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
{
"errCode" : "0",
"errMsg" : "",
"data" : {
"recordName" : "record1"
}
} 返回状态码为400:请求参数错误。 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
返回状态码为500:内部异常。 HTTP/1.1 500 Internal Server Error
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
-
请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 delRecordInfo 是 REFERENCE 详细请参见表3。 删除灵活流模板信息。 - 表3 DelRecordInfo对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 recordName 是 string 1~32个字符。满足正则表达([^?"']{1,32})|("[^?"']{1,30}")|('[^?"']{1,30}')。 - 灵活流模板名。 "record1"
-
响应示例 返回状态码为200:配置成功,响应体参考NetstreamResponse。 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
{
"errCode" : "0",
"errMsg" : "",
"data" : {
"config-status" : "",
"errorInfo" : "",
"flowInsts" : {
"flowInst" : [
{
"flowType" : "IPv4",
"sourceIpv4Address" : "192.168.1.1",
"sourceIpv4Port" : 2000,
"exportVersion" : 5,
"indexSwitch" : 32,
"tcpSessionTimeout" : false,
"preClassify" : false,
"sysMacEnable" : false,
"originActiveAgeSeconds" : 1800,
"originInactiveSeconds" : 15,
"templateTimeoutRate" : 1,
"exportIpV4Hosts" : [
{
"address" : "192.168.2.1",
"port" : 2000,
"vpnName" : "underlay_1",
"dscpValue" : 15
}
]
}
]
},
"flexFlowRecords" : {
"flexFlowRecord" : [
{
"flowType" : "IPv4",
"recordName" : "record1",
"protocol" : true,
"tos" : true,
"sourceAddress" : true,
"destinationAddress" : true,
"sourcePort" : true,
"destinationPort" : true,
"bytesValue" : true,
"packetsValue" : false,
"inputInterface" : false,
"outputInterface" : false,
"sdWanConnection" : false,
"applicationName" : false,
"sysMacEnable" : false
}
]
},
"tmAfterEnable" : false,
"sourceIdExtendEnable" : false
}
} 返回状态码为400:请求参数错误。 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
返回状态码为500:内部异常。 HTTP/1.1 500 Internal Server Error
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
-
请求示例 HTTP的示例 GET /controller/campus/v1/sdwan/netstream/global/00000000-0000-0000-0000-000000000000 HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-ACCESS-TOKEN: x-yyyyyy
-
请求示例 HTTP的示例 DELETE /controller/campus/v1/sdwan/netstream/global/00000000-0000-0000-0000-000000000000 HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-ACCESS-TOKEN: x-yyyyyy
-
响应参数 返回状态码为200:删除成功,响应体参考CommonResponse。 表2 CommonResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errCode string 0~10个字符。 - 错误码。 "0" errMsg string 0~255个字符。 - 错误描述。 "" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部异常。 详细信息请参见实际响应消息体。
-
响应示例 返回状态码为200:删除成功,响应体参考CommonResponse。 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
{
"errCode" : "0",
"errMsg" : ""
} 返回状态码为400:请求参数错误。 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
返回状态码为500:内部异常。 HTTP/1.1 500 Internal Server Error
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
-
请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/netstream/00000000-0000-0000-0000-000000000000/interface/ifName/applyFlexflowRecord/delete HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-ACCESS-TOKEN: x-yyyyyy
{
"ifName" : "GE0/0/0",
"recordName" : "record1"
}
-
响应参数 返回状态码为200:删除成功,响应体参考DeleteNetstreamInterfaceRecordResponse。 表4 DeleteNetstreamInterfaceRecordResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errCode string 0~10个字符。 - 错误码。 "0" errMsg string 0~255个字符。 - 错误描述。 "" data REFERENCE 详细请参见表5。 - - 表5 DelInterfaceRecordInfo对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 ifName string 1~63个字符。 - 接口名称。 "GE0/0/0" recordName string 1~32个字符。满足正则表达([^?"']{1,32})|("[^?"']{1,30}")|('[^?"']{1,30}')。 - 灵活流模板名。 "record1" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部异常。 详细信息请参见实际响应消息体。
-
响应示例 返回状态码为200:删除成功,响应体参考DeleteNetstreamInterfaceRecordResponse。 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
{
"errCode" : "0",
"errMsg" : "",
"data" : {
"ifName" : "GE0/0/0",
"recordName" : "record1"
}
} 返回状态码为400:请求参数错误。 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
返回状态码为500:内部异常。 HTTP/1.1 500 Internal Server Error
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
-
请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 delInterfaceRecordInfo 是 REFERENCE 详细请参见表3。 删除接口采样使能信息 - 表3 DelInterfaceRecordInfo对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 ifName 是 string 1~63个字符。 - 接口名称。 "GE0/0/0" recordName 是 string 1~32个字符。满足正则表达([^?"']{1,32})|("[^?"']{1,30}")|('[^?"']{1,30}')。 - 灵活流模板名。 "record1"
-
URI /controller/campus/v1/sdwan/netstream/{deviceId}/interface/ifName/applyFlexflowRecord/delete 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 deviceId 是 string 0~36个字符。 - 设备ID。 "00000000-0000-0000-0000-000000000000"
-
响应示例 返回状态码为200:配置成功,响应体参考NetstreamResponse。 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
{
"errCode" : "0",
"errMsg" : "",
"data" : {
"config-status" : "",
"errorInfo" : "",
"flowInsts" : {
"flowInst" : [
{
"flowType" : "IPv4",
"sourceIpv4Address" : "192.168.1.1",
"sourceIpv4Port" : 2000,
"exportVersion" : 5,
"indexSwitch" : 32,
"tcpSessionTimeout" : false,
"preClassify" : false,
"sysMacEnable" : false,
"originActiveAgeSeconds" : 1800,
"originInactiveSeconds" : 15,
"templateTimeoutRate" : 1,
"exportIpV4Hosts" : [
{
"address" : "192.168.2.1",
"port" : 2000,
"vpnName" : "underlay_1",
"dscpValue" : 15
}
]
}
]
},
"flexFlowRecords" : {
"flexFlowRecord" : [
{
"flowType" : "IPv4",
"recordName" : "record1",
"protocol" : true,
"tos" : true,
"sourceAddress" : true,
"destinationAddress" : true,
"sourcePort" : true,
"destinationPort" : true,
"bytesValue" : true,
"packetsValue" : false,
"inputInterface" : false,
"outputInterface" : false,
"sdWanConnection" : false,
"applicationName" : false,
"sysMacEnable" : false
}
]
},
"tmAfterEnable" : false,
"sourceIdExtendEnable" : false
}
} 返回状态码为400:请求参数错误。 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
返回状态码为500:内部异常。 HTTP/1.1 500 Internal Server Error
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