Read watcher pause using RPC, not directly
authorMichael Hanselmann <hansmi@google.com>
Tue, 11 Dec 2012 17:00:25 +0000 (18:00 +0100)
committerMichael Hanselmann <hansmi@google.com>
Thu, 13 Dec 2012 11:29:47 +0000 (12:29 +0100)
commitec5af88844d5c775df703e34f3947b45639eb134
tree963e50e325851147ca2bcde2b01887d8c3390f16
parent7c4bd156f8419db3cc6d116928a49e01efa70feb
Read watcher pause using RPC, not directly

The master daemon should not directly read files written by the node
daemon. This patch adds a new RPC to read the watcher pause file and
changes the master code to use it.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cmdlib.py
lib/rpc_defs.py
lib/server/noded.py