hv_xen: Refactor running & parsing "xm list", add tests
This patch refactors “_RunXmList” and adds some tests. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
Showing
- Makefile.am 2 additions, 0 deletionsMakefile.am
- lib/hypervisor/hv_xen.py 92 additions, 63 deletionslib/hypervisor/hv_xen.py
- test/data/xen-xm-list-4.0.1-dom0-only.txt 2 additions, 0 deletionstest/data/xen-xm-list-4.0.1-dom0-only.txt
- test/data/xen-xm-list-4.0.1-four-instances.txt 5 additions, 0 deletionstest/data/xen-xm-list-4.0.1-four-instances.txt
- test/py/ganeti.hypervisor.hv_xen_unittest.py 90 additions, 1 deletiontest/py/ganeti.hypervisor.hv_xen_unittest.py
Loading
Please register or sign in to comment