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
diff --git a/lib/tempest b/lib/tempest
index f856ce0..f9a2da1 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -349,6 +349,8 @@
iniset $TEMPEST_CONFIG compute-feature-enabled change_password False
iniset $TEMPEST_CONFIG compute-feature-enabled block_migration_for_live_migration ${USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION:-False}
iniset $TEMPEST_CONFIG compute-feature-enabled api_extensions $compute_api_extensions
+ # TODO(mriedem): Remove the preserve_ports flag when Juno is end of life.
+ iniset $TEMPEST_CONFIG compute-feature-enabled preserve_ports True
# Compute admin
iniset $TEMPEST_CONFIG "compute-admin" username $ADMIN_USERNAME