华为乾坤-修改设备所有接口NetStream:请求示例

时间:2025-05-12 15:32:41

请求示例

HTTP的示例
PUT /controller/campus/v1/sdwan/netstream/00000000-0000-0000-0000-000000000000/interface 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
{
	"netstreamIf" : [
		{
			"ifName" : "GE0/0/0",
			"netstreamIf" : {
				"config-status" : "",
				"errorInfo" : "",
				"flowType" : "IPv4",
				"samplerRates" : [
					{
						"direction" : "inbound",
						"fixPacketsValue" : 1
					}
				],
				"samplerEnables" : [
					{
						"direction" : "inbound"
					}
				],
				"applyFlexFlowRecordNames" : [
					 "record1"
				],
				"exportTnpFlag" : false,
				"afterDecapFlag" : false
			}
		}
	]
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128678898.html