summaryrefslogtreecommitdiffstats
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-03-08 16:25:12 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-03-09 01:50:06 +0100
commit5e54c6026912d5e0060349943ac87d067d6ae36c (patch)
treec1331fb7fd3f10843dcec9fb0c952a0eeff3129e /lib/zclient.h
parentMerge pull request #1814 from chiragshah6/mdev (diff)
downloadfrr-5e54c6026912d5e0060349943ac87d067d6ae36c.tar.xz
frr-5e54c6026912d5e0060349943ac87d067d6ae36c.zip
*: Add code to notify on route removal status
If a interested party removes one of it's routes let it know that it has happened as asked for. Add a ZAPI_ROUTE_REMOVED to the send of the route_notify_owner Add a ZAPI_ROUTE_REMOVE_FAIL to the send of the route_notify_owner Add code in sharpd to notice this and to allow it to keep track of routes removed for that invocation and give timing results. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index e0b39c88e..1848440db 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -346,6 +346,8 @@ enum zapi_route_notify_owner {
ZAPI_ROUTE_FAIL_INSTALL,
ZAPI_ROUTE_BETTER_ADMIN_WON,
ZAPI_ROUTE_INSTALLED,
+ ZAPI_ROUTE_REMOVED,
+ ZAPI_ROUTE_REMOVE_FAIL,
};
/* Zebra MAC types */