Feature request - syslog equivalent for filter language

2019-03-22 Thread remco van mook
Hi, would it be possible to add a function to Bird that’s essentially the same as syslog in C? That way we can have filters/function log messages including severity which is very helpful for debugging and monitoring. I tried to implement this in the bird configuration language itself, but got

Re: BGP Monitoring protocol support

2019-03-22 Thread Maria Matejka
Hi! On 3/16/19 3:59 PM, knet solutions wrote: Does bird support BMP? No. Feel free to implement it; we're open to consult your ideas with you. If you want to meet us in person, find us this week on Netdev 0x13 conference in Prague, the following week at IETF-104 in Prague and the next half

Re: Feature request - syslog equivalent for filter language

2019-03-22 Thread Maria Matejka
Hello! On 3/22/19 1:29 PM, remco van mook wrote: would it be possible to add a function to Bird that’s essentially the same as syslog in C? That way we can have filters/function log messages including severity which is very helpful for debugging and monitoring. Well, to be honest, everything

Re: Feature request - syslog equivalent for filter language

2019-03-22 Thread remco van mook
Hi Maria! > On 22 Mar 2019, at 14:24, Maria Matejka wrote: > > Hello! > > On 3/22/19 1:29 PM, remco van mook wrote: > >> Ideally I’d like to replace a statement like >> print "REJECTING: ",net.ip,"/",net.len," received from ",from," AS >> ",bgp_path.first,": Prefix is a martian"; >> with >> s

Re: Feature request - syslog equivalent for filter language

2019-03-22 Thread Maria Matejka
Ideally I’d like to replace a statement like print "REJECTING: ",net.ip,"/",net.len," received from ",from," AS ",bgp_path.first,": Prefix is a martian"; with syslog LOG_WARNING, "REJECTING: ",net.ip,"/",net.len," received from ",from," AS ",bgp_path.first,": Prefix is a martian”; Right now I’m

IGP Metric to MED

2019-03-22 Thread Corban Johnson
Hello, I am trying to set MED on a BGP route using the metric value from OSPF, but the attributes of the next-hop route do not seem to be available in filter evolution. Am I missing something? Example Bird 2.0 config: protocol bgp test_peer { bfd on; med m

Re: IGP Metric to MED

2019-03-22 Thread Ondrej Zajicek
On Fri, Mar 22, 2019 at 12:54:57PM -0500, Corban Johnson wrote: > Hello, > I am trying to set MED on a BGP route using the metric value from OSPF, but > the attributes of the next-hop route do not seem to be available in filter > evolution. Am I missing something? > > The problem seems to be tha

Re: BGP import_table & graceful restart issue

2019-03-22 Thread Ondrej Zajicek
On Thu, Mar 21, 2019 at 05:54:00AM +, Arvin Gan wrote: > Hi All, > I am using BIRD 2.0.4, the configuration of bgp.ipv4 for import > table and graceful restart are yes . when BGP remote peer is restarting, > the graceful restart is detected by the local peer, using "show route > protocol

Re: IGP Metric to MED

2019-03-22 Thread Corban Johnson
> If you want, i can send you patch to fix > that. That would be very helpful, thank you :) > On Mar 22, 2019, at 14:53, Ondrej Zajicek wrote: > > On Fri, Mar 22, 2019 at 12:54:57PM -0500, Corban Johnson wrote: >> Hello, >> I am trying to set MED on a BGP route using the metric value from OSPF,

Re: How to ignore OSPF MTU checking?

2019-03-22 Thread Ondrej Zajicek
On Mon, Mar 18, 2019 at 08:34:59AM +, Kenth Eriksson wrote: > Is there a way to disable OSPF MTU checking? In Cisco the relevant > command is 'ip ospf mtu-ignore'. We do not have that option. Would it be useful? For what cases is that necessary? -- Elen sila lumenn' omentielvo Ondrej 'Santi

Re: LSA type-3

2019-03-22 Thread Ondrej Zajicek
On Sun, Mar 17, 2019 at 05:32:12PM +, Ticlea Alexandru wrote: > Hello > Is a way to control what subnets are sent by ABR to another area in LSA > type3? > I can use "hidden" to declare what subnets must not be propagated, but I want > to do it in oppositeside. > > Area 0.0.0.10 contains su

Re: IGP Metric to MED

2019-03-22 Thread Ondrej Zajicek
On Fri, Mar 22, 2019 at 02:56:21PM -0500, Corban Johnson wrote: > > If you want, i can send you patch to fix > > that. > > That would be very helpful, thank you :) Attached (untested). It adds read-only integer property nh_cost to access that. The name of the property is horrible (that is why t

Re: How to ignore OSPF MTU checking?

2019-03-22 Thread Piotr Marciniak
On Mon, Mar 18, 2019 at 08:34:59AM +, Kenth Eriksson wrote:> Is there a way to disable OSPF MTU checking? In Cisco the relevant> command is 'ip ospf mtu-ignore'.>We do not have that option. Would it be useful? For what cases is thatnecessary?-- >Elen sila lumenn' omentielvoElen - Cisco swit

Re: IGP Metric to MED

2019-03-22 Thread Corban Johnson
I was a curious about the purpose of ‘igp_metric’ attribute while investigating this. It seems to only be used as a generic container attribute in route.h. Is there a reason that property is not exposed? Maybe ‘igp_cost’? :) > On Mar 22, 2019, at 15:10, Ondrej Zajicek wrote: > > On Fri, Mar 2