summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-09-23 06:58:14 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-09-23 07:01:57 +0200
commit430ca21da1f52a15491e4ad2acf3eabd16e1e203 (patch)
tree22401c5b617972e3b2e58a2364ed1d1028f6ccb3
parent4b74bff051cda42bfd308a0934d3ca363f7f3d7c (diff)
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 <cedric.ollivier@orange.com> (cherry picked from commit 98a4a863935be38f63e78550ddbcf4c1299bfdf1)
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py9
1 files 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'))