BIRD 2.15

Zagorski, Michal mzagorsk at akamai.com
Mon Mar 11 12:30:12 CET 2024


Hi,
Looks like our build from sources with reconfiguration failed on static routes config definitions.
When configuring with ./configure --with-protocols="bgp static bmp pipe rpki"  - static without bfd, 
DEV keyword in proto/static/config.Y isn't recognized:
$ make -j9
MKDIR -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/bgp obj/proto/static obj/proto/bmp obj/proto/pipe obj/proto/rpki obj/sysdep/linux obj/sysdep/unix obj/doc
GEN obj/sysdep/paths.h
m4 -s -P conf/gen_parser.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y nest/mpls.Y proto/bgp/config.Y proto/static/config.Y proto/bmp/config.Y proto/pipe/config.Y proto/rpki/config.Y sysdep/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/cf-parse.y
m4 -s -P conf/gen_keywords.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y nest/mpls.Y proto/bgp/config.Y proto/static/config.Y proto/bmp/config.Y proto/pipe/config.Y proto/rpki/config.Y sysdep/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/keywords.h
m4 -s -P conf/gen_commands.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y nest/mpls.Y proto/bgp/config.Y proto/static/config.Y proto/bmp/config.Y proto/pipe/config.Y proto/rpki/config.Y sysdep/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/commands.h
m4 -s -DTARGET=I -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-interpret.c
m4 -s -DTARGET=H -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-gen.h
flex  -f -s -B -8 -Pcf_ -oobj/conf/cf-lex.c conf/cf-lex.l
GEN obj/nest/proto-build.c
m4 -s -DTARGET=C -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-gen.c
bison  -Dparse.lac=full -Dparse.error=verbose -dv -pcf_ -b obj/conf/cf-parse obj/conf/cf-parse.y
proto/static/config.Y:90.18-20: error: symbol ‘DEV’ is used, but is not defined as a token and has no rules; did you mean ‘DEVICE’?
   90 |   | stat_nexthop DEV TEXT {
      |                  ^~~
      |                  DEVICE
make: *** [conf/Makefile:23: obj/conf/cf-parse.tab.c] Error 1
make: *** Waiting for unfinished jobs....

Proposed change:

diff --git a/proto/static/config.Y b/proto/static/config.Y
index e746b63c..7b282898 100644
--- a/proto/static/config.Y
+++ b/proto/static/config.Y
@@ -45,7 +45,7 @@ static_route_finish(void)

 CF_DECLS

-CF_KEYWORDS(STATIC, ROUTE, VIA, DROP, REJECT, PROHIBIT, PREFERENCE, CHECK, LINK)
+CF_KEYWORDS(STATIC, ROUTE, VIA, DROP, REJECT, PROHIBIT, PREFERENCE, CHECK, LINK, DEV)
 CF_KEYWORDS(ONLINK, WEIGHT, RECURSIVE, IGP, TABLE, BLACKHOLE, UNREACHABLE, BFD, MPLS)

--
Thanks,
Michał Zagórski 

-----Original Message-----
From: Bird-users <bird-users-bounces at network.cz> On Behalf Of Ondrej Filip
Sent: Sunday, March 10, 2024 9:55 PM
To: bird <bird-users at network.cz>
Subject: BIRD 2.15

Dear BIRD users,
we're releasing a new version 2.15. As usually, I am just a messenger, all credits go to my colleagues:

Version 2.15
   o BGP: Send hold timer
   o BGP: New options to specify required BGP capabilities
   o BFD: Improvements to 'show bfd sessions' command
   o RPKI: New 'local address' configuration option
   o Linux: Support for more route attributes, including
     TCP congestion control algorithm
   o Support for UDP logging
   o Static routes can have both nexthop and interface specified
   o Completion of command options in BIRD client
   o Many bugfixes and improvements

Happy routing!

      Ondrej

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3556 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20240311/24507c6e/attachment.p7s>


More information about the Bird-users mailing list