Add blazar-dashboard into horizon image

Change-Id: I67876c734d147593a188ba385b60e02350b44fae
This commit is contained in:
caoyuan 2018-04-19 22:21:51 +08:00
parent d99fde03e1
commit 94dfe6be49
3 changed files with 15 additions and 0 deletions

View File

@ -42,6 +42,14 @@ function config_dashboard {
fi
}
function config_blazar_dashboard {
for file in ${SITE_PACKAGES}/blazar_dashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_BLAZAR}" \
"${SITE_PACKAGES}/blazar_dashboard/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
}
function config_cloudkitty_dashboard {
for file in ${SITE_PACKAGES}/cloudkittydashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_CLOUDKITTY}" \
@ -243,6 +251,7 @@ function config_zun_dashboard {
done
}
config_blazar_dashboard
config_cloudkitty_dashboard
config_designate_dashboard
config_fwaas_dashboard

View File

@ -363,6 +363,10 @@ SOURCES = {
'type': 'url',
'location': ('$tarballs_base/horizon/'
'horizon-master.tar.gz')},
'horizon-plugin-blazar-dashboard': {
'type': 'url',
'location': ('$tarballs_base/blazar-dashboard/'
'blazar-dashboard-master.tar.gz')},
'horizon-plugin-cloudkitty-dashboard': {
'type': 'url',
'location': ('$tarballs_base/cloudkitty-dashboard/'

View File

@ -0,0 +1,2 @@
features:
- Add blazar-dashboard to horizon image.