]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: interface speed change during intf add 2908/head
authorChirag Shah <chirag@cumulusnetworks.com>
Fri, 24 Aug 2018 22:15:36 +0000 (15:15 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Fri, 24 Aug 2018 22:26:42 +0000 (15:26 -0700)
commit96065dc3104a2f2dcfc2e7defd13a61662bd597e
tree9b50a1e60386bb78f4190bb50d2d5079ffdbbdde
parent796850390932a3cb06d7bdb5a67e689cb3309fd7
ospfd: interface speed change during intf add

The problem is seen where speed mismatch caused ECMP route
not being reflected with correct number paths (NHs).

During cold boot, some interface speed updated by zebra as
part of one shot timer and triggers interface add to clients.
In this case, ospf already have created interface (bond interface),
but speed was not updated, trigger to do interface speed change
as part of interface add, which will trigger all Router LSA to
use updated speed into cost calculation.

Ticket:CM-22170
Testing Done:
Bring up CLOS config with Spine and leafs. Leaf have CLAG pair,
with same VRR ip address.
At spine one of the bond connecting to leaf node was having
higher speed than the paired device, With this fix, at spine (DUT)
bond interface speed is equal from all peer nodes.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospfd/ospf_ase.c
ospfd/ospf_zebra.c