Error after I add RTS_OSPF_EXT in filter
I change filter from filter import_exclude_default { if ( source != RTS_BGP net != 0.0.0.0/0 ) then { print net accepted:, net; ospf_metric1 = 60; accept; } reject; } to filter import_exclude_default { if ( source = RTS_OSPF_INT net != 0.0.0.0/0 ) then { print net accepted:, net; ospf_metric1 = 60; accept; } reject; } after 'configure soft' I see error bird configure soft Reading configuration from /etc/bird.conf /etc/bird.conf, line 167: RTS_OSPF_INT: variable expected. bird From documentation 5.5 Route attributes ... enum source what protocol has told me about this route. Possible values: RTS_DUMMY, RTS_STATIC, RTS_INHERIT, RTS_DEVICE, RTS_STATIC_DEVICE, RTS_REDIRECT, RTS_RIP, RTS_OSPF, RTS_OSPF_IA, RTS_OSPF_EXT, RTS_BGP, RTS_PIPE. Why I receive error? Vladislav Grishin
Re: Error after I add RTS_OSPF_EXT in filter
On Wed, Jul 14, 2010 at 04:41:12PM +0400, ? ?? wrote: filter import_exclude_default { if ( source = RTS_OSPF_INT net != 0.0.0.0/0 ) then { ... what protocol has told me about this route. Possible values: RTS_DUMMY, RTS_STATIC, RTS_INHERIT, RTS_DEVICE, RTS_STATIC_DEVICE, RTS_REDIRECT, RTS_RIP, RTS_OSPF, RTS_OSPF_IA, RTS_OSPF_EXT, RTS_BGP, RTS_PIPE. Why I receive error? Because the values are RTS_OSPF, RTS_OSPF_IA and RTS_OSPF_EXT, not RTS_OSPF_INT. RTS_OSPF is for plain, intra-area OSPF routes. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@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. signature.asc Description: Digital signature
RE: Error after I add RTS_OSPF_EXT in filter
Ok. I have changed filter. Now he is if ( source = RTS_OSPF_EXT net != 0.0.0.0/0 ) bird configure soft Reading configuration from /etc/bird.conf /etc/bird.conf, line 167: RTS_OSPF_EXT: variable expected. bird bird Error again. I have checked all from possible values: RTS_DUMMY, RTS_STATIC, RTS_INHERIT, RTS_DEVICE, RTS_STATIC_DEVICE, RTS_REDIRECT, RTS_RIP, RTS_OSPF, RTS_OSPF_IA, RTS_OSPF_EXT, RTS_BGP, RTS_PIPE. Only RTS_OSPF_EXT don't work. PS RTS_OSPF_INT - It is my carelessness Vladislav Grishin -Original Message- From: owner-bird-us...@atrey.karlin.mff.cuni.cz [mailto:owner-bird-us...@atrey.karlin.mff.cuni.cz] On Behalf Of Ondrej Zajicek Sent: Wednesday, July 14, 2010 5:27 PM To: ? ?? Cc: bird-us...@trubka.network.cz Subject: Re: Error after I add RTS_OSPF_EXT in filter On Wed, Jul 14, 2010 at 04:41:12PM +0400, ? ?? wrote: filter import_exclude_default { if ( source = RTS_OSPF_INT net != 0.0.0.0/0 ) then { ... what protocol has told me about this route. Possible values: RTS_DUMMY, RTS_STATIC, RTS_INHERIT, RTS_DEVICE, RTS_STATIC_DEVICE, RTS_REDIRECT, RTS_RIP, RTS_OSPF, RTS_OSPF_IA, RTS_OSPF_EXT, RTS_BGP, RTS_PIPE. Why I receive error? Because the values are RTS_OSPF, RTS_OSPF_IA and RTS_OSPF_EXT, not RTS_OSPF_INT. RTS_OSPF is for plain, intra-area OSPF routes. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@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.