diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 233190e173..050eb289ae 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -89,6 +89,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}" \ @@ -129,6 +141,7 @@ config_manila_ui config_neutron_lbaas config_sahara_dashboard config_searchlight_ui +config_senlin_dashboard config_trove_dashboard config_zaqar_dashboard diff --git a/kolla/common/config.py b/kolla/common/config.py index 9589d60be4..934cf1b4e0 100644 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -234,6 +234,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/'