]> git.proxmox.com Git - mirror_frr.git/commit - lib/zclient.c
lib, zebra: Add ability to notify to Routing Protocols Success/Failure
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 9 Nov 2017 18:55:46 +0000 (13:55 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 27 Nov 2017 14:09:32 +0000 (09:09 -0500)
commit7ea7b86e2bab5309f5d431806c9149bdd2ee2ead
tree9c55ec40c40c302d800b1e2f44ff811e8cae3ec3
parent6d1ac638f69edd04bbde181530d7457b101576b0
lib, zebra: Add ability to notify to Routing Protocols Success/Failure

Provide ZAPI code that can pass to an upper level protocol
what happened to it's route on install.

There are these notifications:
1) ZAPI_ROUTE_FAIL_INSTALL - The route attempted to be
   installed did not work.
2) ZAPI_ROUTE_BETTER_ADMIN_WON - A route that was installed
   has become un-installed due to another routing protocol
   installing a better admin distance
3) ZAPI_ROUTE_INSTALLED - The route specified has been installed

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