Git Product home page Git Product logo

Comments (4)

pierky avatar pierky commented on July 28, 2024

Hello, could you share your config files so that I can reproduce the problem? Maybe you can send them to my email address [email protected]
Thanks

from arouteserver.

david-garay avatar david-garay commented on July 28, 2024

Hi Pier,

Just sent an email to your email with problem description/input files. Thanks for your support!

David

from arouteserver.

david-garay avatar david-garay commented on July 28, 2024

Hi Pier,

Thank you for the fix provided. I recreated the config file based on the same clients list, and bird does not complain anymore about symbol lengths. There seem to be differences between the files (possibly resulting from bgpq3 output) but otherwise, clients are correct. Cheers!

David

Before:

usage: arouteserver [-h]
                    {build,bird,openbgpd,html,template-context,clients-from-peeringdb,clients-from-euroix,setup,setup-templates,verify-templates,configure,show_config,ixf-member-export,init-scenario,check_update}
                    ...

ARouterServer v0.21.0: a tool to automatically build route servers

##After installation:

dgaray@hull:/opt/arouteserver$ arouteserver -h
usage: arouteserver [-h]
                    {build,bird,openbgpd,html,template-context,clients-from-peeringdb,clients-from-euroix,setup,setup-templates,verify-templates,configure,show_config,ixf-member-export,init-scenario,check_update}
                    ...
ARouterServer v0.21.1-alpha1: a tool to automatically build route servers
configuration.
dgaray@hull:/opt/arouteserver$ grep "protocol bgp AS" corrected_AMS_bird.txt >1.out && grep "protocol bgp AS" sym_len_fix.txt > 2.out && diff 1.out 2.out
dgaray@hull:/opt/arouteserver$
arouteserver bird --ip-ver 4 -o ./sym_len_fix.txt --client corrected_AMS-IX.yml

Restarting bird with new config:

dgaray@hull:/opt/arouteserver$ sudo ln -s /opt/arouteserver/sym_len_fix.txt /etc/bird/bird.conf
dgaray@hull:/opt/arouteserver$ sudo birdc configure
BIRD 1.6.3 ready.
Reading configuration from /etc/bird/bird.conf
Reconfiguration in progress
dgaray@hull:/opt/arouteserver$

Restarting bird with old config:

dgaray@hull:/opt/arouteserver$ sudo rm /etc/bird/bird.conf
dgaray@hull:/opt/arouteserver$ sudo ln -s /opt/arouteserver/corrected_AMS_bird.txt /etc/bird/bird.conf
dgaray@hull:/opt/arouteserver$ sudo birdc configure
BIRD 1.6.3 ready.
Reading configuration from /etc/bird/bird.conf
/etc/bird/bird.conf, line 443574: Symbol too long
dgaray@hull:/opt/arouteserver$ grep define sym_len_fix.txt |grep prefixes |while read line; do count=$(echo $line | wc -c); echo $line $count;  done |grep  '= \[ 7'
define AS_SET_AS_BALKAN_IX_AS_BALKAN_IX_RG_AS_BALKAN_IX_V6_prefixes = [ 72
define AS_SET_RIPE__AS12779_AS_CUSTOMERS_RIPE__AS12779_A_0b73a_prefixes = [ 76
define AS_SET_RIPE__AS_OPENCARRIER_RIPE__AS_OPENCARRIER6_prefixes = [ 70

Confirming absence of long symbols on new config:

dgaray@hull:/opt/arouteserver$ grep define corrected_AMS_bird.txt |grep prefixes |while read line; do count=$(echo $line | wc -c); echo $line $count;  done |grep  '= \[ 8'
define AS_SET_RIPE__AS12779_AS_CUSTOMERS_RIPE__AS12779_AS_CUSTOMERS_V6_prefixes = [ 84
dgaray@hull:/opt/arouteserver$ grep define sym_len_fix.txt |grep prefixes |while read line; do count=$(echo $line | wc -c); echo $line $count;  done |grep  '= \[ 8'
dgaray@hull:/opt/arouteserver$

from arouteserver.

pierky avatar pierky commented on July 28, 2024

Thanks @david-garay for the update here.

Just for the sake of clarity, what David was referencing to above is an alpha release containing the fix for that weird condition.

The official 0.21.1 version is going to be released in a few minutes/hours, the CI/CD pipeline is running already.

from arouteserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.