From: Cédric Ollivier Date: Sun, 23 Sep 2018 04:58:14 +0000 (+0200) Subject: Fix typos in tempest.conf X-Git-Tag: opnfv-7.0.0~33 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=08b567ad42c2625593bf2bf06ec596827015af00;p=functest.git Fix typos in tempest.conf 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) --- diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py index 381ab90f4..fc36a72ed 100644 --- a/functest/opnfv_tests/openstack/tempest/conf_utils.py +++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py @@ -221,10 +221,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'))