mirror of
https://github.com/retspen/webvirtcloud
synced 2026-03-23 11:04:49 +00:00
Merge 8b08b24d51 into d94ca38e5c
This commit is contained in:
commit
c5bde536a5
1 changed files with 8 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue