]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: add connections counter to networks
authorLaine Stump <laine@laine.org>
Mon, 6 Aug 2012 20:17:58 +0000 (16:17 -0400)
committerLaine Stump <laine@laine.org>
Wed, 15 Aug 2012 03:53:58 +0000 (23:53 -0400)
commit300bcdb63b1d44120ee7b4a27382c20926400fcd
tree3c8f3c2eeb0a5ce3da154210e70342087ddb03ec
parent4fee4e052a3e65aafe637779b030b07a3d83a962
network: add connections counter to networks

Just as each physical device used by a network has a connections
counter, now each network has a connections counter which is
incremented once for each guest interface that connects using this
network.

The count is output in the live network XML, like this:

   <network connections='20'>
   ...
   </network>

It is read-only, and for informational purposes only - it isn't used
internally anywhere by libvirt.
docs/formatnetwork.html.in
docs/schemas/network.rng
src/conf/network_conf.c
src/conf/network_conf.h
src/network/bridge_driver.c