Skip to content

Commit 6262152

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Copy neutron service conf files into NEUTRON_CONF_DIR"
2 parents 8942585 + 37da459 commit 6262152

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)