summaryrefslogtreecommitdiff
path: root/zebra/zebra_rnh.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-03-01 10:48:05 -0500
committerMark Stapp <mjs@voltanet.io>2021-04-07 15:38:09 -0400
commitaef1d5404fabe113e66bbc49499a7eb2b96aaab4 (patch)
tree9616c8e85329f88318741a49157eb217bed7782b /zebra/zebra_rnh.h
parent964788a11ffa185c89054144a53a2e1a6be69036 (diff)
zebra: add config control to hide backup nh events in nht
Add a config that can control hiding of backup-nexthop activation changes in nexthop-tracking. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_rnh.h')
-rw-r--r--zebra/zebra_rnh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_rnh.h b/zebra/zebra_rnh.h
index c71a2b9cce..4897a6af30 100644
--- a/zebra/zebra_rnh.h
+++ b/zebra/zebra_rnh.h
@@ -64,6 +64,10 @@ extern void zebra_print_rnh_table(vrf_id_t vrfid, afi_t afi, struct vty *vty,
extern int rnh_resolve_via_default(struct zebra_vrf *zvrf, int family);
+/* UI control to avoid notifications if backup nexthop status changes */
+void rnh_set_hide_backups(bool hide_p);
+bool rnh_get_hide_backups(void);
+
#ifdef __cplusplus
}
#endif