diff options
author | Lauren Perry <lauren.perry@codethink.co.uk> | 2015-03-30 12:32:58 +0100 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-04-17 08:41:58 +0000 |
commit | ab92ce0343b838b336313f604ea035a60dfcb960 (patch) | |
tree | 945fd98350ba347ca8c2e326670cdfe5f039b765 /distbuild/protocol.py | |
parent | 1c125ade7e19d1f92b49ad010ff4a9ec3faa36e4 (diff) | |
download | morph-ab92ce0343b838b336313f604ea035a60dfcb960.tar.gz |
distbuild: Add distbuild-list-jobs function
Add InitiatorListJobs class and list-jobs message template, add
distbuild-list-jobs to morph commandlist, send running job
information back to initiator, split out handling of build request
and list-jobs messages to separate functions and change generating
a random integer to UUID for message identification
Change-Id: Id02604f2c1201dbc10f6bbd7f501b8ce1ce0deae
Diffstat (limited to 'distbuild/protocol.py')
-rw-r--r-- | distbuild/protocol.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/distbuild/protocol.py b/distbuild/protocol.py index 268dcbf6..0f936946 100644 --- a/distbuild/protocol.py +++ b/distbuild/protocol.py @@ -85,6 +85,12 @@ _required_fields = { 'headers', 'body', ], + 'list-requests': [ + 'id', + ], + 'list-request-output': [ + 'message', + ], } |