Advertisement
Guest User

Untitled

a guest
Feb 27th, 2012
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. import os
  2.  
  3. DEBUG = True
  4. TEMPLATE_DEBUG = DEBUG
  5. PROD = False
  6. USE_SSL = False
  7.  
  8. LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
  9. DATABASES = {
  10. 'default': {
  11. 'ENGINE': 'django.db.backends.mysql',
  12. 'NAME': '[username]',
  13. 'USER': '[username]',
  14. 'PASSWORD': '[passswd]',
  15. 'HOST': '192.168.0.254',
  16. 'default-character-set': 'utf8'
  17. },
  18. }
  19. CACHE_BACKEND = 'dummy://'
  20.  
  21.  
  22. # Send email to the console by default
  23. EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  24. # Or send them to /dev/null
  25. #EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
  26.  
  27. # django-mailer uses a different settings attribute
  28. MAILER_EMAIL_BACKEND = EMAIL_BACKEND
  29.  
  30. # Configure these for your outgoing email host
  31. # EMAIL_HOST = 'smtp.my-company.com'
  32. # EMAIL_PORT = 25
  33. # EMAIL_HOST_USER = 'djangomail'
  34. # EMAIL_HOST_PASSWORD = 'top-secret!'
  35.  
  36.  
  37. OPENSTACK_KEYSTONE_URL = "http://192.168.0.8:5000/v2.0/"
  38. # FIXME: this is only needed until keystone fixes its GET /tenants call
  39. # so that it doesn't return everything for admins
  40. OPENSTACK_KEYSTONE_ADMIN_URL = "http://192.168.0.8:35357/v2.0"
  41. OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
  42.  
  43. # NOTE(tres): Available services should come from the service
  44. # catalog in Keystone.
  45. SWIFT_ENABLED = False
  46.  
  47. # Configure quantum connection details for networking
  48. QUANTUM_ENABLED = False
  49. QUANTUM_URL = '127.0.0.1'
  50. QUANTUM_PORT = '9696'
  51. QUANTUM_TENANT = '1234'
  52. QUANTUM_CLIENT_VERSION='0.1'
  53.  
  54. # If you have external monitoring links
  55. EXTERNAL_MONITORING = [
  56. ['Nagios','http://foo.com'],
  57. ['Ganglia','http://bar.com'],
  58. ]
  59.  
  60. # If you do not have external monitoring links
  61. # EXTERNAL_MONITORING = []
  62.  
  63. # Uncomment the following segment to silence most logging
  64. # django.db and boto DEBUG logging is extremely verbose.
  65. #LOGGING = {
  66. # 'version': 1,
  67. # # set to True will disable all logging except that specified, unless
  68. # # nothing is specified except that django.db.backends will still log,
  69. # # even when set to True, so disable explicitly
  70. # 'disable_existing_loggers': False,
  71. # 'handlers': {
  72. # 'null': {
  73. # 'level': 'DEBUG',
  74. # 'class': 'django.utils.log.NullHandler',
  75. # },
  76. # 'console': {
  77. # 'level': 'DEBUG',
  78. # 'class': 'logging.StreamHandler',
  79. # },
  80. # },
  81. # 'loggers': {
  82. # # Comment or Uncomment these to turn on/off logging output
  83. # 'django.db.backends': {
  84. # 'handlers': ['null'],
  85. # 'propagate': False,
  86. # },
  87. # 'django_openstack': {
  88. # 'handlers': ['null'],
  89. # 'propagate': False,
  90. # },
  91. # }
  92. #}
  93.  
  94. # How much ram on each compute host?
  95. COMPUTE_HOST_RAM_GB = 8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement