华为乾坤-批量修改QoS模板:请求示例

时间:2025-05-12 15:31:18

请求示例

HTTP的示例
PUT /controller/campus/v1/sdwan/policy/traffic/qos-profiles 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
{
	"qosProfiles" : [
		{
			"id" : "00000000-0000-0000-0000-000000000000",
			"name" : "templateName",
			"inboundCar" : {
				"enableInboundQos" : false,
				"cirValue" : 1,
				"cirPercentage" : 10,
				"pirValue" : 1,
				"pirPercentage" : 10
			},
			"enableQueuePriority" : false,
			"priorityLevel" : "highest",
			"guaranteedBandwidthValue" : 1,
			"guaranteedBandwidthPercentage" : 10,
			"enableBandwidthLimit" : false,
			"limitType" : "CAR",
			"limitBandwidthValue" : 1,
			"limitBandwidthPeakValue" : 1,
			"limitBandwidthPercentage" : 10,
			"enableRemarkDscp" : false,
			"remarkDscpValue" : 10,
			"enableRemark8021p" : false,
			"remark8021pValue" : 1,
			"enableRemarkMplsExp" : false,
			"remarkMplsExpValue" : 6,
			"enableStatistic" : false,
			"enableWred" : false,
			"wredProfileId" : "00000000-0000-0000-0000-000000000000",
			"wredProfileName" : "wredProfileName",
			"enableQueueLength" : false,
			"queueByteLength" : 3000,
			"queuePacketLength" : 10,
			"wanEnable" : true,
			"lanEnable" : false,
			"tcpOptimization" : {
				"enableTcpOptimization" : false,
				"congestionControlAlgorithm" : "BBR",
				"sendBufferMax" : 6000
			},
			"weightFixEnable" : false
		}
	]
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001823869122.html
提示

您即将访问非华为云网站,请注意账号财产安全