Martin Mágr 46352a3089 Add healthcheck script for Neutron server
This patch adds script for docker health check of Neutron server service.
The script checks API service using curl.

Change-Id: I290704c72e104e40d104d63583155d0eba7c128e
2018-02-19 13:32:37 +00:00

7 lines
197 B
Bash

#!/bin/sh
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-neutron_wsgi.conf)
healthcheck_curl ${check_url}