相信很多人都经历过KVM限速的情况,对于虚拟化大牛就可以漂过了。

KVM限速对XML格式要求非常严格,而且也包括缩进

<interface type='network'>
<mac address='52:54:00:8d:60:f9'/>
<source network='default'/>
<bandwidth>
<inbound average='10' peak='10' burst='10'/>
<outbound average='10' peak='10' burst='10'/>
</bandwidth>
<target dev='vnet39'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
上面是一个真正限速的XML实例
-----------------------------------
©著作权归作者所有:来自51CTO博客作者chengjuny的原创作品,请联系作者获取转载授权,否则将追究法律责任
记录一次KVM限速的实例
https://blog.51cto.com/kamio/1959920

发表评论

邮箱地址不会被公开。 必填项已用*标注