Hypervisors report CPUs used by the node OS
authorBernardo Dal Seno <bdalseno@google.com>
Fri, 28 Jun 2013 16:13:16 +0000 (18:13 +0200)
committerBernardo Dal Seno <bdalseno@google.com>
Mon, 1 Jul 2013 11:40:20 +0000 (13:40 +0200)
commitff05ff9401274f58b755fd716ce2bb397b9262ee
tree1cb94c78f78a7c87b1955e911e861c59715feb1a
parentef14e12828ee7d35916d76cbba19f51ca1aebfec
Hypervisors report CPUs used by the node OS

The XenHypervisor's "dom0_cpus" parameter (introduced in 1d60fec6 but never
used) is renamed to "cpu_dom0" for consistency with other parameter
names. The analogous information is returned for the other hypervisors.

Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/hypervisor/hv_base.py
lib/hypervisor/hv_xen.py
test/py/ganeti.hypervisor.hv_xen_unittest.py