Neutron plugin always needs plugin file even if the plugin
is out of tree. This patch remove the restraint.
Change-Id: Iedd52db6430def47505a127986170d7279966141
Closes-Bug: #1477452
| 1 | 1 |
old mode 100644 |
| 2 | 2 |
new mode 100755 |
| ... | ... |
@@ -326,7 +326,9 @@ ENABLE_METADATA_NETWORK=${ENABLE_METADATA_NETWORK:-False}
|
| 326 | 326 |
# --------------------------------- |
| 327 | 327 |
|
| 328 | 328 |
# Please refer to ``lib/neutron_plugins/README.md`` for details. |
| 329 |
-source $TOP_DIR/lib/neutron_plugins/$Q_PLUGIN |
|
| 329 |
+if [ -f $TOP_DIR/lib/neutron_plugins/$Q_PLUGIN ]; then |
|
| 330 |
+ source $TOP_DIR/lib/neutron_plugins/$Q_PLUGIN |
|
| 331 |
+fi |
|
| 330 | 332 |
|
| 331 | 333 |
# Agent loadbalancer service plugin functions |
| 332 | 334 |
# ------------------------------------------- |