From d41041819d2360dd50a377332a6326f04f88a3ce Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Mon, 14 Jul 2008 15:22:45 +0000
Subject: [PATCH] Further fixes to enable RAPI startup

Note that since RAPI itself doesn't use luxi.Client yet, nothing works,
but at least it can startup now.

Reviewed-by: imsnah
---
 lib/constants.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/constants.py b/lib/constants.py
index d42f5cb6b..d31b699ac 100644
--- a/lib/constants.py
+++ b/lib/constants.py
@@ -108,6 +108,8 @@ LOG_OS_DIR = LOG_DIR + "/os"
 LOG_NODESERVER = LOG_DIR + "/node-daemon.log"
 LOG_WATCHER = LOG_DIR + "/watcher.log"
 LOG_MASTERDAEMON = LOG_DIR + "/master-daemon.log"
+LOG_RAPISERVER = LOG_DIR + "/rapi-daemon.log"
+LOG_RAPIACCESS = LOG_DIR + "/rapi-access.log"
 
 OS_SEARCH_PATH = _autoconf.OS_SEARCH_PATH
 EXPORT_DIR = _autoconf.EXPORT_DIR
@@ -267,3 +269,7 @@ OP_STATUS_ERROR = "error"
 # Execution log types
 ELOG_MESSAGE = "message"
 ELOG_PROGRESS = "progress"
+
+# Temporary RAPI constants until we have cluster parameters
+RAPI_ENABLE = True
+RAPI_PORT = 5080
-- 
GitLab