diff options
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-x | module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote index f8e047e49..92edffa14 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -45,6 +45,8 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' void deletePackages( pids)' print ' getQueue()' print ' getCollector()' + print ' getQueueData()' + print ' getCollectorData()' print ' void addFiles(PackageID pid, LinkList links)' print ' void pushToQueue(PackageID pid)' print ' void pullFromQueue(PackageID pid)' @@ -269,6 +271,18 @@ elif cmd == 'getCollector': sys.exit(1) pp.pprint(client.getCollector()) +elif cmd == 'getQueueData': + if len(args) != 0: + print 'getQueueData requires 0 args' + sys.exit(1) + pp.pprint(client.getQueueData()) + +elif cmd == 'getCollectorData': + if len(args) != 0: + print 'getCollectorData requires 0 args' + sys.exit(1) + pp.pprint(client.getCollectorData()) + elif cmd == 'addFiles': if len(args) != 2: print 'addFiles requires 2 args' |