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
This commit is contained in:
Hirofumi Ichihara 2015-07-23 17:50:40 +09:00
parent f560df36cc
commit 36daecd1a3

4
lib/neutron-legacy Normal file → Executable file
View File

@ -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
# -------------------------------------------