]> git.proxmox.com Git - mirror_frr.git/commit
lib: Add the ability to grab a nhg starting id
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Apr 2020 13:41:01 +0000 (09:41 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
commit224b3c8a79a6635400d7b92f5d89eab1bd9e08a2
treea6240cb5ef1e69b4fb10c26e2aa9f7f161dc2a76
parent786a9bd9eb6c66fb69acb388e127b809f029a391
lib: Add the ability to grab a nhg starting id

Add new function zclient_get_nhg_start that will allow an
upper level protocol to get a starting point for it's own
nhg space.  Give each protocol a space of 50 million.
zebra will own the space from 0 - 199999999 because
of SYSTEM, KERNEL and CONNECT route types.

This is the start of some work that will allow upper
level protocols to install and maintain their own NHG's.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/zclient.c
lib/zclient.h