neutron-tempest-plugin/devstack/plugin.sh
Slawek Kaplonski 7e5923ac25 Use Ubuntu minimal image as advanced guest image
Ubuntu minimal is smaller than regular cloud image.
It should works fine with less memory and boot faster than in
the gates.

Change-Id: Ie281698ecef05fd7ddf831eabd0e0121ac477709
2021-10-12 09:44:37 +02:00

26 lines
830 B
Bash

# 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"
# install_neutron_tempest_plugin
function install_neutron_tempest_plugin {
setup_dev_lib "neutron-tempest-plugin"
}
if [[ "$1" == "stack" ]]; then
case "$2" in
install)
if [[ "$INSTALL_TEMPEST" == "True" ]]; then
echo_summary "Installing neutron-tempest-plugin"
install_neutron_tempest_plugin
fi
;;
test-config)
echo_summary "Configuring neutron-tempest-plugin tempest options"
configure_advanced_image
create_flavor_for_advance_image $ADVANCED_INSTANCE_TYPE 256 4 1
configure_flavor_for_advanced_image
esac
fi