
Key difference here is the ip_wrapper.py file. This file and docker 1.7 allow for the network namespaces to be created in the host mount namespace and propogated into the containers. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I73bcd1c97bbaf742af883dbf281a8d76aff8aebf
14 lines
209 B
Bash
Executable File
14 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
|
|
RES=0
|
|
|
|
check=$(/usr/bin/neutron agent-list | awk '/ DHCP / {print $9}')
|
|
error="ERROR: Neutron DHCP Agent is not alive."
|
|
|
|
if [[ $check != ":-)" ]]; then
|
|
echo $error >&2
|
|
RES=1
|
|
fi
|
|
|
|
exit $RES
|