You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 3 BGP FRR routers (A, B and C). A is paired with B & C.
I have ZAPI program running in the A device to redistribute BGP routes from FRR to a Go Program.
B is advertising to A - let's say prefix: 10.10.10.0/24 with next hop as 10.10.10.10 and AS-PATH length: 6
I received a route ADD event to Go program.
C is advertising to A - the same prefix: 10.10.10.0/24 with next hop as 10.10.20.20 and AS-PATH length: 3
I received a route ADD event to Go program about the new event.
But I expect DELETE event for the B route and the ADD for C, DELETE event is missing => I expect this to happen as the best route selection is changed.
Same when I withdraw both the routes, I get only one DELETE event, not two.
Is this behaviour expected, or some logic I am missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi Team,
I have 3 BGP FRR routers (A, B and C). A is paired with B & C.
I have ZAPI program running in the A device to redistribute BGP routes from FRR to a Go Program.
B is advertising to A - let's say prefix: 10.10.10.0/24 with next hop as 10.10.10.10 and AS-PATH length: 6
I received a route ADD event to Go program.
C is advertising to A - the same prefix: 10.10.10.0/24 with next hop as 10.10.20.20 and AS-PATH length: 3
I received a route ADD event to Go program about the new event.
But I expect DELETE event for the B route and the ADD for C, DELETE event is missing => I expect this to happen as the best route selection is changed.
Same when I withdraw both the routes, I get only one DELETE event, not two.
Is this behaviour expected, or some logic I am missing?
Beta Was this translation helpful? Give feedback.
All reactions