mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
[XEND] Add debug class to Xen API plus non-standard debug.wait().
debug.wait(seconds) will just do a time.sleep() so the task progress support can be tested. Signed-off-by: Alastair Tse <atse@xensource.com>
This commit is contained in:
1 parent
7d65668740
commit
16324b1aff
2 files changed
+48
-1
No files matched your search
@@ -662,7 +662,7 @@ def xapi_debug_wait(args, async = False):
|
||||
if len(args) > 0:
|
||||
secs = int(args[0])
|
||||
server, session = connect()
|
||||
task_uuid = execute(server, 'Debug.wait', (session, secs), async=async)
|
||||
task_uuid = execute(server, 'debug.wait', (session, secs), async=async)
|
||||
print 'Task UUID: %s' % task_uuid
|
||||
|
||||
#
|
||||
|
||||