summaryrefslogtreecommitdiff
path: root/PROTOCOL
diff options
context:
space:
mode:
Diffstat (limited to 'PROTOCOL')
-rw-r--r--PROTOCOL6
1 files changed, 6 insertions, 0 deletions
diff --git a/PROTOCOL b/PROTOCOL
index f3d48ff..35ed369 100644
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -39,3 +39,9 @@ On receiving a 'register' operation the master must handle accordingly,
usually adding the coordinator as known and alive and provide new
platforms and architectures to run workers on. Also currently scheduled
jobs must be examined.
+
+The coordinators also send all known workers to the master as a list:
+
+{ "workers": { "name": "worker1", "mode": "direct", "command": "build.sh" }
+ { "name": "worker2", "mode": "direct", "command": "build.sh" }
+}