]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra/fpm: deprecation warning for protobuf 4919/head
authorDavid Lamparter <equinox@diac24.net>
Mon, 2 Sep 2019 18:56:57 +0000 (20:56 +0200)
committerDavid Lamparter <equinox@diac24.net>
Mon, 2 Sep 2019 18:56:57 +0000 (20:56 +0200)
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 <equinox@opensourcerouting.org>
zebra/zebra_fpm.c

index eaf43095bc8ec27d48a918d517332fedf6c7d7d0..4144c0afe06e6211baf57911fcce4985b9df9007 100644 (file)
@@ -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;
        }