Revision 8c96d01f lib/constants.py
b/lib/constants.py | ||
---|---|---|
117 | 117 |
NODE_INITD_SCRIPT = _autoconf.SYSCONFDIR + "/init.d/ganeti" |
118 | 118 |
|
119 | 119 |
NODED = "ganeti-noded" |
120 |
RAPI = "ganeti-rapi" |
|
120 | 121 |
|
121 | 122 |
DAEMONS_PORTS = { |
122 | 123 |
# daemon-name: ("proto", "default-port") |
123 | 124 |
NODED: ("tcp", 1811), |
125 |
RAPI: ("tcp", 5080), |
|
124 | 126 |
} |
125 | 127 |
DEFAULT_NODED_PORT = DAEMONS_PORTS[NODED][1] |
128 |
DEFAULT_RAPI_PORT = DAEMONS_PORTS[RAPI][1] |
|
126 | 129 |
|
127 | 130 |
FIRST_DRBD_PORT = 11000 |
128 | 131 |
LAST_DRBD_PORT = 14999 |
... | ... | |
496 | 499 |
ELOG_MESSAGE = "message" |
497 | 500 |
ELOG_PROGRESS = "progress" |
498 | 501 |
|
499 |
RAPI_PORT = 5080 |
|
500 |
|
|
501 | 502 |
# max dynamic devices |
502 | 503 |
MAX_NICS = 8 |
503 | 504 |
MAX_DISKS = 16 |
Also available in: Unified diff