74010ff986
Implements the neutron-openvswitch-agent plugin container. Co-Authored-By: Sam Yaple <sam@yaple.net> Partially Implements blueprint: openvswitch-container Change-Id: Ie0fa318541e16d730b7007d3620c7873e898ed4a
14 lines
221 B
Bash
Executable File
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
|