hv_xen: Refactor getting node information, add tests
authorMichael Hanselmann <hansmi@google.com>
Mon, 21 Jan 2013 17:17:42 +0000 (18:17 +0100)
committerMichael Hanselmann <hansmi@google.com>
Thu, 24 Jan 2013 11:58:04 +0000 (12:58 +0100)
commit06c9a52082019477c4f24229a1817486fb347b61
tree6804beb45eb6d509faac1271b0ecd6edc276c5b7
parentb255379d0828ac7df444e234c2d80dc40c76dc7b
hv_xen: Refactor getting node information, add tests

Refactor and add tests for getting node (Domain-0) information.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Makefile.am
lib/hypervisor/hv_xen.py
test/data/xen-xm-info-4.0.1.txt [new file with mode: 0644]
test/py/ganeti.hypervisor.hv_xen_unittest.py