Add uuid to host record
PATCH 1/1 Add uuid to host record
This patch adds uuid to host record returned by host_get_record. libxen fails to parse the host record when this field missing.
Regards,
Jim
# HG changeset patch
# User [email protected]
# Date 1163463829 25200
# Node ID 3342aabd73e0332a398bc8f69543213d196a0845
# Parent 9a341c6ef6ae2ce90ccdcf89718d4365426d9d96
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 <[email protected]>
tools/python/xen/xend/XendAPI.py +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(),
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ewan Mellor
AppliedQuoted 2 lines · Jim Fehlig
This patch adds uuid to host record returned by
host_get_record. libxen fails to parse the host record when this field missing.
Applied, thanks Jim.
Ewan.