First pass at an implementation of a message of the day. Decided
that storing the motd in a file called motd.txt in the same dir
as rpc_interface.py was the simplest solution.
Signed-off-by: Travis Miller <raphtee@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2659 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpc_interface.py b/frontend/afe/rpc_interface.py
index f81bd4c..1afacff 100644
--- a/frontend/afe/rpc_interface.py
+++ b/frontend/afe/rpc_interface.py
@@ -550,6 +550,7 @@
result['job_timeout_default'] = models.Job.DEFAULT_TIMEOUT
result['reboot_before_options'] = models.RebootBefore.names
result['reboot_after_options'] = models.RebootAfter.names
+ result['motd'] = rpc_utils.get_motd()
result['status_dictionary'] = {"Abort": "Abort",
"Aborted": "Aborted",