[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] [xend] 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 jfehlig@xxxxxxxxxxxxxxxxxxxxxxxxx # 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 <jfehlig@xxxxxxxxxx> diff -r 9a341c6ef6ae -r 3342aabd73e0 tools/python/xen/xend/XendAPI.py --- a/tools/python/xen/xend/XendAPI.py Mon Nov 13 14:25:48 2006 +0000 +++ b/tools/python/xen/xend/XendAPI.py Mon Nov 13 17:23:49 2006 -0700 @@ -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 Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |