Commit d8b5f745 authored by David Johnson's avatar David Johnson

Fix: configure controller with names of provider capnet nets (but not bridges).

parent 7e96fcaf
Pipeline #1132 skipped
......@@ -60,6 +60,22 @@ fi
crudini --set /etc/neutron/neutron.conf DEFAULT verbose True
crudini --set /etc/neutron/neutron.conf DEFAULT debug True
##
## Setup our physical Capnet connections -- but only available provider
## networks, not bridge mappings (because the controller has no bridges).
##
capnet_networks=""
for lan in $DATACAPNETLANS ; do
if [ -n "${capnet_networks}" ]; then
capnet_networks="${capnet_networks},"
fi
. $OURDIR/info.${lan}
capnet_networks="${capnet_networks}${lan}"
done
crudini --set /etc/neutron/plugins/ml2/ml2_conf_capnet.ini \
capnet capnet_networks "$capnet_networks"
##
## Hack the initscript a bit, to add ml2_conf_capnet.ini as a config file.
##
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment