Revision f533f224 settings.py.dist
b/settings.py.dist | ||
---|---|---|
173 | 173 |
RABBIT_PASSWORD = "0k3@n0s" |
174 | 174 |
RABBIT_VHOST = "/" |
175 | 175 |
|
176 |
#
|
|
176 |
# |
|
177 | 177 |
# Queues, exchanges and bindings for AMQP |
178 | 178 |
# |
179 | 179 |
EXCHANGE_GANETI = "ganeti" # Messages from Ganeti |
... | ... | |
245 | 245 |
# Minutes between reconciliations |
246 | 246 |
RECONCILIATION_MIN = 30 |
247 | 247 |
|
248 |
#Max number of invitations allowed per user |
|
248 |
# Max number of invitations allowed per user
|
|
249 | 249 |
MAX_INVITATIONS = 20 |
250 | 250 |
|
251 |
#Key to encrypt X-Auth-Token with when sending invitations |
|
251 |
# Key to encrypt X-Auth-Token with when sending invitations
|
|
252 | 252 |
INVITATION_ENCR_KEY = '8d342f6e7a0366c632978a80257019af' |
253 | 253 |
|
254 |
#Days during which an invitation is active
|
|
254 |
# Days for which an invitation is active
|
|
255 | 255 |
INVITATION_VALID_DAYS = 30 |
256 | 256 |
|
257 |
#SMTP server for the system
|
|
257 |
# SMTP server to use when sending out emails
|
|
258 | 258 |
SMTP_SERVER="127.0.0.1" |
259 | 259 |
|
260 |
#Email account to use for system emails
|
|
260 |
# The address to use in the From: field when sending out emails
|
|
261 | 261 |
SYSTEM_EMAIL_ADDR="noreply@grnet.gr" |
262 | 262 |
|
263 |
#Enable receiving a temporary auth token (using the ?test URL parameter) that |
|
264 |
#bypasses the authentication mechanism |
|
265 |
#WARNING, ACHTUNG, README, XXX ,etc: DO NOT ENABLE THIS ON DEPLOYED VERSIONS |
|
263 |
# Enable receiving a temporary auth token (using the ?test URL parameter) that |
|
264 |
# bypasses the authentication mechanism |
|
265 |
# |
|
266 |
# WARNING, ACHTUNG, README, etc: DO NOT ENABLE THIS ON DEPLOYED VERSIONS! |
|
267 |
# |
|
266 | 268 |
BYPASS_AUTHENTICATION = False |
267 | 269 |
|
270 |
# |
|
271 |
# Network Configuration |
|
272 |
# |
|
273 |
# Synnefo assigns this link id to NICs connected on the public network. |
|
274 |
# An IP pool should be associated with this link by the Ganeti administrator. |
|
275 |
GANETI_PUBLIC_LINK = 'snf_public' |
|
276 |
# This link id is assigned to NICs that should be isolated from anything else |
|
277 |
# (e.g., right before the NIC gets deleted). |
|
278 |
# This value is also hardcoded in a fixture in db/fixtures/initial_data.json. |
|
279 |
GANETI_NULL_LINK = 'snf_null' |
|
280 |
# |
|
281 |
# The pool of private network links to use is |
|
282 |
# $GANETI_LINK_PREFIX{1..$GANETI_MAX_LINK_NUMBER}. |
|
283 |
# |
|
284 |
# The prefix to use for private network links. |
|
285 |
GANETI_LINK_PREFIX = 'prv' |
|
286 |
# The number of private network links to use. |
|
287 |
GANETI_MAX_LINK_NUMBER = 100 |
|
288 |
|
|
289 |
# A list of suggested server tags (server metadata keys) |
|
290 |
DEFAULT_KEYWORDS = ["OS", "Role", "Location", "Owner"] |
|
291 |
|
|
292 |
# A list of allowed icons for OS Images |
|
293 |
IMAGE_ICONS = ["redhat", "ubuntu", "debian", "windows", "gentoo", "archlinux", |
|
294 |
"centos", "fedora", "freebsd", "netbsd", "openbsd", "slackware", |
|
295 |
"suse"] |
|
296 |
|
Also available in: Unified diff