[Engine-devel] Add traffic shaping parameters for a network interface.

Giuseppe Vallarelli gvallare at redhat.com
Mon Jun 10 12:56:21 UTC 2013


Hi Guys, I've recently submitted a patch to support traffic shaping for a network interface (http://gerrit.ovirt.org/#/c/15445/).
This work is needed in order to support http://www.ovirt.org/Features/Network_QoS .
Given:

'specParams': {'inbound': {'average': '1000', 'peak': '5000', 'burst': '1024'},                                                                                                                 
               'outbound': {'average': '128', 'burst': '256'}}}

Generated xml is the following one:

<bandwidth>
<inbound average="1000" burst="1024" peak="5000"/>
<outbound average="128" burst="256"/>
</bandwidth>

As you can see I tried to keep the data structure as flat as possible having the bandwidth element not carrying any useful information.
Feedback is highly appreciated.

Cheers, Giuseppe.



More information about the Devel mailing list