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
When calling GetTable to get number of destinations and paths, both values are the same.
This is due to the fact that both are populated with the same value [ref]:
func (adj *AdjRib) TableInfo(family bgp.RouteFamily) (*TableInfo, error) {
if _, ok := adj.table[family]; !ok {
return nil, fmt.Errorf("%s unsupported", family)
}
c := adj.Count([]bgp.RouteFamily{family})
a := adj.Accepted([]bgp.RouteFamily{family})
return &TableInfo{
NumDestination: c,
NumPath: c,
NumAccepted: a,
}, nil
}
Is this expected behavior or a bug?
The text was updated successfully, but these errors were encountered:
Seems logical to me, since one peer cannot produce more than one path per destination. In GRT, though, since it is combined view of all peers it's not true - there are more paths than destinations.
When calling
GetTable
to get number of destinations and paths, both values are the same.This is due to the fact that both are populated with the same value [ref]:
Is this expected behavior or a bug?
The text was updated successfully, but these errors were encountered: