]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Add code to notice nexthop changes for pbr tables
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 26 Mar 2018 15:05:52 +0000 (11:05 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 6 Apr 2018 17:22:43 +0000 (13:22 -0400)
commitd61d5d888cc0e9f8526eff39de7e3aa4949fe322
treea43575e3fcb34e83bf7ffabd6d59ffae6166ddf7
parent5e44f18ff124df9338ffe0c28611736fa1ecadd7
zebra: Add code to notice nexthop changes for pbr tables

When we have a PBR installed as a table, we need to notice
when a nexthop changes and rethink the routes for the pbr
tables.

Add code to nexthop tracking to notice the pbr watched
nexthop has changed in some manner.  If it is a pbr route
that depends on the nexthop then just enqueue it for
rethinking.

This is a bit of a hammer, we know that only pbr routes
are going to be installing routes in weird non-standard
tables as such we need to only handle nexthop changes
for nexthops that are actually changing that we care
about and to only requeue for route nodes we have
route entries for from PBR

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_rnh.c