mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Add uuid to host record returned by host_get_record. libxen fails to parse the host record with this field missing.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
This commit is contained in:
1 parent
335af9950f
commit
dedbb36558
1 file changed
+2
-1
@@ -481,7 +481,8 @@ class XendAPI:
|
||||
def host_get_record(self, session, host_ref):
|
||||
node = XendNode.instance()
|
||||
dom = XendDomain.instance()
|
||||
record = {'name_label': node.name,
|
||||
record = {'uuid': node.uuid,
|
||||
'name_label': node.name,
|
||||
'name_description': '',
|
||||
'software_version': node.xen_version(),
|
||||
'resident_VMs': dom.get_domain_refs(),
|
||||
|
||||