From 6dbc1a9452d6c8451f759b7be73ac3986f6f4fd4 Mon Sep 17 00:00:00 2001 From: Panagiotis Karalis Date: Fri, 29 Jun 2018 16:14:22 +0300 Subject: 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 --- etc/conf/cmd_config.yml | 4 ++++ etc/conf/functest_config.yml | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'etc') 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' -- cgit 1.2.3-korg