qos

The QoS Hook sets up QoS on a VM’s network interface.

libvirt domain xml:

    ... `    ` `        ` `        ` `    `     ...

Note: for average, peak, and burst explanation look at:

  # man tc tbf

Note: The ‘average’ attribute is mandatory, inbound or outbound elements can be used but not mandatory

syntax:

  qos=00:11:22:33:44:55=in{'average':'1','peek':'2','burst':'5'}^out{'average':'1'}&11:11:11:11:11:11=...

Example:

  qos=mac=in{...}^out{...}&mac..

Will add QoS to VM interface, can control the in and out traffic by average traffic, peek traffic and burst limit

download link: http://ovirt.org/releases/nightly/rpm/EL/6/hooks/vdsm-hook-qos-4.10.0-0.442.git6822c4b.el6.noarch.rpm