From 6aef71e092206ca6b6bcb2ea6e57a6914e720ff5 Mon Sep 17 00:00:00 2001 From: "qiankun.zhang" Date: Fri, 3 Feb 2017 00:58:37 -0500 Subject: Install tacker-horizon into horizon image Depends-On: I2090363441cd1a51b51356d59baebc43e1986dc6 Co-Authored-By: zhubingbing Change-Id: Ic63c88436b03c14ef767ee102625e697250c00e0 Closes-Bug: #1647894 --- docker/horizon/extend_start.sh | 9 +++++++++ kolla/common/config.py | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 5556c8d27..f5152425c 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -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 diff --git a/kolla/common/config.py b/kolla/common/config.py index d02f32db0..e4ef05190 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -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/' -- cgit v1.2.3