diff options
| author | David Lamparter <equinox@diac24.net> | 2019-09-02 20:56:57 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-09-02 20:56:57 +0200 | 
| commit | 8b9cf71ce3555f822a8bcf1b77e680f239fd16a9 (patch) | |
| tree | ff67699b45772f2ff4f4b1e328626b93098c9a9d /zebra/zebra_fpm.c | |
| parent | 7bfe765ae06fcc0a5570fdd793237e5fa828f7e7 (diff) | |
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 <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_fpm.c')
| -rw-r--r-- | zebra/zebra_fpm.c | 3 | 
1 files changed, 3 insertions, 0 deletions
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;  	}  | 
