Open pguibert6WIND opened 5 days ago
A nexthop-group does not display the 'fib' flag value of its nexthops.
nexthop-group A nexthop 192.168.1.55 loop1 exit
observed:
ubuntu2204# show nexthop-group rib 181818168 json { "181818168":{ "type":"sharp", "refCount":1, "uptime":"00:00:17", "vrf":"default", "valid":true, "installed":true, "depends":[ 528 ], "nexthops":[ { "flags":3, "fib":true, "ip":"192.168.1.55", "afi":"ipv4", "interfaceIndex":3, "interfaceName":"loop1", "vrf":"default", "active":true, "weight":1 } ] } }
expected:
ubuntu2204# show nexthop-group rib 181818168 json { "181818168":{ "type":"sharp", "refCount":1, "uptime":"00:00:25", "vrf":"default", "valid":true, "installed":true, "depends":[ 574 ], "nexthops":[ { "flags":3, "fib":true, "ip":"192.168.1.55", "afi":"ipv4", "interfaceIndex":3, "interfaceName":"loop1", "vrf":"default", "active":true, "weight":1 } ] } }
Fix this by refreshing the fib flag value of its nexthops, when the dataplane result indicate the nexthop-group is installed.
the before and after output looks the same to me. Can you fix or better highlight what I am missing?
@Mergifyio backport dev/10.1
backport dev/10.1
@chiragshah6 , any feedback ?
A nexthop-group does not display the 'fib' flag value of its nexthops.
observed:
expected:
Fix this by refreshing the fib flag value of its nexthops, when the dataplane result indicate the nexthop-group is installed.