Skip to content

Commit 37da459

Browse files
committed
Copy neutron service conf files into NEUTRON_CONF_DIR
As part of splitting neutron into pieces, one of the steps was splitting the various bits of configuration into their respective repos. That just happened, and this change propagates those config files into /etc/neutron in the same manner that devstack is using for neutron.conf (and which is done via setup.cfg, like neutron, for regular package installs.) Required for neutron review: https://review.openstack.org/#/c/151541/ Change-Id: Ic9aec4401925eca9e1678d84662b96d346a911e3
1 parent e256022 commit 37da459

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

lib/neutron

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,9 @@ function _configure_neutron_ceilometer_notifications {
957957
}
958958

959959
function _configure_neutron_lbaas {
960+
if [ -f $NEUTRON_LBAAS_DIR/etc/neutron_lbaas.conf ]; then
961+
cp $NEUTRON_LBAAS_DIR/etc/neutron_lbaas.conf $NEUTRON_CONF_DIR
962+
fi
960963
neutron_agent_lbaas_configure_common
961964
neutron_agent_lbaas_configure_agent
962965
}
@@ -967,11 +970,17 @@ function _configure_neutron_metering {
967970
}
968971

969972
function _configure_neutron_fwaas {
973+
if [ -f $NEUTRON_FWAAS_DIR/etc/neutron_fwaas.conf ]; then
974+
cp $NEUTRON_FWAAS_DIR/etc/neutron_fwaas.conf $NEUTRON_CONF_DIR
975+
fi
970976
neutron_fwaas_configure_common
971977
neutron_fwaas_configure_driver
972978
}
973979

974980
function _configure_neutron_vpn {
981+
if [ -f $NEUTRON_VPNAAS_DIR/etc/neutron_vpnaas.conf ]; then
982+
cp $NEUTRON_VPNAAS_DIR/etc/neutron_vpnaas.conf $NEUTRON_CONF_DIR
983+
fi
975984
neutron_vpn_install_agent_packages
976985
neutron_vpn_configure_common
977986
}

0 commit comments

Comments
 (0)