blob: b79caf8ff9bb033a38f51031ee3bfd8b7664c7f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
RES=0
check=$(/usr/bin/neutron agent-list | awk '/ L3 / {print $9}')
error="ERROR: Neutron L3 Agent is not alive."
if [[ $check != ":-)" ]]; then
echo $error >&2
RES=1
fi
exit $RES
|