summaryrefslogtreecommitdiffstats
path: root/etc
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 /etc
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 'etc')
-rw-r--r--etc/conf/cmd_config.yml4
-rw-r--r--etc/conf/functest_config.yml3
2 files changed, 6 insertions, 1 deletions
diff --git a/etc/conf/cmd_config.yml b/etc/conf/cmd_config.yml
index 05456583..3bfce46e 100644
--- a/etc/conf/cmd_config.yml
+++ b/etc/conf/cmd_config.yml
@@ -93,3 +93,7 @@ cli:
- '-n'
is_flag: 'True'
help: 'Keep all Containers created for debuging.'
+ deployscenario:
+ flags:
+ - '--deploy-scenario'
+ help: 'Specify the DEPLOY_SCENARIO which will be used as input by each testcase respectively'
diff --git a/etc/conf/functest_config.yml b/etc/conf/functest_config.yml
index 1e7cfeb3..b9453e17 100644
--- a/etc/conf/functest_config.yml
+++ b/etc/conf/functest_config.yml
@@ -1,6 +1,7 @@
---
{% set validate_testcase = validate_testcase or '' %}
+{% set deploy_scenario = deploy_scenario or 'unknown' %}
{% set os_insecure = os_insecure or 'False' %}
{% set os_verify = '' %}
{% if os_insecure == 'True' %}
@@ -11,7 +12,7 @@ functest:
image_name: opnfv/functest-smoke
docker_tag: fraser
opts: '-id --privileged=true'
- envs: '{{os_verify}} -e INSTALLER_TYPE=unknown -e DEPLOY_SCENARIO=unknown -e NODE_NAME=unknown
+ envs: '{{os_verify}} -e INSTALLER_TYPE=unknown -e DEPLOY_SCENARIO={{deploy_scenario}} -e NODE_NAME=unknown
-e TEST_DB_URL=file:///home/opnfv/functest/results/functest_results.txt'
config:
dir: '/home/opnfv/userconfig'