On Mon, Oct 24, 2011 at 03:27:43PM +0200, Ruben Laban wrote:
On Monday 24 October 2011 at 15:31 (CET), Ondrej Zajicek wrote:
On Mon, Oct 24, 2011 at 12:12:38PM +0200, Ruben Laban wrote:
I was wondering if it's somehow possible to update the export filter for an OSPF instance without having to completely restart that OSPF instance. From the tests I've performed, the only way to have bird pick up the new export filter, is to restart the protocol in question.
That is strange, just 'configure' should be enough (since ~ early 1.2.x ersions). Works for me (just tested on 1.3.1).
I guess the same would apply to, the much more common, BGP import/export filters.
On BGP it depends if neighbor supports route refresh feature. If so, just 'configure' should be enough. Otherwise it is impossible to change an import filter without session reset (an export filter is OK).
Doh! For some reason it had gotten into my head that "configure" (as opposed to "configure soft") was the sledgehammer appraoch to re-configuring bird (including downtime for any "affected" protocols).
Real 'sledgehammer' is restart command. Configure command tries to be gentle, but restart the protocol if necessary (like if BGP import filter is changed and the neighbor does not support route refresh). Configure soft is a variant of configure which ignores filter changes, probably obsolete today (was implemented in times when we does not support filter changes without protocol restarts). -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@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."