Browse code

add quantum_available flag to tempest

this ensures that if we setup quantum, we are explicit about it
in tempest. This is important so that nova tests which require
quantum features have any idea if they should function.

Change-Id: I5e6be9ff325676f25b2c391430dd66ff64a7a833

Sean Dague authored on 2013/03/01 21:23:38
Showing 1 changed files
... ...
@@ -238,6 +238,9 @@ function configure_tempest() {
238 238
     iniset $TEMPEST_CONF "compute-admin" password "$password" # DEPRECATED
239 239
 
240 240
     # network
241
+    if is_service_enabled quantum; then
242
+        iniset $TEMPEST_CONF network quantum_available "True"
243
+    fi
241 244
     iniset $TEMPEST_CONF network api_version 2.0
242 245
     iniset $TEMPEST_CONF network tenant_networks_reachable "$tenant_networks_reachable"
243 246
     iniset $TEMPEST_CONF network public_network_id "$public_network_id"