Skip to content

Commit 9663242

Browse files
committed
Add neutron-bgp-interconnect-bridge external-id for OVN BGP
When the ovn-bgp extension is enabled, the OVN BGP agent needs to know which OVS bridge is used for interconnecting the BGP fabric with the OVN overlay. Set the neutron-bgp-interconnect-bridge external-id on Open_vSwitch to OVS_PHYSICAL_BRIDGE, alongside the existing neutron-bgp-peer-bridges setting. Assisted-By: Claude Opus 4.6 Change-Id: Ibcfffbfcdd873e4c971fd293e351e0eb9cea72ac Signed-off-by: Eduardo Olivares <eolivare@redhat.com>
1 parent bdfe1d9 commit 9663242

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/neutron_plugins/ovn_agent

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ function _start_ovs {
701701
echo "NEUTRON_BGP_PEER_BRIDGES must be set when ovn-bgp extension is enabled"
702702
return 1
703703
fi
704-
sudo ovs-vsctl --no-wait -- set Open_vSwitch . external-ids:neutron-bgp-peer-bridges=$NEUTRON_BGP_PEER_BRIDGES
704+
sudo ovs-vsctl --no-wait -- set Open_vSwitch . external-ids:neutron-bgp-peer-bridges=$NEUTRON_BGP_PEER_BRIDGES external-ids:neutron-bgp-interconnect-bridge=$OVS_PHYSICAL_BRIDGE
705705
elif is_provider_network || [[ $Q_USE_PROVIDERNET_FOR_PUBLIC == "True" ]]; then
706706
ovn_base_setup_bridge $OVS_PHYSICAL_BRIDGE
707707
sudo ovs-vsctl set open . external-ids:ovn-bridge-mappings=${PHYSICAL_NETWORK}:${OVS_PHYSICAL_BRIDGE}

0 commit comments

Comments
 (0)