blob: 42c31cd21a6e8d5cfa722e9fb59e748228823f1c [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"
Jens Harbott228d5b82017-12-06 12:03:09 +00009}
10
11if [[ "$1" == "stack" ]]; then
12 case "$2" in
13 install)
Bernard Cafarelli0bdc63d2020-04-20 16:31:14 +020014 if [[ "$INSTALL_TEMPEST" == "True" ]]; then
15 echo_summary "Installing neutron-tempest-plugin"
16 install_neutron_tempest_plugin
17 fi
Jens Harbott228d5b82017-12-06 12:03:09 +000018 ;;
Slawek Kaplonskida17f002018-10-11 18:35:23 +020019 test-config)
20 echo_summary "Configuring neutron-tempest-plugin tempest options"
21 configure_advanced_image
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +020022 create_flavor_for_advance_image $ADVANCED_INSTANCE_TYPE 256 4 1
Slawek Kaplonskida17f002018-10-11 18:35:23 +020023 configure_flavor_for_advanced_image
Jens Harbott228d5b82017-12-06 12:03:09 +000024 esac
25fi