Add congress-dashboard into horizon image

Change-Id: I5cd0cc2c884530525b3019c22c04a782a181a3bf
This commit is contained in:
caoyuan 2018-04-20 10:02:55 +08:00
parent bdcbcf8bf7
commit c119615b83
3 changed files with 15 additions and 0 deletions

View File

@ -63,6 +63,14 @@ function config_cloudkitty_dashboard {
done
}
function config_congress_dashboard {
for file in ${SITE_PACKAGES}/congress_dashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_CONGRESS}" \
"${SITE_PACKAGES}/congress_dashboard/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
}
function config_designate_dashboard {
for file in ${SITE_PACKAGES}/designatedashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_DESIGNATE}" \
@ -273,6 +281,7 @@ function settings_changed {
config_blazar_dashboard
config_cloudkitty_dashboard
config_congress_dashboard
config_designate_dashboard
config_fwaas_dashboard
config_freezer_ui

View File

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

View File

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