Disable other dashboards
Added documentation on how to disable the other dashboards. Change-Id: Ie9e5853fdfdc14cdc3da260e2ae1ba57c20eb998 Closes-bug: #1302006
This commit is contained in:
parent
a8d1dde57f
commit
d4a00c7482
2
_10_admin.py.example
Normal file
2
_10_admin.py.example
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DASHBOARD = 'admin'
|
||||||
|
DISABLED = True
|
2
_20_project.py.example
Normal file
2
_20_project.py.example
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DASHBOARD = 'project'
|
||||||
|
DISABLED = True
|
@ -9,3 +9,4 @@ ADD_EXCEPTIONS = {
|
|||||||
'not_found': exceptions.NOT_FOUND,
|
'not_found': exceptions.NOT_FOUND,
|
||||||
'unauthorized': exceptions.UNAUTHORIZED,
|
'unauthorized': exceptions.UNAUTHORIZED,
|
||||||
}
|
}
|
||||||
|
DEFAULT = True
|
||||||
|
@ -102,6 +102,12 @@ And enable it in Horizon::
|
|||||||
|
|
||||||
cp ../tuskar-ui/_50_tuskar.py.example openstack_dashboard/local/enabled/_50_tuskar.py
|
cp ../tuskar-ui/_50_tuskar.py.example openstack_dashboard/local/enabled/_50_tuskar.py
|
||||||
|
|
||||||
|
Then disable the other dashboards::
|
||||||
|
|
||||||
|
cp ../tuskar-ui/_10_admin.py.example openstack_dashboard/local/enabled/_10_admin.py
|
||||||
|
cp ../tuskar-ui/_20_project.py.example openstack_dashboard/local/enabled/_20_project.py
|
||||||
|
|
||||||
|
|
||||||
Starting the app
|
Starting the app
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
@ -47,6 +47,23 @@ TEMPLATE_DEBUG = DEBUG
|
|||||||
# valid options would be "AUTO", "VNC" or "SPICE"
|
# valid options would be "AUTO", "VNC" or "SPICE"
|
||||||
# CONSOLE_TYPE = "AUTO"
|
# CONSOLE_TYPE = "AUTO"
|
||||||
|
|
||||||
|
# Default OpenStack Dashboard configuration.
|
||||||
|
HORIZON_CONFIG = {
|
||||||
|
'dashboards': ('project', 'admin', 'settings',),
|
||||||
|
'default_dashboard': 'project',
|
||||||
|
'user_home': 'openstack_dashboard.views.get_user_home',
|
||||||
|
'ajax_queue_limit': 10,
|
||||||
|
'auto_fade_alerts': {
|
||||||
|
'delay': 3000,
|
||||||
|
'fade_duration': 1500,
|
||||||
|
'types': ['alert-success', 'alert-info']
|
||||||
|
},
|
||||||
|
'help_url': "http://docs.openstack.org",
|
||||||
|
'exceptions': {'recoverable': exceptions.RECOVERABLE,
|
||||||
|
'not_found': exceptions.NOT_FOUND,
|
||||||
|
'unauthorized': exceptions.UNAUTHORIZED},
|
||||||
|
}
|
||||||
|
|
||||||
# Specify a regular expression to validate user passwords.
|
# Specify a regular expression to validate user passwords.
|
||||||
# HORIZON_CONFIG["password_validator"] = {
|
# HORIZON_CONFIG["password_validator"] = {
|
||||||
# "regex": '.*',
|
# "regex": '.*',
|
||||||
@ -348,6 +365,8 @@ SECURITY_GROUP_RULES = {
|
|||||||
|
|
||||||
TUSKAR_ENDPOINT_URL = "http://127.0.0.1:8585"
|
TUSKAR_ENDPOINT_URL = "http://127.0.0.1:8585"
|
||||||
|
|
||||||
|
HORIZON_CONFIG['user_home'] = ''
|
||||||
|
|
||||||
OVERCLOUD_CREDS = {
|
OVERCLOUD_CREDS = {
|
||||||
'user': 'admin',
|
'user': 'admin',
|
||||||
'password': 'password',
|
'password': 'password',
|
||||||
|
Loading…
Reference in New Issue
Block a user