From 430ca21da1f52a15491e4ad2acf3eabd16e1e203 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 23 Sep 2018 06:58:14 +0200 Subject: Fix typos in tempest.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It completes the previous change [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/62793/2 Change-Id: Ie4c4c5cb374f2bfac6397841f8ddc2cd3b2f524b Signed-off-by: Cédric Ollivier (cherry picked from commit 98a4a863935be38f63e78550ddbcf4c1299bfdf1) --- functest/opnfv_tests/openstack/tempest/conf_utils.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py index 87afbe389..8901e6991 100644 --- a/functest/opnfv_tests/openstack/tempest/conf_utils.py +++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py @@ -225,10 +225,11 @@ def configure_tempest_update_params( rconfig.set('identity', 'default_domain_id', domain_id) rconfig.set('identity-feature-enabled', 'api_v2', False) rconfig.set('identity-feature-enabled', 'api_v2_admin', False) - if not rconfig.has_section('neutron'): - rconfig.add_section('neutron') - rconfig.set('neutron', 'default_network', cidr) - rconfig.set('neutron', 'project_network_cidr', cidr) + if not rconfig.has_section('network'): + rconfig.add_section('network') + rconfig.set('network', 'default_network', cidr) + rconfig.set('network', 'project_network_cidr', cidr) + rconfig.set('network', 'project_networks_reachable', False) rconfig.set( 'validation', 'ssh_timeout', getattr(config.CONF, 'tempest_validation_ssh_timeout')) -- cgit 1.2.3-korg