bird patches review

Ondrej Zajicek santiago at crfreenet.org
Thu Oct 6 23:11:03 CEST 2011


On Thu, Oct 06, 2011 at 02:58:25PM +0400, Alexander V. Chernikov wrote:
> > I found that the flag signalizes whether route is expected to be
> > installed (but the installation might failed). I added the flag
> > signalizing that the last attempt to install the route to the kernel
> > table failed, and showed that flag in 'show route':
> >
> > bird> show route 
> > 10.200.0.0/16      via xx.xx.xx.xx on eth0 [static1 16:13] ! (200)
> > 192.168.0.0/16     via xx.xx.xx.xx on eth0 [static1 16:13] * (200)
> > 10.220.0.0/16      via xx.xx.xx.xx on eth0 [static1 16:13] * (200)
> >
> > Showing just whether the route is (supposed to be) installed seems
> > a bit pointless - it is usually 'export all' or 'export none' for
> > kernel protocol. If someone removes the route from FIB (kernel)
> > and BIRD notices that, it reinstalls the route, so unless there
> > is a problem in route installation, it remains synced.
> We're talking about immediate or delayed reinstallaion ?
> If route gets removed accidentally, immediate reinstallation is great.
> If, for some reasons, we have to remove route manually
> (for example if we're trying to do ifconfig some_iface a.b.c.d/z where
> a.b.c.0/z already exists from IGP), it is much better not to restore
> route immediately
> giving user chance to do what needs to be done.

When BIRD notices that during periodic scan, it reinstalls that
immediately. Asynchronous (immediate) notifications about removed BIRD
routes are currently not processed (so it will be reinstalled during the
next periodic scan).

-- 
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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20111006/b9a3528b/attachment-0001.asc>


More information about the Bird-users mailing list