Revision 18679072
b/lib/constants.py | ||
---|---|---|
112 | 112 |
NODE_INITD_SCRIPT = _autoconf.SYSCONFDIR + "/init.d/ganeti" |
113 | 113 |
|
114 | 114 |
NODED = "ganeti-noded" |
115 |
CONFD = "ganeti-confd" |
|
115 | 116 |
RAPI = "ganeti-rapi" |
116 | 117 |
MASTERD = "ganeti-masterd" |
117 | 118 |
|
... | ... | |
126 | 127 |
DAEMONS_PORTS = { |
127 | 128 |
# daemon-name: ("proto", "default-port") |
128 | 129 |
NODED: ("tcp", 1811), |
130 |
CONFD: ("udp", 1814), |
|
129 | 131 |
RAPI: ("tcp", 5080), |
130 | 132 |
} |
131 | 133 |
DEFAULT_NODED_PORT = DAEMONS_PORTS[NODED][1] |
134 |
DEFAULT_CONFD_PORT = DAEMONS_PORTS[CONFD][1] |
|
132 | 135 |
DEFAULT_RAPI_PORT = DAEMONS_PORTS[RAPI][1] |
133 | 136 |
|
134 | 137 |
FIRST_DRBD_PORT = 11000 |
... | ... | |
139 | 142 |
DAEMONS_LOGFILES = { |
140 | 143 |
# "daemon-name": "logfile" |
141 | 144 |
NODED: LOG_DIR + "node-daemon.log", |
145 |
CONFD: LOG_DIR + "conf-daemon.log", |
|
142 | 146 |
RAPI: LOG_DIR + "rapi-daemon.log", |
143 | 147 |
MASTERD: LOG_DIR + "master-daemon.log", |
144 | 148 |
} |
Also available in: Unified diff