summaryrefslogtreecommitdiffstats
path: root/dovetail/test_runner.py
diff options
context:
space:
mode:
authorPanagiotis Karalis <pkaralis@intracom-telecom.com>2018-06-29 16:14:22 +0300
committerPanagiotis Karalis <pkaralis@intracom-telecom.com>2018-07-12 11:40:02 +0300
commit6dbc1a9452d6c8451f759b7be73ac3986f6f4fd4 (patch)
treee4412d638be3979b6b97e79ac595a5df44163da0 /dovetail/test_runner.py
parent29b70b6da1cbae16f6c6332e54ac146c8a2fc106 (diff)
Enable OVP tests to run on a DPDK-enabled system
DPDK-enabled NFVIs require support for hugepages which in turn is configured by means of extra_specs in flavors. Currently, Functest enables hugepage support if the name of the scenario contains the substring "ovs". Dovetail allows end users to run all tests on DPDK-enabled systems and the documentation has been updates accordingly. JIRA: DOVETAIL-665 Change-Id: If4898da168f8b4c69a045ef3b00b8a8862f29b0c Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
Diffstat (limited to 'dovetail/test_runner.py')
-rw-r--r--dovetail/test_runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py
index 40e55283..c49182b8 100644
--- a/dovetail/test_runner.py
+++ b/dovetail/test_runner.py
@@ -151,6 +151,8 @@ class DockerRunner(object):
config_item['validate_testcase'] = testcase.validate_testcase()
config_item['testcase'] = testcase.name()
config_item['os_insecure'] = os.getenv("OS_INSECURE")
+ if 'DEPLOY_SCENARIO' in os.environ:
+ config_item['deploy_scenario'] = os.environ['DEPLOY_SCENARIO']
return config_item
def _update_config(self, testcase):