We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aa4324 commit 380a476Copy full SHA for 380a476
pkg/controllers/routing/bgp_peers.go
@@ -298,6 +298,12 @@ func (nrc *NetworkRoutingController) OnNodeUpdate(obj interface{}) {
298
return
299
}
300
301
+ // update export policies so that NeighborSet gets updated with new set of nodes
302
+ err := nrc.addExportPolicies()
303
+ if err != nil {
304
+ glog.Errorf("Error adding BGP export policies: %s", err.Error())
305
+ }
306
+
307
if nrc.bgpEnableInternal {
308
nrc.syncInternalPeers()
309
0 commit comments