Browse code

Set compute-feature-enabled.preserve_ports=True in tempest.conf

Because of branchless Tempest we have to set a compute-feature-enabled
flag to test preserving preexisting ports from Neutron since the code
only works starting in Kilo and won't be backported to stable/juno or
stable/icehouse.

We can remove this flag once juno-eol happens.

Depends-On: I95469e4c2f4aa2bc4e6342860a9c222fb4fa7e16

Related-Bug: #1431724

Change-Id: I214baa3b861e29bedf6bb7b50534ac2286676dd1

Matt Riedemann authored on 2015/03/14 22:13:26
Showing 1 changed files
... ...
@@ -349,6 +349,8 @@ function configure_tempest {
349 349
     iniset $TEMPEST_CONFIG compute-feature-enabled change_password False
350 350
     iniset $TEMPEST_CONFIG compute-feature-enabled block_migration_for_live_migration ${USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION:-False}
351 351
     iniset $TEMPEST_CONFIG compute-feature-enabled api_extensions $compute_api_extensions
352
+    # TODO(mriedem): Remove the preserve_ports flag when Juno is end of life.
353
+    iniset $TEMPEST_CONFIG compute-feature-enabled preserve_ports True
352 354
 
353 355
     # Compute admin
354 356
     iniset $TEMPEST_CONFIG "compute-admin" username $ADMIN_USERNAME