1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

move hypervisor info to connection.py

This commit is contained in:
catborise 2018-09-13 16:54:17 +03:00
parent 717241a421
commit 8e3dde808d

View file

@ -67,6 +67,6 @@ class wvmHostDetails(wvmConnect):
info.append(self.wvm.getURI()) #uri
return info
def hypervisor_type(self):
"""Return hypervisor type"""
return get_xml_path(self.get_cap_xml(), "/capabilities/guest/arch/domain/@type")