From 98cbbaea91f66df1ad0ad965ceb8977d8d3a8079 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 10 Apr 2018 15:57:09 -0400 Subject: lib: Handle if up/down and vrf enable/disable events Properly notice when we get if up/down and vrf enable/disable events and attempt to properly install nexthops as they come in. Ticket: CM20489 Signed-off-by: Donald Sharp --- lib/nexthop_group.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/nexthop_group.h') diff --git a/lib/nexthop_group.h b/lib/nexthop_group.h index e9b670d53..a44f4e354 100644 --- a/lib/nexthop_group.h +++ b/lib/nexthop_group.h @@ -94,6 +94,11 @@ void nexthop_group_init( const struct nexthop *nhop), void (*delete)(const char *name)); +void nexthop_group_enable_vrf(struct vrf *vrf); +void nexthop_group_disable_vrf(struct vrf *vrf); +void nexthop_group_interface_state_change(struct interface *ifp, + ifindex_t oldifindex); + extern struct nexthop *nexthop_exists(struct nexthop_group *nhg, struct nexthop *nh); -- cgit v1.2.3