summaryrefslogtreecommitdiffstats
path: root/sdnvpn/lib/config.py
diff options
context:
space:
mode:
authorDimitrios Markou <mardim@intracom-telecom.com>2018-06-01 16:09:47 +0300
committerDimitrios Markou <mardim@intracom-telecom.com>2018-06-05 09:50:15 +0300
commit96d17e018f0b4b4547689a31fb0e4f4af1d65a07 (patch)
treef2a0daf12b1bbbe1ea2fff3c9c00888b99a061b3 /sdnvpn/lib/config.py
parente08e7c43c85fa04dc78a1fcf8a11ab877a78dfb9 (diff)
[Bug Fix] Use correct image for the Quagga instance
In testcase_3 the Quagga image is downloaded from the opnfv.artifacts repository to the /home/opnfv/functest/data directory. But the testcase_3 after that tries to find the image in the /home/opnfv/functest/images directory. This results in using a wrong image Jira: SDNVPN-213 Change-Id: I99539fc9a7a2d016a97ed51fca0cde81f82b3911 Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
Diffstat (limited to 'sdnvpn/lib/config.py')
-rw-r--r--sdnvpn/lib/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnvpn/lib/config.py b/sdnvpn/lib/config.py
index 81d895b..847b41c 100644
--- a/sdnvpn/lib/config.py
+++ b/sdnvpn/lib/config.py
@@ -53,7 +53,7 @@ class CommonConfig(object):
# TODO does functest have an ubuntu image somewhere?
self.ubuntu_image_name = "sdnvpn-ubuntu"
self.ubuntu_image_path = '{0}/{1}'.format(
- getattr(config.CONF, 'dir_functest_images'),
+ getattr(config.CONF, 'dir_functest_data'),
"ubuntu-16.04-server-cloudimg-amd64-disk1.img")
self.custom_flavor_name = 'm1.custom'
self.custom_flavor_ram = 1024