1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-23 11:04:49 +00:00
This commit is contained in:
savichev 2017-03-11 15:52:25 +00:00 committed by GitHub
commit c5bde536a5

View file

@ -70,3 +70,11 @@ class wvmHostDetails(wvmConnect):
def hypervisor_type(self):
"""Return hypervisor type"""
return get_xml_path(self.get_cap_xml(), "/capabilities/guest/arch/domain/@type")
def hypervisor_version(self):
"""Return hypervisor version"""
return self.wvm.getVersion()
def lib_version(self):
"""Return libvirt library version"""
return self.wvm.getLibVersion()