303c354fd6
This is a proof of concept of how plugin-based configuration of OpenStack dashboards could be realized. Additional plugins add their configuration file in the opestack_dashboard/enabled/ directory (the exact location is up for discussion, we will probably want a whole hierarchy of locations, with the possibility of overriding settings). An example file _50_tuskar.py is added to show how an additional dashboard could plug into this system. If you have tuskar_ui installed, this would add Tuskar to Horizon. Change-Id: Iaa594deffbdb865116f6f62855c32c8633d2b208 Implements: blueprint plugin-architecture
9 lines
398 B
Python
9 lines
398 B
Python
# The name of the dashboard to be added to HORIZON['dashboards']. Required.
|
|
DASHBOARD = 'project'
|
|
# If set to True, this dashboard will be set as the default dashboard.
|
|
DEFAULT = True
|
|
# A dictionary of exception classes to be added to HORIZON['exceptions'].
|
|
ADD_EXCEPTIONS = {}
|
|
# A list of applications to be added to INSTALLED_APPS.
|
|
ADD_INSTALLED_APPS = ['openstack_dashboard.dashboards.project']
|