blob: 25cfba6d525d692972105e9123097afed1882ffe [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)
15 echo_summary "Installing neutron-tempest-plugin"
16 install_neutron_tempest_plugin
17 ;;
Slawek Kaplonskida17f002018-10-11 18:35:23 +020018 test-config)
19 echo_summary "Configuring neutron-tempest-plugin tempest options"
20 configure_advanced_image
21 configure_flavor_for_advanced_image
Jens Harbott228d5b82017-12-06 12:03:09 +000022 esac
23fi