Install freezer dashboard into horizon image

Change-Id: I8a70c7e95cdd6517816060e148d3fdc4857182f4
Closes-Bug: #1661953
This commit is contained in:
caowei 2017-02-05 21:23:23 +08:00
parent 061c3f8371
commit 0e712db386
2 changed files with 13 additions and 0 deletions

View File

@ -51,6 +51,14 @@ function config_designate_dashboard {
done
}
function config_freezer_ui {
for file in ${SITE_PACKAGES}/disaster_recovery/enabled/_*[^__].py; do
config_dashboard "${ENABLE_FREEZER}" \
"${SITE_PACKAGES}/disaster_recovery/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
}
function config_ironic_dashboard {
for file in ${SITE_PACKAGES}/ironic_ui/enabled/_*[^__].py; do
config_dashboard "${ENABLE_IRONIC}" \
@ -192,6 +200,7 @@ function config_zaqar_dashboard {
config_cloudkitty_dashboard
config_designate_dashboard
config_freezer_ui
config_ironic_dashboard
config_karbor_dashboard
config_magnum_dashboard

View File

@ -298,6 +298,10 @@ SOURCES = {
'type': 'url',
'location': ('$tarballs_base/designate-dashboard/'
'designate-dashboard-master.tar.gz')},
'horizon-plugin-freezer-web-ui': {
'type': 'url',
'location': ('$tarballs_base/freezer-web-ui/'
'freezer-web-ui-master.tar.gz')},
'horizon-plugin-ironic-ui': {
'type': 'url',
'location': ('$tarballs_base/ironic-ui/'