Merge "Devstack: Create ml2 config file for FWaaS-V2"

This commit is contained in:
Zuul 2018-12-30 07:47:57 +00:00 committed by Gerrit Code Review
commit 8fba16050d

View File

@ -129,3 +129,13 @@ elif [[ $Q_PLUGIN == 'vmware_nsx_p' ]]; then
fi
fi
fi
if [[ "$1" == "stack" && "$2" == "post-config" ]]; then
if is_service_enabled q-fwaas-v2; then
# make sure ml2 config exists for FWaaS-v2
if [ ! -f "/etc/neutron/plugins/ml2/ml2_conf.ini" ]; then
mkdir /etc/neutron/plugins/ml2
cp $DEST/neutron/etc/neutron/plugins/ml2/ml2_conf.ini.sample /etc/neutron/plugins/ml2/ml2_conf.ini
fi
fi
fi