blob: 20442e55bdb6de6bcb6e6b3d738ceffa5a438bcd [file] [log] [blame]
Jake Dahn9337b332011-09-15 21:46:20 -07001import os
2
3DEBUG = True
4TEMPLATE_DEBUG = DEBUG
5PROD = False
6USE_SSL = False
7
8LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
9DATABASES = {
10 'default': {
11 'ENGINE': 'django.db.backends.sqlite3',
12 'NAME': os.path.join(LOCAL_PATH, 'dashboard_openstack.sqlite3'),
13 },
14}
15
16CACHE_BACKEND = 'dummy://'
17
18# Add nixon to dash installation.
19INSTALLED_APPS = (
20'dashboard.nixon',
21)
22
23# Send email to the console by default
24EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
25# Or send them to /dev/null
26#EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
27
28# django-mailer uses a different settings attribute
29MAILER_EMAIL_BACKEND = EMAIL_BACKEND
30
31# Configure these for your outgoing email host
32# EMAIL_HOST = 'smtp.my-company.com'
33# EMAIL_PORT = 25
34# EMAIL_HOST_USER = 'djangomail'
35# EMAIL_HOST_PASSWORD = 'top-secret!'
36
37
38OPENSTACK_ADMIN_TOKEN = "999888777666"
39OPENSTACK_KEYSTONE_URL = "http://localhost:5000/v2.0/"
40OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
41
42# NOTE(tres): Available services should come from the service
43# catalog in Keystone.
44SWIFT_ENABLED = False
45
46# Configure quantum connection details for networking
47QUANTUM_ENABLED = True
48QUANTUM_URL = '127.0.0.1'
49QUANTUM_PORT = '9696'
50QUANTUM_TENANT = '1234'
51QUANTUM_CLIENT_VERSION='0.1'
52
53# If you have external monitoring links
54EXTERNAL_MONITORING = [
55 ['Nagios','http://foo.com'],
56 ['Ganglia','http://bar.com'],
57]
58
59# If you do not have external monitoring links
60# EXTERNAL_MONITORING = []
61
62# Uncomment the following segment to silence most logging
63# django.db and boto DEBUG logging is extremely verbose.
64#LOGGING = {
65# 'version': 1,
66# # set to True will disable all logging except that specified, unless
67# # nothing is specified except that django.db.backends will still log,
68# # even when set to True, so disable explicitly
69# 'disable_existing_loggers': False,
70# 'handlers': {
71# 'null': {
72# 'level': 'DEBUG',
73# 'class': 'django.utils.log.NullHandler',
74# },
75# 'console': {
76# 'level': 'DEBUG',
77# 'class': 'logging.StreamHandler',
78# },
79# },
80# 'loggers': {
81# # Comment or Uncomment these to turn on/off logging output
82# 'django.db.backends': {
83# 'handlers': ['null'],
84# 'propagate': False,
85# },
86# 'django_openstack': {
87# 'handlers': ['null'],
88# 'propagate': False,
89# },
90# }
91#}
92
93# How much ram on each compute host?
94COMPUTE_HOST_RAM_GB = 16