
Previously, the agents ran in seperate containers. Since some of the agents create and use network namespaces, runnning them in seperate containers has become a challenge. This patch adds neutron agent support in a single container. Partially Implements: blueprint compute-operation-neutron Change-Id: If4f893abd50d90b58e8435ec2659870dce36951c
14 lines
203 B
Bash
Executable File
14 lines
203 B
Bash
Executable File
#!/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
|