diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-05-13 12:50:14 -0700 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:40:59 -0400 |
| commit | 6c67f41f9e39bca29416c38eecc74ec729d1d60f (patch) | |
| tree | 3ec3d87697438c4ffc35d5f685d113eb5a109a4b /lib/zclient.h | |
| parent | 0885b1e3d90b1fa4d84c7e7a5fb775ba397c4103 (diff) | |
zebra,lib: command to only install proto-based nexthops
Add a command/functionality to only install proto-based nexthops.
That is nexthops owned/created by upper level protocols, not ones
implicitly created by zebra.
There are some scenarios where you would not want zebra to be
arbitrarily installing nexthop groups and but you still want
to use ones you have control over via lib/nexthop_group config
and an upper level protocol.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index b7850cdec7..db5e1ce5b9 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -692,6 +692,7 @@ extern struct zclient_options zclient_options_default; */ #define ZEBRA_NHG_SPACING 50000000 extern uint32_t zclient_get_nhg_start(uint32_t proto); +extern uint32_t zclient_get_nhg_lower_bound(void); extern struct zclient *zclient_new(struct thread_master *m, struct zclient_options *opt); |
