zstackio / doc-ch

ZStack Chinese user manual
Apache License 2.0
12 stars 21 forks source link

[VM]org.zstack.header.vm.APISetNicQosMsg #85

Open mingjian2049 opened 7 years ago

mingjian2049 commented 7 years ago

描述

设置云主机的网卡限速

API

org.zstack.header.vm.APISetNicQosMsg

举例(Example)

用户可以设置云主机的网卡限速,包括入网速度和出网速度

SetNicQos uuid=20d4521dcd0547f790bcfa4186c0e30e outboundBandwidth=1024000 inboundBandwidth=1024000

返回结果:

{
    "success": true
}

参数(Parameters)

名字 描述 可选的参数 起始支持版本
uuid 资源网卡的uuid
outboundBandwidth 出流量限制
inboundBandwidth 入流量限制

备注

Feature_link