]> git.proxmox.com Git - mirror_frr.git/commit - lib/log.c
lib: add framework for allocating routing table identifier IDs
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 5 Mar 2018 16:57:29 +0000 (17:57 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 29 Mar 2018 07:19:52 +0000 (09:19 +0200)
commit75fb51c184ef1c575aa8160d9c95b91c96b8e129
treec7d0a934c6c9c518cf8836073acd958a2af1e84c
parent615e608d76bd3e1acf1769c914142210ac88e3f7
lib: add framework for allocating routing table identifier IDs

The library changes add 3 new messages to exchange between daemons and
ZEBRA.
- ZEBRA_TABLE_MANAGER_CONNECT,
- ZEBRA_GET_TABLE_CHUNK,
- ZEBRA_RELEASE_TABLE_CHUNK,
the need is that routing tables identifier are shared by various
services. For the current case, policy routing enhancements are planned
to be used in FRR. Poliy routing relies on routing tables identifiers
from kernels. It will be mainly used by the future policy based routing
daemon, but not only. In the flowspec case, the BGP will need also to
inject policy routing information into specific routing tables.
For that, the proposal is made to let zebra give the appropriate range
that is needed for all daemons.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/log.c
lib/zclient.c
lib/zclient.h