Iustin Pop
authored
Currently the luxi.client.SubmitJob and Query methods return the unserialized result without processing it at all. This patch changes this by adding a 'RequestException' error that is raised if the query itself or the submission of the job failed, and (if not) returning only the 'result' field from the message. The patch also does processing on the result of a query if we queried for jobs, as the 'op_list' field in the result has serialized opcodes and we need the de-serialized. Reviewed-by: ultrotter
Name | Last commit | Last update |
---|---|---|
.. | ||
Makefile.am | ||
__init__.py | ||
backend.py | ||
bdev.py | ||
cli.py | ||
cmdlib.py | ||
config.py | ||
constants.py | ||
errors.py | ||
hypervisor.py | ||
jqueue.py | ||
locking.py | ||
logger.py | ||
luxi.py | ||
mcpu.py | ||
objects.py | ||
opcodes.py | ||
rpc.py | ||
ssconf.py | ||
ssh.py | ||
utils.py |