blob: fcf79bd4d94cbecb36c5427d0868de86b2624292 [file] [log] [blame]
Dean Troyer768295e2013-01-09 13:42:03 -06001# tempest.sh - DevStack extras script
2
Dean Troyercdf3d762013-10-15 09:42:43 -05003if is_service_enabled tempest; then
4 if [[ "$1" == "source" ]]; then
5 # Initial source
6 source $TOP_DIR/lib/tempest
7 elif [[ "$1" == "stack" && "$2" == "install" ]]; then
8 echo_summary "Installing Tempest"
Dean Troyer768295e2013-01-09 13:42:03 -06009 install_tempest
Dean Troyercdf3d762013-10-15 09:42:43 -050010 elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
11 # Tempest config must come after layer 2 services are running
Sean Daguec67d22e2016-02-02 05:51:14 -050012 :
Dean Troyercdf3d762013-10-15 09:42:43 -050013 elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
14 echo_summary "Initializing Tempest"
Dean Troyer768295e2013-01-09 13:42:03 -060015 configure_tempest
Ryan Hsufeb28832013-11-07 12:12:35 -080016 elif [[ "$1" == "stack" && "$2" == "post-extra" ]]; then
17 # local.conf Tempest option overrides
18 :
Dean Troyer768295e2013-01-09 13:42:03 -060019 fi
Dean Troyer768295e2013-01-09 13:42:03 -060020
Dean Troyercdf3d762013-10-15 09:42:43 -050021 if [[ "$1" == "unstack" ]]; then
22 # no-op
23 :
24 fi
Dean Troyer768295e2013-01-09 13:42:03 -060025
Dean Troyercdf3d762013-10-15 09:42:43 -050026 if [[ "$1" == "clean" ]]; then
27 # no-op
28 :
29 fi
30fi