Use ubuntu image for tempest scenarios from Neutron

Tempest scenarios in Neutron tree contain tests from trunk plugin. These
tests require instances with 802.1q capabilities in order to test VLAN
traffic through subports.

The patch adds hook to fetch Ubuntu image for tests running from Neutron
tree. There are only few other tests in the tree so using bigger image
won't make the job running that much longer in the gate. As ubuntu boot
time takes longer, it's expected that it will take longer time until
instance becomes available over SSH.

Change-Id: I867595b0e90d23f56101835f9a524a2b0d00bb5a
This commit is contained in:
Jakub Libosvar 2017-01-09 17:24:01 +01:00
parent 1a528e817f
commit 743a610bf3
2 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,7 @@ case $VENV in
load_conf_hook osprofiler
if [[ "$VENV" =~ "dsvm-scenario" ]]; then
load_conf_hook iptables_verify
load_rc_hook ubuntu_image
fi
if [[ "$VENV" =~ "pecan" ]]; then
load_conf_hook pecan

View File

@ -0,0 +1,5 @@
DOWNLOAD_DEFAULT_IMAGES=False
IMAGE_URLS="http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img,"
DEFAULT_INSTANCE_TYPE="ds1G"
DEFAULT_INSTANCE_USER="ubuntu"
BUILD_TIMEOUT=392