ia64/xen-unstable

changeset 12430:5b97dafc7448

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>
author jfehlig@jfehlig2.provo.novell.com
date Mon Nov 13 17:23:49 2006 -0700 (2006-11-13)
parents 2511ac1f1e21
children e0dc5a544ea1
files tools/python/xen/xend/XendAPI.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAPI.py	Thu Nov 09 15:03:51 2006 -0800
     1.2 +++ b/tools/python/xen/xend/XendAPI.py	Mon Nov 13 17:23:49 2006 -0700
     1.3 @@ -481,7 +481,8 @@ class XendAPI:
     1.4      def host_get_record(self, session, host_ref):
     1.5          node = XendNode.instance()
     1.6          dom = XendDomain.instance()
     1.7 -        record = {'name_label': node.name,
     1.8 +        record = {'uuid': node.uuid,
     1.9 +                  'name_label': node.name,
    1.10                    'name_description': '',
    1.11                    'software_version': node.xen_version(),
    1.12                    'resident_VMs': dom.get_domain_refs(),