blob: 7a4601437c9c879794f5c974ea3709d61ef5a493 [file] [log] [blame]
Federico Ressi71bda862018-05-28 11:38:56 +02001# Directory where this plugin.sh file is
2NEUTRON_TEMPEST_PLUGIN_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
3
4source "${NEUTRON_TEMPEST_PLUGIN_DIR}/customize_image.sh"
5
Jens Harbott228d5b82017-12-06 12:03:09 +00006# install_neutron_tempest_plugin
7function install_neutron_tempest_plugin {
8 setup_dev_lib "neutron-tempest-plugin"
Federico Ressi71bda862018-05-28 11:38:56 +02009 install_customize_image_tools
Jens Harbott228d5b82017-12-06 12:03:09 +000010}
11
12if [[ "$1" == "stack" ]]; then
13 case "$2" in
14 install)
Bernard Cafarelli0bdc63d2020-04-20 16:31:14 +020015 if [[ "$INSTALL_TEMPEST" == "True" ]]; then
16 echo_summary "Installing neutron-tempest-plugin"
17 install_neutron_tempest_plugin
18 fi
Jens Harbott228d5b82017-12-06 12:03:09 +000019 ;;
Slawek Kaplonskida17f002018-10-11 18:35:23 +020020 test-config)
21 echo_summary "Configuring neutron-tempest-plugin tempest options"
22 configure_advanced_image
23 configure_flavor_for_advanced_image
Jens Harbott228d5b82017-12-06 12:03:09 +000024 esac
25fi