382877dd4c
Currently horizon supports per-dashboard configurations in /etc/openstack-dashboard/local_settings.d. Each dashboard plugin provides a specific file to define its parameters, and any parameters used in dashboard plugins have been removed from the base local_settings(.py) in horizon repo. To follow how each plugin is supposed to have its configurations managed, this change introduces an independent file for heat-dashboard. Support for the other dashboards like manila-ui, octavia-ui, and etc will be added later. Change-Id: I5999c2eaf8d7788d3c0d76e69a56a0b10058dfe9
39 lines
931 B
Plaintext
39 lines
931 B
Plaintext
from django.conf import settings
|
|
|
|
|
|
OPENSTACK_HEAT_STACK = {
|
|
'enable_user_pass': <%= @enable_user_pass_real.to_s.capitalize %>,
|
|
}
|
|
|
|
settings.POLICY_FILES.update({
|
|
'orchestration': '<%= @policy_file_real %>',
|
|
})
|
|
|
|
settings.DEFAULT_POLICY_FILES.update({
|
|
'orchestration': 'default_policies/heat.yaml',
|
|
})
|
|
|
|
# Sample
|
|
# settings.LOGGING['loggers'].update({
|
|
# 'heatclient': {
|
|
# 'handlers': ['console'],
|
|
# 'level': 'DEBUG',
|
|
# 'propagate': False,
|
|
# }
|
|
# })
|
|
settings.LOGGING['loggers'].update({
|
|
'heatclient': {
|
|
# 'handlers': ['console'],
|
|
'handlers': ['<%= @log_handlers.join("', '") %>']
|
|
# level': 'DEBUG',
|
|
'level': '<%= @log_level %>',
|
|
'propagate': False,
|
|
}
|
|
})
|
|
|
|
# Template Generator retrieve options API TIMEOUT
|
|
HEAT_TEMPLATE_GENERATOR_API_TIMEOUT = 60
|
|
|
|
# Template Generator retrieve options API PARALLEL LEVEL
|
|
HEAT_TEMPLATE_GENERATOR_API_PARALLEL = 2
|