2018-05-28 11:38:56 +02:00
|
|
|
# Directory where this plugin.sh file is
|
|
|
|
NEUTRON_TEMPEST_PLUGIN_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
|
|
|
|
|
|
source "${NEUTRON_TEMPEST_PLUGIN_DIR}/customize_image.sh"
|
|
|
|
|
2017-12-06 12:03:09 +00:00
|
|
|
# install_neutron_tempest_plugin
|
|
|
|
function install_neutron_tempest_plugin {
|
|
|
|
setup_dev_lib "neutron-tempest-plugin"
|
2018-05-28 11:38:56 +02:00
|
|
|
install_customize_image_tools
|
2017-12-06 12:03:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if [[ "$1" == "stack" ]]; then
|
|
|
|
case "$2" in
|
|
|
|
install)
|
|
|
|
echo_summary "Installing neutron-tempest-plugin"
|
|
|
|
install_neutron_tempest_plugin
|
|
|
|
;;
|
2018-10-11 18:35:23 +02:00
|
|
|
test-config)
|
|
|
|
echo_summary "Configuring neutron-tempest-plugin tempest options"
|
|
|
|
configure_advanced_image
|
|
|
|
configure_flavor_for_advanced_image
|
2017-12-06 12:03:09 +00:00
|
|
|
esac
|
|
|
|
fi
|