rally-openstack/devstack/plugin.sh
Lianhao Lu fb51361337 devstack: removed uncalled code
Devstack won't "source plugin.sh source" any more.

Change-Id: I2b8f5ebe02dc3e66c06a55ac0ffb3938cea236fa
2016-03-23 16:10:30 +08:00

22 lines
504 B
Bash

# DevStack extras script to install Rally
# Save trace setting
XTRACE=$(set +o | grep xtrace)
set -o xtrace
source $DEST/rally/devstack/lib/rally
if [[ "$1" == "stack" && "$2" == "install" ]]; then
echo_summary "Installing Rally"
install_rally
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring Rally"
configure_rally
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
echo_summary "Initializing Rally"
init_rally
fi
# Restore xtrace
$XTRACE