[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Add uuid to host record returned by host_get_record. libxen fails to parse the host record with this field missing.
# HG changeset patch # User jfehlig@xxxxxxxxxxxxxxxxxxxxxxxxx # Node ID 5b97dafc7448f645313ef244ca77a4c47bf264e1 # Parent 2511ac1f1e213b7491bb848ce503df33f0ffc144 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> --- tools/python/xen/xend/XendAPI.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 2511ac1f1e21 -r 5b97dafc7448 tools/python/xen/xend/XendAPI.py --- a/tools/python/xen/xend/XendAPI.py Thu Nov 09 15:03:51 2006 -0800 +++ 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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |