BFD session status notification

Ondrej Zajicek santiago at crfreenet.org
Tue Oct 29 16:34:39 CET 2019


On Mon, Oct 28, 2019 at 08:15:54PM +0800, Winston Chen wrote:
> Hi,
> 
> 
> I am wondering if there is a way an application can be notified when BFD
> session status changes.
> 
> I know currently I can check the BFD session by polling with birdc or
> scanning the log, but if there is some way I get the notification it would
> help me much more.

Hi

We currently do not have dedicated notification channel. There is echo
mechanism, that allows receiving log messages through BIRD control
socket, but that is disabled for BFD due to multithreading issue. With
reasonable syslog daemon (e.g. rsyslog), you can configure log triggers
instead of asynchronous scanning of logs.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list