Load neutron_fwaas.conf with '--config-file' for neutron-server

This commit enables to load neutron_fwaas.conf for neutron-server
correctly and 'FIREWALL_V2' will be registered into service_provider.

Closes-Bug: #1786413
Co-Authored-By: Cao Xuan Hoang <hoangcx@vn.fujitsu.com>
Change-Id: I9401a797f1aff1b7c603b8795f9c603289e4589e
This commit is contained in:
Yushiro FURUKAWA 2018-08-10 14:58:43 +09:00
parent 5b3ac1ebda
commit e63882d43c
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ function configure_fwaas_v1() {
function configure_fwaas_v2() {
# Add conf file
cp $NEUTRON_FWAAS_DIR/etc/neutron_fwaas.conf.sample $NEUTRON_FWAAS_CONF
neutron_server_config_add $NEUTRON_FWAAS_CONF
inicomment $NEUTRON_FWAAS_CONF service_providers service_provider
iniadd $NEUTRON_FWAAS_CONF service_providers service_provider $NEUTRON_FWAAS_SERVICE_PROVIDERV2