haos/tools/verify.sh
Ilya Shakhat e0225ff639 Introduce Cirros-based Haos agent and add sample test
This patch adds new agent that can be used in Cirros images and
does the same functionality as Shaker Lib (allowing execution
of remote commands)

As an example of Haos agent a simple Neutron DHCP disaster test
is added.

Change-Id: I4be3fe2c05831f268f4fbde3ac69f74bf45268bc
2015-05-20 19:11:11 +03:00

19 lines
375 B
Bash
Executable File

#!/bin/bash
echo "Verifying your env (have you tuned etc/openrc already?)"
if [ -z ${HAOS_SERVER_ENDPOINT} ]; then
echo "Specify value for HAOS_SERVER_ENDPOINT env var"
exit 1
fi
if [ -z ${FUEL_HOST} ]; then
echo "Specify value for FUEL_HOST env var"
exit 1
fi
if [ -z ${OS_AUTH_URL} ]; then
echo "Specify value for OS_AUTH_URL env var"
exit 1
fi