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
"""
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'))