hypervisors: add hvparams to GetNodeInfo
authorHelga Velroyen <helgav@google.com>
Thu, 6 Jun 2013 08:38:56 +0000 (10:38 +0200)
committerHelga Velroyen <helgav@google.com>
Wed, 12 Jun 2013 07:17:57 +0000 (09:17 +0200)
commitfac489a56410b927f19f81ef72755cab9f2b9d29
treee5de76c5e3185084ec89b24ce338d9de310d5161
parent2609da63da7b5b8e6c1e9d39ccb3bfe1726f3411
hypervisors: add hvparams to GetNodeInfo

This patch extends the GetNodeInfo function of the
hypervisors by a hvparams parameter. The parameter
is currently only used by the xen hypervisor to determine
which xen toolstack ('xm' or 'xl') to use.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/hypervisor/hv_base.py
lib/hypervisor/hv_chroot.py
lib/hypervisor/hv_fake.py
lib/hypervisor/hv_kvm.py
lib/hypervisor/hv_lxc.py
lib/hypervisor/hv_xen.py
test/py/ganeti.hypervisor.hv_xen_unittest.py