This avoids the need for them to be injected in the nbma repository.
Signed-off-by: Guido Trotter <[email protected]>
---
Or shall I put this into stable-2.1?
lib/constants.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/constants.py b/lib/constants.py
index 20d63fe..97f3e50 100644
--- a/lib/constants.py
+++ b/lib/constants.py
@@ -119,6 +119,7 @@ NODED = "ganeti-noded"
CONFD = "ganeti-confd"
RAPI = "ganeti-rapi"
MASTERD = "ganeti-masterd"
+NLD = "ganeti-nld"
MULTITHREADED_DAEMONS = frozenset([MASTERD])
@@ -133,6 +134,7 @@ DAEMONS_PORTS = {
NODED: ("tcp", 1811),
CONFD: ("udp", 1814),
RAPI: ("tcp", 5080),
+ NLD: ("udp", 1816),
}
DEFAULT_NODED_PORT = DAEMONS_PORTS[NODED][1]
DEFAULT_CONFD_PORT = DAEMONS_PORTS[CONFD][1]
@@ -149,6 +151,7 @@ DAEMONS_LOGFILES = {
CONFD: LOG_DIR + "conf-daemon.log",
RAPI: LOG_DIR + "rapi-daemon.log",
MASTERD: LOG_DIR + "master-daemon.log",
+ NLD: LOG_DIR + "nl-daemon.log",
}
LOG_OS_DIR = LOG_DIR + "os"
LOG_WATCHER = LOG_DIR + "watcher.log"
--
1.6.6.1