Install tacker-horizon into horizon image

Depends-On: I2090363441cd1a51b51356d59baebc43e1986dc6
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Change-Id: Ic63c88436b03c14ef767ee102625e697250c00e0
Closes-Bug: #1647894
This commit is contained in:
qiankun.zhang 2017-02-03 00:58:37 -05:00
parent 86e8f03967
commit 6aef71e092
2 changed files with 13 additions and 0 deletions
docker/horizon
kolla/common

@ -154,6 +154,14 @@ function config_solum_dashboard {
done
}
function config_tacker_dashboard {
for file in ${SITE_PACKAGES}/tacker_horizon/enabled/_*[^__].py; do
config_dashboard "${ENABLE_TACKER}" \
"${SITE_PACKAGES}/tacker_dashboard/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
}
function config_trove_dashboard {
for file in ${SITE_PACKAGES}/trove_dashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_TROVE}" \
@ -195,6 +203,7 @@ config_sahara_dashboard
config_searchlight_ui
config_senlin_dashboard
config_solum_dashboard
config_tacker_dashboard
config_trove_dashboard
config_watcher_dashboard
config_zaqar_dashboard

@ -347,6 +347,10 @@ SOURCES = {
'type': 'url',
'location': ('$tarballs_base/solum-dashboard/'
'solum-dashboard-master.tar.gz')},
'horizon-plugin-tacker-dashboard': {
'type': 'url',
'location': ('http://tarballs.openstack.org/tacker-horizon/'
'tacker-horizon-master.tar.gz')},
'horizon-plugin-trove-dashboard': {
'type': 'url',
'location': ('$tarballs_base/trove-dashboard/'