How to determine when reconfiguration is complete?

Ondrej Zajicek santiago at crfreenet.org
Wed Jun 5 01:49:17 CEST 2019


On Tue, Jun 04, 2019 at 09:04:39PM +0200, Cybertinus wrote:
> > Hi!
> > 
> > How can I tell when bird is done with reconfiguration? E.g. bird can
> > respond: "Reconfiguration in progress", but how do you know when it is
> > ready? Invoking configure again will trigger full re-configure again I
> > guess?

Hi

Yes, if you do configre again while in progress, then re-configure request is queued.

> Hello Kenth,
> 
> A line in the logging would be useful indeed :).

I do not know about interactive way, but there is a line in the log about that:

2019-06-05 01:40:57.531 <INFO> Reconfiguring
2019-06-05 01:40:57.531 <TRACE> device1: Reconfigured
2019-06-05 01:40:57.531 <TRACE> direct1: Reconfigured
2019-06-05 01:40:57.531 <TRACE> bgp1: Reconfigured
2019-06-05 01:40:57.531 <INFO> Reconfigured

The first line means reconfiguration started, the last line means it is
finished. There may still be some asynchronous work running (like
re-evaluating filters on routes if they were changed), but for all
purposes the new config is active and BIRD is in regular state.

-- 
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