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:
jfehlig@jfehlig2.provo.novell.com committed 2006-11-13 17:23:49 -07:00
1 parent 335af9950f
commit dedbb36558
1 file changed
+2 -1
+2 -1
View File
@@ -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(),
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.