mistral/contrib/devstack/extras.d/70-mistral.sh
Sergey Kolekonov 55b9dc53ea Added Devstack integration
- added devstack integration files
- added a simple api test (for the devstack-gate job)

Partial implements blueprint mistral-devstack-gate-job

Change-Id: Ibb859c5eda7719d0e046bf833a6eec69bcbeb8be
2014-04-29 15:24:23 +04:00

24 lines
700 B
Bash

# 70-mistral.sh - DevStack extras script to install Mistral
if is_service_enabled mistral; then
if [[ "$1" == "source" ]]; then
# Initial source
source $TOP_DIR/lib/mistral
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
echo_summary "Installing mistral"
install_mistral
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring mistral"
configure_mistral
create_mistral_accounts
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
echo_summary "Initializing mistral"
init_mistral
start_mistral
fi
if [[ "$1" == "unstack" ]]; then
stop_mistral
fi
fi