diff options
| author | Paul Bourke <paul.bourke@oracle.com> | 2016-12-01 12:49:52 +0000 |
|---|---|---|
| committer | Paul Bourke <paul.bourke@oracle.com> | 2016-12-02 17:15:43 +0000 |
| commit | 8667027d1f102c43a8bc308c115efc7f1a9f39fe (patch) | |
| tree | 3ccd4624d00cb78255b1f14b41c88eec7219c2d9 | |
| parent | 0ba790762b5b441ae02181fe6ba0a177ce271d6e (diff) | |
| download | kolla-8667027d1f102c43a8bc308c115efc7f1a9f39fe.tar.gz kolla-8667027d1f102c43a8bc308c115efc7f1a9f39fe.zip | |
Install magnum dashboard into the horizon image
Change-Id: Iaf599ceea70879b8302ffcdf9615f18007e93134
| -rw-r--r-- | docker/horizon/extend_start.sh | 9 | ||||
| -rw-r--r-- | kolla/common/config.py | 4 |
2 files changed, 13 insertions, 0 deletions
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/' |
