blob: 5f54f3d9f063f39d3035d1e982ff03cbf8a65292 [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
Jake Dahnad73da12011-09-15 22:28:53 -070018# Add nixon + other apps to dash installation.
Jake Dahn9337b332011-09-15 21:46:20 -070019INSTALLED_APPS = (
Jake Dahnad73da12011-09-15 22:28:53 -070020 'dashboard',
21 'dashboard.nixon',
22 'django.contrib.contenttypes',
23 'django.contrib.sessions',
24 'django.contrib.messages',
25 'django.contrib.staticfiles',
26 'django_openstack',
27 'django_openstack.templatetags',
28 'mailer',
Jake Dahn9337b332011-09-15 21:46:20 -070029)
30
Jake Dahnad73da12011-09-15 22:28:53 -070031
Jake Dahn9337b332011-09-15 21:46:20 -070032# Send email to the console by default
33EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
34# Or send them to /dev/null
35#EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
36
37# django-mailer uses a different settings attribute
38MAILER_EMAIL_BACKEND = EMAIL_BACKEND
39
40# Configure these for your outgoing email host
41# EMAIL_HOST = 'smtp.my-company.com'
42# EMAIL_PORT = 25
43# EMAIL_HOST_USER = 'djangomail'
44# EMAIL_HOST_PASSWORD = 'top-secret!'
45
46
47OPENSTACK_ADMIN_TOKEN = "999888777666"
48OPENSTACK_KEYSTONE_URL = "http://localhost:5000/v2.0/"
49OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
50
51# NOTE(tres): Available services should come from the service
52# catalog in Keystone.
53SWIFT_ENABLED = False
54
55# Configure quantum connection details for networking
56QUANTUM_ENABLED = True
57QUANTUM_URL = '127.0.0.1'
58QUANTUM_PORT = '9696'
59QUANTUM_TENANT = '1234'
60QUANTUM_CLIENT_VERSION='0.1'
61
62# If you have external monitoring links
63EXTERNAL_MONITORING = [
64 ['Nagios','http://foo.com'],
65 ['Ganglia','http://bar.com'],
66]
67
68# If you do not have external monitoring links
69# EXTERNAL_MONITORING = []
70
71# Uncomment the following segment to silence most logging
72# django.db and boto DEBUG logging is extremely verbose.
73#LOGGING = {
74# 'version': 1,
75# # set to True will disable all logging except that specified, unless
76# # nothing is specified except that django.db.backends will still log,
77# # even when set to True, so disable explicitly
78# 'disable_existing_loggers': False,
79# 'handlers': {
80# 'null': {
81# 'level': 'DEBUG',
82# 'class': 'django.utils.log.NullHandler',
83# },
84# 'console': {
85# 'level': 'DEBUG',
86# 'class': 'logging.StreamHandler',
87# },
88# },
89# 'loggers': {
90# # Comment or Uncomment these to turn on/off logging output
91# 'django.db.backends': {
92# 'handlers': ['null'],
93# 'propagate': False,
94# },
95# 'django_openstack': {
96# 'handlers': ['null'],
97# 'propagate': False,
98# },
99# }
100#}
101
102# How much ram on each compute host?
103COMPUTE_HOST_RAM_GB = 16