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