]> git.proxmox.com Git - mirror_frr.git/commit
lib: Add zapi_route function.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 4 Jun 2017 23:14:44 +0000 (19:14 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 4 Jun 2017 23:14:44 +0000 (19:14 -0400)
commit657cde1267796d2c00bd1df81598b8705ef69cc1
tree5f1bb555c16a211ed54f2ce826d5ead11f34e71a
parent241a2f560330f7728df26278c3a9653a4ed4be24
lib: Add zapi_route function.

Allow routing protocols to call one function to add/delete
routes into zebra.  Future commits will start adding
this code to individual routing protocols.

Why are we doing this?  Well the zapi_ipv[4|6]_route functions
are fundamentally broken in their ability to pass down anything
but NEXTHOP_TYPE_IFINDEX or NEXTHOP_TYPE_IPV[4|6] and we need
the ability to pass down a bit more information.

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