diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-06-11 13:49:25 -0400 | 
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:41:00 -0400 | 
| commit | 2053061baeff77c8ce39baf59d6abefa1ee821eb (patch) | |
| tree | c81ebe855c589c8573f0a6f0f75ba03b98fe338b /sharpd/sharp_nht.h | |
| parent | 70347b7ad6e822ec5a6f22c866c408479887f7b7 (diff) | |
sharpd: implement NHG notification handling
Implement handling of NHG notifications in sharpd so that
the routes don't attempt to use an NHG ID that did not
successfully get created. If it does not get installed, we
fall back to traditional zapi messaging.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'sharpd/sharp_nht.h')
| -rw-r--r-- | sharpd/sharp_nht.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/sharpd/sharp_nht.h b/sharpd/sharp_nht.h index 27c0104583..da33502878 100644 --- a/sharpd/sharp_nht.h +++ b/sharpd/sharp_nht.h @@ -37,5 +37,8 @@ extern struct sharp_nh_tracker *sharp_nh_tracker_get(struct prefix *p);  extern void sharp_nh_tracker_dump(struct vty *vty);  extern uint32_t sharp_nhgroup_get_id(const char *name); +extern void sharp_nhgroup_id_set_installed(uint32_t id, bool installed); +extern bool sharp_nhgroup_id_is_installed(uint32_t id); +  extern void sharp_nhgroup_init(void);  #endif  | 
