From 8667027d1f102c43a8bc308c115efc7f1a9f39fe Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Thu, 1 Dec 2016 12:49:52 +0000 Subject: Install magnum dashboard into the horizon image Change-Id: Iaf599ceea70879b8302ffcdf9615f18007e93134 --- 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 9bebdf94c..23fbe175e 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -51,6 +51,14 @@ function config_ironic_dashboard { done } +function config_magnum_dashboard { + for file in ${SITE_PACKAGES}/magnum_ui/enabled/_*[^__].py; do + config_dashboard "${ENABLE_MAGNUM}" \ + "${SITE_PACKAGES}/magnum_ui/enabled/${file##*/}" \ + "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}" + done +} + function config_manila_ui { for file in ${SITE_PACKAGES}/manila_ui/enabled/_*[^__].py; do config_dashboard "${ENABLE_MANILA}" \ @@ -83,6 +91,7 @@ function config_trove_dashboard { config_cloudkitty_dashboard config_ironic_dashboard +config_magnum_dashboard config_manila_ui config_neutron_lbaas config_sahara_dashboard diff --git a/kolla/common/config.py b/kolla/common/config.py index 962f2c537..17aa5c3c7 100644 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -210,6 +210,10 @@ SOURCES = { 'type': 'url', 'location': ('http://tarballs.openstack.org/ironic-ui/' 'ironic-ui-master.tar.gz')}, + 'horizon-plugin-magnum-ui': { + 'type': 'url', + 'location': ('http://tarballs.openstack.org/magnum-ui/' + 'magnum-ui-master.tar.gz')}, 'horizon-plugin-manila-ui': { 'type': 'url', 'location': ('http://tarballs.openstack.org/manila-ui/' -- cgit v1.2.3