mirror_frr/tests/topotests/isis_tilfa_topo1
Donald Sharp 266b061994 zebra: Properly note that a nhg's nexthop has gone down
Current code when a link is set down is to just mark the
nexthop group as not properly setup.  Leaving situations
where when an interface goes down and show output is
entered we see incorrect state.  This is true for anything
that would be checking those flags at that point in time.

Modify the interface down nexthop group code to notice the
nexthops appropriately ( and I mean set the appropriate flags )
and to allow a `show ip route` command to actually display
what is going on with the nexthops.

eva# show ip route 1.0.0.0
Routing entry for 1.0.0.0/32
  Known via "sharp", distance 150, metric 0, best
  Last update 00:00:06 ago
  * 192.168.44.33, via dummy1, weight 1
  * 192.168.45.33, via dummy2, weight 1

sharpd@eva:~/frr1$ sudo ip link set dummy2 down

eva# show ip route 1.0.0.0
Routing entry for 1.0.0.0/32
  Known via "sharp", distance 150, metric 0, best
  Last update 00:00:12 ago
  * 192.168.44.33, via dummy1, weight 1
    192.168.45.33, via dummy2 inactive, weight 1

Notice now that the 1.0.0.0/32 route now correctly
displays the route for the nexthop group entry.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-07-03 09:34:55 -04:00
..
rt1 tests: introduce method to update reference data in isis_tilfa_topo1 2024-06-10 12:28:01 -03:00
rt2 tests: introduce method to update reference data in isis_tilfa_topo1 2024-06-10 12:28:01 -03:00
rt3 tests: introduce method to update reference data in isis_tilfa_topo1 2024-06-10 12:28:01 -03:00
rt4 tests: introduce method to update reference data in isis_tilfa_topo1 2024-06-10 12:28:01 -03:00
rt5 zebra: Properly note that a nhg's nexthop has gone down 2024-07-03 09:34:55 -04:00
rt6 tests: introduce method to update reference data in isis_tilfa_topo1 2024-06-10 12:28:01 -03:00
__init__.py tests: Unify directory naming for topotests 2021-05-11 14:14:26 +03:00
test_isis_tilfa_topo1.py tests: Avoid importing unused modules 2024-06-17 15:42:59 +05:30