Fang Fenghua 74010ff986 Add neutron-openvswitch-agent contianer
Implements the neutron-openvswitch-agent plugin container.

Co-Authored-By: Sam Yaple <sam@yaple.net>
Partially Implements blueprint: openvswitch-container

Change-Id: Ie0fa318541e16d730b7007d3620c7873e898ed4a
2015-06-25 17:03:33 +00:00

14 lines
221 B
Bash
Executable File

#!/bin/bash
RES=0
check=$(/usr/bin/neutron agent-list | awk '/ vSwitch / {print $10}')
error="ERROR: Neutron OpenvSwitch agent is not alive."
if [[ $check != ":-)" ]]; then
echo $error >&2
RES=1
fi
exit $RES