Browse code

Merge "change Quantum network plugin set part"

Jenkins authored on 2012/10/29 20:33:52
Showing 1 changed files
... ...
@@ -1266,8 +1266,10 @@ if is_service_enabled quantum; then
1266 1266
         Q_PLUGIN_CONF_FILENAME=ryu.ini
1267 1267
         Q_DB_NAME="ovs_quantum"
1268 1268
         Q_PLUGIN_CLASS="quantum.plugins.ryu.ryu_quantum_plugin.RyuQuantumPluginV2"
1269
-    else
1270
-        echo "Unknown Quantum plugin '$Q_PLUGIN'.. exiting"
1269
+    fi
1270
+
1271
+    if [[ $Q_PLUGIN_CONF_PATH == '' || $Q_PLUGIN_CONF_FILENAME == '' || $Q_PLUGIN_CLASS == '' ]]; then
1272
+        echo "Quantum plugin not set.. exiting"
1271 1273
         exit 1
1272 1274
     fi
1273 1275