Browse code

lib/tempest: stop using deprecated config option.

Use the new name instead.

Change-Id: I31f83ec70b8803a29a7be765661517d890ffd6f1

Jordan Pittier authored on 2016/05/10 21:56:12
Showing 1 changed files
... ...
@@ -331,14 +331,14 @@ function configure_tempest {
331 331
         tempest_compute_max_microversion=None
332 332
     fi
333 333
     if [ "$tempest_compute_min_microversion" == "None" ]; then
334
-        inicomment $TEMPEST_CONFIG compute-feature-enabled min_microversion
334
+        inicomment $TEMPEST_CONFIG compute min_microversion
335 335
     else
336
-        iniset $TEMPEST_CONFIG compute-feature-enabled min_microversion $tempest_compute_min_microversion
336
+        iniset $TEMPEST_CONFIG compute min_microversion $tempest_compute_min_microversion
337 337
     fi
338 338
     if [ "$tempest_compute_max_microversion" == "None" ]; then
339
-        inicomment $TEMPEST_CONFIG compute-feature-enabled max_microversion
339
+        inicomment $TEMPEST_CONFIG compute max_microversion
340 340
     else
341
-        iniset $TEMPEST_CONFIG compute-feature-enabled max_microversion $tempest_compute_max_microversion
341
+        iniset $TEMPEST_CONFIG compute max_microversion $tempest_compute_max_microversion
342 342
     fi
343 343
 
344 344
     iniset $TEMPEST_CONFIG compute-feature-enabled resize True
... ...
@@ -374,7 +374,7 @@ function configure_tempest {
374 374
 
375 375
     # Network
376 376
     iniset $TEMPEST_CONFIG network api_version 2.0
377
-    iniset $TEMPEST_CONFIG network tenant_networks_reachable false
377
+    iniset $TEMPEST_CONFIG network project_networks_reachable false
378 378
     iniset $TEMPEST_CONFIG network public_network_id "$public_network_id"
379 379
     iniset $TEMPEST_CONFIG network public_router_id "$public_router_id"
380 380
     iniset $TEMPEST_CONFIG network default_network "$FIXED_RANGE"