华为乾坤-批量更新QoS模板:请求参数

时间:2025-02-17 11:36:10

请求参数

表2 header参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

restconf-transaction-id

string

-

-

事务ID。

"00000000-0000-0000-0000-000000000000"

表3 body参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

huawei-nce-e-queue-template:user-queue-profile

REFERENCE

详细请参见表4

QoS模板。

-

表4 nes-ne-user-queue-profile-augment对象的参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

huawei-nce-e-queue-template:user-queue-profile

ARRAY_REFERENCE

详细请参见表5

QoS模板。

-

表5 nes-ne-user-queue-profile对象的参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

config-status

string

  • reserved

  • initial

  • configuring-database

  • configured-database-success

  • configured-database-failed

  • configuring-device

  • configured-device-success

  • configured-device-failed

reserved

配置状态,对应保留未用状态、初始状态、数据库存储中状态、预配置状态、数据库存储失败状态、部署中状态、成功状态、失败状态;不支持编辑,仅查询返回。

"reserved"

last-committed-time

string

0~255个字符。

-

最后提交时间,该特性最后提交时间;不支持编辑,仅查询返回。

"last-committed-time"

edit-state

string

  • RUNNING

  • CANDIDATE

  • UNDEPLOYING

  • UNDEPLOYED

-

编辑状态,对应运行状态、候选状态、取消部署状态、未部署状态;不支持编辑,仅查询返回。

"RUNNING"

name

string

1~63个字符。满足正则表达[a-zA-Z0-9]([^\s]*)。

-

模板名称,单一主键字段。

"UserQueueProfile"

mode

string

  • normal

  • time-range

  • 8cos-enhance

-

模板模式。AR6700V主设备,AR6700V子设备和AR6700V-L款型不支持。

"normal"

description

string

1~63个字符。

-

描述。AR6700V主设备,AR6700V子设备和AR6700V-L款型不支持。

"test"

traffic-behavior-user-queue

ARRAY_REFERENCE

0-256个列表项,详细请参见表6

流行为用户队列。

-

表6 nes-ne-user-queue-profile-traffic-behavior-user-queue对象的参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

name

string

1~31个字符。

-

流行为用户队列名称,单一主键字段。

"name"

scheduler-mode

string

  • pq

  • drr

  • not-config

-

调度模式。

"pq"

weight

int32

[1-100]

-

权重。

10

cir

int64

[64-100000000]

-

承诺速率。

64

pir

int64

[8-100000000]

-

峰值速率。

10

cir-percent

int32

[1-100]

-

承诺百分比。

20

pir-percent

int32

[1-100]

-

峰值百分比。

30

cbs

int64

[0-4194304]

-

承诺突发尺寸。

10

pbs

int64

[0-4194304]

-

峰值突发尺寸。

10

support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001853525912.html