Install senlin dashboard into horizon image

Change-Id: I27ac67f42ad04ac5cf6d18b6f56506949aa4887c
Closes-Bug: #1646023
This commit is contained in:
jianyi 2016-12-05 17:46:57 +08:00
parent 3dfe8ff566
commit 05ba070f86
2 changed files with 17 additions and 0 deletions

View File

@ -73,6 +73,18 @@ function config_sahara_dashboard {
done
}
function config_senlin_dashboard {
for file in ${SITE_PACKAGES}/senlin_dashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_SENLIN}" \
"${SITE_PACKAGES}/senlin_dashboard/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
config_dashboard "${ENABLE_SENLIN}" \
"${SITE_PACKAGES}/senlin_dashboard/conf/senlin_policy.json" \
"${SITE_PACKAGES}/openstack_dashboard/conf/senlin_policy.json"
}
function config_trove_dashboard {
for file in ${SITE_PACKAGES}/trove_dashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_TROVE}" \
@ -103,6 +115,7 @@ config_manila_ui
config_neutron_lbaas
config_sahara_dashboard
config_searchlight_ui
config_senlin_dashboard
config_trove_dashboard
# NOTE(pbourke): httpd will not clean up after itself in some cases which

View File

@ -226,6 +226,10 @@ SOURCES = {
'type': 'url',
'location': ('http://tarballs.openstack.org/searchlight-ui/'
'searchlight-ui-master.tar.gz')},
'horizon-plugin-senlin-dashboard': {
'type': 'url',
'location': ('http://tarballs.openstack.org/senlin-dashboard/'
'senlin-dashboard-master.tar.gz')},
'horizon-plugin-trove-dashboard': {
'type': 'url',
'location': ('http://tarballs.openstack.org/trove-dashboard/'