[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:
Alastair Tse committed 2007-01-24 15:59:09 +00:00
1 parent 7d65668740
commit 16324b1aff
2 files changed
+48 -1

No files matched your search

+1 -1
View File
@@ -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
#
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.