From: David Lamparter Date: Mon, 2 Sep 2019 18:56:57 +0000 (+0200) Subject: zebra/fpm: deprecation warning for protobuf X-Git-Tag: base_7.2~15^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8b9cf71ce3555f822a8bcf1b77e680f239fd16a9;p=mirror%2Ffrr.git 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 --- 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; }