aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorliyingjun <yingjun.li@kylin-cloud.com>2016-12-02 14:56:47 +0800
committerliyingjun <yingjun.li@kylin-cloud.com>2016-12-02 22:45:43 +0800
commit2614dd697c16497cc3aa04e8052fd06b618c40a6 (patch)
tree40fd97f16742ece392d969c5b04cd3b0379fadea /docker
parent8b57bb070e03f07c27c8370c70e2a3bb79f76660 (diff)
downloadkolla-2614dd697c16497cc3aa04e8052fd06b618c40a6.tar.gz
kolla-2614dd697c16497cc3aa04e8052fd06b618c40a6.zip
Install searchlight-ui to horizon
Change-Id: Ie65c374dd319e38fe50fc3dca15c64d07edc8e1a Closes-bug: #1646690
Diffstat (limited to 'docker')
-rw-r--r--docker/horizon/extend_start.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh
index 9bebdf94c..6e1f82b1b 100644
--- a/docker/horizon/extend_start.sh
+++ b/docker/horizon/extend_start.sh
@@ -81,11 +81,28 @@ function config_trove_dashboard {
done
}
+function config_searchlight_ui {
+ for file in ${SITE_PACKAGES}/searchlight_ui/enabled/_*[^__].py; do
+ config_dashboard "${ENABLE_SEARCHLIGHT}" \
+ "${SITE_PACKAGES}/searchlight_ui/enabled/${file##*/}" \
+ "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
+ done
+
+ config_dashboard "${ENABLE_SEARCHLIGHT}" \
+ "${SITE_PACKAGES}searchlight_ui/local_settings.d/_1001_search_settings.py" \
+ "${SITE_PACKAGES}/openstack_dashboard/local/local_settings.d/_1001_search_settings.py"
+
+ config_dashboard "${ENABLE_SEARCHLIGHT}" \
+ "${SITE_PACKAGES}searchlight_ui/conf/searchlight_policy.json" \
+ "${SITE_PACKAGES}/openstack_dashboard/conf/searchlight_policy.json"
+}
+
config_cloudkitty_dashboard
config_ironic_dashboard
config_manila_ui
config_neutron_lbaas
config_sahara_dashboard
+config_searchlight_ui
config_trove_dashboard
# NOTE(pbourke): httpd will not clean up after itself in some cases which