From 8b9cf71ce3555f822a8bcf1b77e680f239fd16a9 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Mon, 2 Sep 2019 20:56:57 +0200 Subject: [PATCH] zebra/fpm: deprecation warning for protobuf We agreed on this several weeks ago on the weekly call, I just forgot to actually put it in a PR... A call for any Protobuf FPM users to raise their hand came up empty on both the mailing list as well as Slack. Let's see if this gets any response. If not, it'll be time to remove Protobuf FPM. Signed-off-by: David Lamparter --- zebra/zebra_fpm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c index eaf43095bc..4144c0afe0 100644 --- a/zebra/zebra_fpm.c +++ b/zebra/zebra_fpm.c @@ -1927,6 +1927,9 @@ static inline void zfpm_init_message_format(const char *format) "FPM protobuf message format is not available"); return; } + flog_warn(EC_ZEBRA_PROTOBUF_NOT_AVAILABLE, + "FPM protobuf message format is deprecated and scheduled to be removed. " + "Please convert to using netlink format or contact dev@lists.frrouting.org with your use case."); zfpm_g->message_format = ZFPM_MSG_FORMAT_PROTOBUF; return; } -- 2.39.5