extras.d/80-tempest.sh
768295e9
 # tempest.sh - DevStack extras script
 
cdf3d766
 if is_service_enabled tempest; then
     if [[ "$1" == "source" ]]; then
         # Initial source
         source $TOP_DIR/lib/tempest
     elif [[ "$1" == "stack" && "$2" == "install" ]]; then
         echo_summary "Installing Tempest"
768295e9
         install_tempest
cdf3d766
     elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
         # Tempest config must come after layer 2 services are running
c67d22e2
         :
cdf3d766
     elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
5c39154c
         # Tempest config must come after all other plugins are run
         :
     elif [[ "$1" == "stack" && "$2" == "post-extra" ]]; then
         # local.conf Tempest option overrides
         :
     elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
cdf3d766
         echo_summary "Initializing Tempest"
768295e9
         configure_tempest
7e603d1b
         echo_summary "Installing Tempest Plugins"
         install_tempest_plugins
768295e9
     fi
 
cdf3d766
     if [[ "$1" == "unstack" ]]; then
         # no-op
         :
     fi
768295e9
 
cdf3d766
     if [[ "$1" == "clean" ]]; then
         # no-op
         :
     fi
 fi