]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bandwidth: Define schema and create documentation
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Jul 2011 14:07:23 +0000 (16:07 +0200)
committerDaniel Veillard <veillard@redhat.com>
Mon, 25 Jul 2011 05:49:06 +0000 (13:49 +0800)
commita8923162c92654f5ec03ff8cdce91da65af3e233
tree01d99374b2eaa5b65220e26052ded3f97e3764e0
parent239322cbd4d559231b1e6cfb6a71c6c884752026
bandwidth: Define schema and create documentation

Define new 'bandwidth' element with possible child element 'inbound'
and 'outbound' addressing incoming and outgoing traffic respectively:

<bandwidth>
  <inbound average='1000' peak='2000' burst='5120'/>
  <outbound average='500'/>
</bandwidth>

Leaving any element out means not to shape traffic in that
direction.
The units for average and peak (rate) are in kilobytes per second,
for burst (size) are just in kilobytes.
This element can be inserted into domain's 'interface' and
'network'.
docs/formatdomain.html.in
docs/formatnetwork.html.in
docs/schemas/domain.rng
docs/schemas/network.rng
docs/schemas/networkcommon.rng