Tempest plugin for the Neutron project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
788 B

  1. # Directory where this plugin.sh file is
  2. NEUTRON_TEMPEST_PLUGIN_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
  3. source "${NEUTRON_TEMPEST_PLUGIN_DIR}/customize_image.sh"
  4. # install_neutron_tempest_plugin
  5. function install_neutron_tempest_plugin {
  6. setup_dev_lib "neutron-tempest-plugin"
  7. install_customize_image_tools
  8. }
  9. if [[ "$1" == "stack" ]]; then
  10. case "$2" in
  11. install)
  12. if [[ "$INSTALL_TEMPEST" == "True" ]]; then
  13. echo_summary "Installing neutron-tempest-plugin"
  14. install_neutron_tempest_plugin
  15. fi
  16. ;;
  17. test-config)
  18. echo_summary "Configuring neutron-tempest-plugin tempest options"
  19. configure_advanced_image
  20. configure_flavor_for_advanced_image
  21. esac
  22. fi