On Mon, Nov 14, 2011 at 04:40:25PM +0400, Alexander V. Chernikov wrote:
Hello list!
At the moment bird has route limits implemented for BGP only (route limit XXX).
This seems to be not enough in various BGP+IGP configurations.
Vendors implement the following approaches:
Cisco: * warning-only (OSPF, redistribute maximum-prefix) - print warning message * withdraw (OSPF, redistribute maximum-prefix) - Prevents additional redistribution when the number of routes defined by the maximum argument have been redistributed. * clear (IS-IS) - clears all redistributed prefixes
See http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/fsoredis.htmlfor more information
Juniper: * log-only (general, maximum-prefixes) - print warning message only * withdraw (general, maximum-prefixes) - any additional routes are rejected * clear (OSPF, ISIS, prefix-export-limit) - clear database from all extrnal routes
This patch introduces general limiting functionality for any protocol.
Thanks for the patch, i have some comments to that (some stylistic, some technical), i will compile them tomorrow. -- 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."