summaryrefslogtreecommitdiff
path: root/PROTOCOL
diff options
context:
space:
mode:
Diffstat (limited to 'PROTOCOL')
-rw-r--r--PROTOCOL12
1 files changed, 12 insertions, 0 deletions
diff --git a/PROTOCOL b/PROTOCOL
index 35ed369..14b0691 100644
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -45,3 +45,15 @@ 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" }
}
+
+Coordinator operations:
+-----------------------
+
+{ "op": "start", "rule": "master", "worker": "worker1" }
+{ "op": "stop", "rule": "master", "worker": "worker1" }
+{ "op": "kill", "rule": "master", "worker": "worker1" }
+
+The master sends this as survey call to all coordinators, the coordinator
+who feels responsible for this working with start/stop/kill the worker
+with the given name.
+