From 36daecd1a362a6a5388aa4ee5c5269563a820cbf Mon Sep 17 00:00:00 2001 From: Hirofumi Ichihara Date: Thu, 23 Jul 2015 17:50:40 +0900 Subject: [PATCH] Remove restraint on plugin file from neutron plugins 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 --- lib/neutron-legacy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 lib/neutron-legacy diff --git a/lib/neutron-legacy b/lib/neutron-legacy old mode 100644 new mode 100755 index c244bc54cd..c74c844a0c --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -326,7 +326,9 @@ ENABLE_METADATA_NETWORK=${ENABLE_METADATA_NETWORK:-False} # --------------------------------- # Please refer to ``lib/neutron_plugins/README.md`` for details. -source $TOP_DIR/lib/neutron_plugins/$Q_PLUGIN +if [ -f $TOP_DIR/lib/neutron_plugins/$Q_PLUGIN ]; then + source $TOP_DIR/lib/neutron_plugins/$Q_PLUGIN +fi # Agent loadbalancer service plugin functions # -------------------------------------------