File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ get_status() {
46
46
" ceilometer" )
47
47
get_ceilometer_status
48
48
;;
49
+ " octavia" )
50
+ get_octavia_status
51
+ ;;
49
52
* ) ;;
50
53
esac
51
54
}
@@ -162,6 +165,20 @@ get_ceilometer_status() {
162
165
fi
163
166
}
164
167
168
+ # Octavia service gathering - loadbalancers,
169
+ get_octavia_status () {
170
+ local OCTAVIA_PATH=" $BASE_COLLECTION_PATH /ctlplane/octavia"
171
+ mkdir -p " $OCTAVIA_PATH "
172
+ resources=" amphora availabilityzone availabilityzoneprofile flavor flavorprofile healthmonitor l7policy "
173
+ resources=" $resources listener pool provider quota"
174
+
175
+ for r in $resources ; do
176
+ run_bg ${BASH_ALIASES[os]} loadbalancer $r list ' >' " $OCTAVIA_PATH " /" ${r} _list"
177
+ done ;
178
+
179
+ run_bg ${BASH_ALIASES[os]} loadbalancer provider list ' >' " $OCTAVIA_PATH " /provider_list
180
+ }
181
+
165
182
# first we gather generic status of the openstack ctlplane
166
183
# then we process the existing services (if an associated
167
184
# function has been defined)
You can’t perform that action at this time.
0 commit comments