Renamed [BGP] config section to [bgp]
Though oslo.config should not care about the case, it seems like oslo-config-generator creates two separate sections with different case if both are included. Change-Id: I0e9857c893c7a3a2d655fd380e17cd2f3acbf4e2
This commit is contained in:
parent
f74bc509bd
commit
6ef114c683
@ -19,14 +19,14 @@ function configure_dr_agent_bgp_config {
|
||||
cp $NEUTRON_DYNAMIC_ROUTING_DIR/etc/bgp_dragent.ini.sample $DR_AGENT_BGP_CONF_FILE
|
||||
iniset $DR_AGENT_BGP_CONF_FILE DEFAULT verbose True
|
||||
iniset $DR_AGENT_BGP_CONF_FILE DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
|
||||
iniset $DR_AGENT_BGP_CONF_FILE BGP bgp_router_id $BGP_ROUTER_ID
|
||||
iniset $DR_AGENT_BGP_CONF_FILE bgp bgp_router_id $BGP_ROUTER_ID
|
||||
}
|
||||
|
||||
function configure_dr_agent_bgp_driver {
|
||||
if [ -z "$BGP_SPEAKER_DRIVER" ] ; then
|
||||
BGP_SPEAKER_DRIVER=$RYU_BGP_SPEAKER_DRIVER
|
||||
fi
|
||||
iniset $DR_AGENT_BGP_CONF_FILE BGP bgp_speaker_driver $BGP_SPEAKER_DRIVER
|
||||
iniset $DR_AGENT_BGP_CONF_FILE bgp bgp_speaker_driver $BGP_SPEAKER_DRIVER
|
||||
}
|
||||
|
||||
#############################
|
||||
|
@ -20,7 +20,7 @@ import neutron_dynamic_routing.services.bgp.agent.config
|
||||
|
||||
def list_bgp_agent_opts():
|
||||
return [
|
||||
('BGP',
|
||||
('bgp',
|
||||
itertools.chain(
|
||||
neutron_dynamic_routing.services.bgp.agent.
|
||||
config.BGP_DRIVER_OPTS,
|
||||
|
Loading…
Reference in New Issue
Block a user