[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEND] Add missing parameter and import from XendAPI and XendCheckpoint.



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Node ID f5b98471d6ffdf3714acdf5a878e4cf31149c369
# Parent  7df5d39a0d9a085bdb050ac721fe3b4ed3b8ebba
[XEND] Add missing parameter and import from XendAPI and XendCheckpoint.

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendAPI.py        |    4 ++--
 tools/python/xen/xend/XendCheckpoint.py |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff -r 7df5d39a0d9a -r f5b98471d6ff tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py  Fri Nov 10 12:49:54 2006 +0000
+++ b/tools/python/xen/xend/XendAPI.py  Fri Nov 10 13:09:01 2006 +0000
@@ -451,8 +451,8 @@ class XendAPI:
         return xen_api_success_void()
     def host_get_name_description(self, session, host_ref):
         return xen_api_success(XendNode.instance().description)
-    def host_set_name_description(self, session, host_ref):
-        XendNode.instance().set_description(new_description)
+    def host_set_name_description(self, session, host_ref, new_desc):
+        XendNode.instance().set_description(new_desc)
         return xen_api_success_void()
     def host_get_software_version(self, session, host_ref):
         return xen_api_success(XendNode.instance().xen_version())
diff -r 7df5d39a0d9a -r f5b98471d6ff tools/python/xen/xend/XendCheckpoint.py
--- a/tools/python/xen/xend/XendCheckpoint.py   Fri Nov 10 12:49:54 2006 +0000
+++ b/tools/python/xen/xend/XendCheckpoint.py   Fri Nov 10 13:09:01 2006 +0000
@@ -19,6 +19,7 @@ from xen.xend.XendError import XendError
 from xen.xend.XendError import XendError
 from xen.xend.XendLogging import log
 from xen.xend.XendConstants import *
+from xen.xend.XendConfig import XendConfig
 
 SIGNATURE = "LinuxGuestRecord"
 XC_SAVE = "xc_save"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.