File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,18 @@ function config_octavia_dashboard {
8080 " ${SITE_PACKAGES} /openstack_dashboard/local/enabled/_1482_project_load_balancer_panel.py"
8181}
8282
83+ function config_watcher_dashboard {
84+ for file in ${SITE_PACKAGES} /watcher_dashboard/local/enabled/_* [^__].py; do
85+ config_dashboard " ${ENABLE_WATCHER} " \
86+ " ${SITE_PACKAGES} /watcher_dashboard/local/enabled/${file##*/ } " \
87+ " ${SITE_PACKAGES} /openstack_dashboard/local/enabled/${file##*/ } "
88+ done
89+
90+ config_dashboard " ${ENABLE_WATCHER} " \
91+ " ${SITE_PACKAGES} /watcher_dashboard/conf/watcher_policy.json" \
92+ " /etc/openstack-dashboard/watcher_policy.json"
93+ }
94+
8395# Regenerate the compressed javascript and css if any configuration files have
8496# changed. Use a static modification date when generating the tarball
8597# so that we only trigger on content changes.
@@ -105,6 +117,7 @@ config_heat_dashboard
105117config_ironic_dashboard
106118config_manila_ui
107119config_octavia_dashboard
120+ config_watcher_dashboard
108121
109122if settings_changed; then
110123 ${MANAGE_PY} collectstatic --noinput --clear
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ tcib_packages:
2020 - python3-observabilityclient
2121 - python3-octaviaclient
2222 - python3-aodhclient
23+ - python3-watcherclient
2324 - bash-completion
2425 - iputils
2526 - ipmitool
Original file line number Diff line number Diff line change @@ -33,3 +33,4 @@ tcib_packages:
3333 - openstack-manila-ui
3434 - openstack-octavia-ui
3535 - openstack-designate-ui
36+ - openstack-watcher-ui
You can’t perform that action at this time.
0 commit comments