Revision dac67c0a settings.py.dist
b/settings.py.dist | ||
---|---|---|
133 | 133 |
'synnefo.db', |
134 | 134 |
'synnefo.ganeti', |
135 | 135 |
'synnefo.logic', |
136 |
'south' |
|
137 | 136 |
) |
138 | 137 |
|
139 | 138 |
# The RAPI endpoint and associated credentials to use |
140 | 139 |
# for talking to the Ganeti backend. |
141 |
GANETI_CLUSTER_INFO = ("62.217.120.78", 5080, "synnefo", "ocean!") |
|
140 |
GANETI_MASTER_IP = "62.217.120.78" |
|
141 |
GANETI_CLUSTER_INFO = (GANETI_MASTER_IP, 5080, "synnefo", "ocean!") |
|
142 | 142 |
|
143 | 143 |
# This prefix gets used when determining the instance names |
144 | 144 |
# of Synnefo VMs at the Ganeti backend. |
... | ... | |
161 | 161 |
# parameter refers to a point in time more than POLL_LIMIT seconds ago. |
162 | 162 |
POLL_LIMIT = 3600 |
163 | 163 |
|
164 |
# This should be set to the PUB endpoint maintained by ganeti-0mqd. |
|
165 |
# Normally, this is a TCP port on the Ganeti master IP. |
|
166 |
GANETI_ZMQ_PUBLISHER = "tcp://62.217.120.67:5801" |
|
164 |
# Configuration for ganeti-0mqd, the Ganeti notification daemon |
|
165 |
# |
|
166 |
# ganeti-0mqd uses two 0mqd endpoints: |
|
167 |
# * A PULL endpoint for receiving job updates from code running inside |
|
168 |
# Ganeti hooks, running on TCP port GANETI_0MQD_PULL_PORT on the |
|
169 |
# Ganeti master IP, |
|
170 |
# * A PUB endpoint for publishing notifications to the rest of the |
|
171 |
# infrastructure, running on TCP port GANETI_0MQD_PUB_PORT on the |
|
172 |
# Ganeti master IP. |
|
173 |
# |
|
174 |
GANETI_0MQD_PUB_PORT = "5801" |
|
175 |
GANETI_0MQD_PULL_PORT = "5802" |
|
176 |
GANETI_0MQD_LOG_FILE = "/var/log/synnefo/ganeti-0mqd.log" |
|
177 |
GANETI_0MQD_PID_FILE = "/var/run/synnefo/ganeti-0mqd.pid" |
|
167 | 178 |
|
168 | 179 |
# The API implementation needs to accept and return absolute references |
169 | 180 |
# to its resources. Thus, it needs to know its public URL. |
Also available in: Unified diff