kolla-ansible/docker/neutron/neutron-server/check.sh
Daneyon Hansen de313681f9 Adds Neutron Server Support
Previously Kolla did not support Neutron. This patch provides
initial Neutron support by implementing neutron-server
functionality. It also creates a neutron-base image that
provides common config and packages for all Neutron-based
services.

Partially Implements: Blueprint Kubernetes Neutron Container

Change-Id: I2399a1331992fae0f387f01e5b5c1c1d34f0637d
2014-10-16 19:50:04 +00:00

18 lines
263 B
Bash
Executable File

#!/bin/sh
RES=0
. /openrc
if ! keystone token-get > /dev/null; then
echo "ERROR: keystone token-get failed" >&2
RES=1
else
if ! neutron ext-list > /dev/null; then
echo "ERROR: neutron ext-list failed" >&2
RES=1
fi
fi
exit $RES