File tree 3 files changed +15
-0
lines changed
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 {
80
80
" ${SITE_PACKAGES} /openstack_dashboard/local/enabled/_1482_project_load_balancer_panel.py"
81
81
}
82
82
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
+
83
95
# Regenerate the compressed javascript and css if any configuration files have
84
96
# changed. Use a static modification date when generating the tarball
85
97
# so that we only trigger on content changes.
@@ -105,6 +117,7 @@ config_heat_dashboard
105
117
config_ironic_dashboard
106
118
config_manila_ui
107
119
config_octavia_dashboard
120
+ config_watcher_dashboard
108
121
109
122
if settings_changed; then
110
123
${MANAGE_PY} collectstatic --noinput --clear
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ tcib_packages:
20
20
- python3-observabilityclient
21
21
- python3-octaviaclient
22
22
- python3-aodhclient
23
+ - python3-watcherclient
23
24
- bash-completion
24
25
- iputils
25
26
- ipmitool
Original file line number Diff line number Diff line change @@ -33,3 +33,4 @@ tcib_packages:
33
33
- openstack-manila-ui
34
34
- openstack-octavia-ui
35
35
- openstack-designate-ui
36
+ - openstack-watcher-ui
You can’t perform that action at this time.
0 commit comments