summaryrefslogtreecommitdiff
path: root/lib/command_graph.c
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2021-09-03 05:59:53 -0700
committerMobashshera Rasool <mrasool@vmware.com>2021-09-03 06:40:14 -0700
commitd51715bb447faa8cd75a3563f847d945b0c4a782 (patch)
treec9ec2d19a5daa60202d22fef65e6262f59bd6ee3 /lib/command_graph.c
parent3cb67fef98c9869a2d2f3bf1be86c3b29cb0405e (diff)
ospfd: GR Conformance fix for Hello packet DR election
Problem Statement: =================== DUT selecting itself as DR when RR goes for reload. Test Case 7.2 DUT (GR Helper) receives the Hello packet from the OSPF GR RESTARTER (ANVL here) with DR and BDR set to 0.0.0.0 and DUT in its hello neighbor list. DUT triggers the DR and BDR election although it is in the Helper mode for that neighbor. Root Cause Analysis: ==================== When hello packet is received with self router ID in the neighbor list, there is no check in the code to handle this scenario. Hence the DR/BDR election happens and it changes the DR although it is helper. Fix: =================== As per RFC 3623 Section 3. Operation of Helper Neighbor, below point, we need to maintain the DR relationship. Also, if X was the Designated Router on network segment S when the helping relationship began, Y maintains X as the Designated Router until the helping relationship is terminated. Adding the check when DUT is under neighbor helper mode, we need to avoid ISM state change when hello packet is received with DR/BDR set to 0.0.0.0. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'lib/command_graph.c')
0 files changed, 0 insertions, 0 deletions