File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ declare -a OSP_SERVICES=(
7575 " aodh"
7676 " logging"
7777 " instanceha"
78+ " watcher"
7879)
7980export OSP_SERVICES
8081
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ get_status() {
5353 " glance" )
5454 get_glance_status
5555 ;;
56+ " watcher" )
57+ get_watcher_status
58+ ;;
5659 " designate" )
5760 get_designate_status
5861 ;;
@@ -214,6 +217,21 @@ get_glance_status() {
214217 run_bg ${BASH_ALIASES[os]} image task list ' >' " $GLANCE_PATH " /task_list
215218}
216219
220+ # Watcher service gathering - task
221+ get_watcher_status () {
222+ local WATCHER_PATH=" $BASE_COLLECTION_PATH /ctlplane/watcher"
223+ mkdir -p " $WATCHER_PATH "
224+ run_bg ${BASH_ALIASES[os]} optimize goal list ' >' " $WATCHER_PATH " /goal_list
225+ run_bg ${BASH_ALIASES[os]} optimize strategy list ' >' " $WATCHER_PATH " /strategy_list
226+ run_bg ${BASH_ALIASES[os]} optimize audittemplate list ' >' " $WATCHER_PATH " /audittemplate_list
227+ run_bg ${BASH_ALIASES[os]} optimize audit list ' >' " $WATCHER_PATH " /audit_list
228+ run_bg ${BASH_ALIASES[os]} optimize actionplan list ' >' " $WATCHER_PATH " /actionplan_list
229+ run_bg ${BASH_ALIASES[os]} optimize action list ' >' " $WATCHER_PATH " /action_list
230+ run_bg ${BASH_ALIASES[os]} optimize service list ' >' " $WATCHER_PATH " /watcher_service_list
231+ run_bg ${BASH_ALIASES[os]} optimize datamodel list ' >' " $WATCHER_PATH " /watcher_datamodel_list
232+ }
233+
234+
217235# Designate service gathering - dns resources,
218236get_designate_status () {
219237 local DESIGNATE_PATH=" $BASE_COLLECTION_PATH /ctlplane/designate"
You can’t perform that action at this time.
0 commit comments