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:15 +0200
commit08b567ad42c2625593bf2bf06ec596827015af00 (patch)
treeec4c93063795a710d1b984a34875a7e2d01f8cb2
parent9498a703aa0fe8b4834993a0381d2b68511bcf36 (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 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'))