summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py
index 786a7c5b6..e50c61af9 100644
--- a/functest/opnfv_tests/openstack/tempest/conf_utils.py
+++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py
@@ -229,6 +229,7 @@ def update_tempest_conf_file(conf_file, rconfig):
def configure_tempest_update_params(tempest_conf_file, network_name=None,
image_id=None, flavor_id=None,
compute_cnt=1):
+ # pylint: disable=too-many-branches
"""
Add/update needed parameters into tempest.conf file
"""
@@ -236,6 +237,8 @@ def configure_tempest_update_params(tempest_conf_file, network_name=None,
rconfig = ConfigParser.RawConfigParser()
rconfig.read(tempest_conf_file)
rconfig.set('compute', 'fixed_network_name', network_name)
+ if CI_INSTALLER_TYPE == 'fuel':
+ setattr(config.CONF, 'tempest_volume_device_name', 'vdc')
rconfig.set('compute', 'volume_device_name',
getattr(config.CONF, 'tempest_volume_device_name'))