Merge "stack.sh fails for Cisco plugin with missing cisco_plugins.ini error"
This commit is contained in:
commit
8cedabcea8
@ -183,6 +183,15 @@ function neutron_plugin_configure_common {
|
||||
ovs_neutron_plugin_configure_common
|
||||
Q_PLUGIN_EXTRA_CONF_PATH=etc/neutron/plugins/cisco
|
||||
Q_PLUGIN_EXTRA_CONF_FILES=(cisco_plugins.ini)
|
||||
# Copy extra config files to /etc so that they can be modified
|
||||
# later according to Cisco-specific localrc settings.
|
||||
mkdir -p /$Q_PLUGIN_EXTRA_CONF_PATH
|
||||
local f
|
||||
local extra_conf_file
|
||||
for (( f=0; $f < ${#Q_PLUGIN_EXTRA_CONF_FILES[@]}; f+=1 )); do
|
||||
extra_conf_file=$Q_PLUGIN_EXTRA_CONF_PATH/${Q_PLUGIN_EXTRA_CONF_FILES[$f]}
|
||||
cp $NEUTRON_DIR/$extra_conf_file /$extra_conf_file
|
||||
done
|
||||
else
|
||||
Q_PLUGIN_CONF_PATH=etc/neutron/plugins/cisco
|
||||
Q_PLUGIN_CONF_FILENAME=cisco_plugins.ini
|
||||
|
Loading…
Reference in New Issue
Block a user