Verify: xen toolstack, hypervisor and hvparams
authorHelga Velroyen <helgav@google.com>
Tue, 4 Jun 2013 15:24:49 +0000 (17:24 +0200)
committerHelga Velroyen <helgav@google.com>
Wed, 12 Jun 2013 07:17:35 +0000 (09:17 +0200)
commit75bf31493fc1d65c588a3be5d29b0d0e4733683f
tree78b2d820c00d6143af201aa2f6fb12d9cb9d2f66
parent8ac806e64004f1c736107f643a56bbffa5dbb38f
Verify: xen toolstack, hypervisor and hvparams

This patch extends the node verification by:
- Adding a check for the xen toolstack when the hypervisor
  is verified.
- Factoring out the hypervisor verification in a
  subfunction to increase testability.
- Factoring out the hvparams verification in a
  subfunction for the same reason.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/backend.py
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
lib/server/noded.py
test/py/ganeti.backend_unittest.py
test/py/ganeti.hypervisor.hv_xen_unittest.py