Skip to content

Conversation

@aduitsis
Copy link
Contributor

In my setup, the code parsing the Bird output for a route detail didn't work. To be honest, I am a little surprised by the fix, so please review and let me know what you think.

Anyway, I studied the regular expressions and figured that the properties come out of the matches array in the order shown in my patch. Previous order was yielding broken results, with fields in incorrect places, etc.

I also tried to cover the case of unreachable, unicast or blackhole routes (if branch in line 151), but cannot extensively test these.

In my setup, the code parsing the Bird output didn't work. To be honest, I am a little surprised by the fix, so please review and let me know what you think.

Anyway, I studied the regular expressions and figured that the properties come out of the matches array in the order shown in my patch. Previous order was yielding broken results, with fields in incorrect places, etc.

I also tried to cover the case of unreachable, unicast or blackhole routes (if branch in line 151), but cannot extensively test these.
@barryo
Copy link
Member

barryo commented Jul 5, 2019

Hi @aduitsis - what version of Bird are you using?

There may be issues with Bird v1.x and Birdseye v1.2.

@aduitsis
Copy link
Contributor Author

aduitsis commented Jul 5, 2019

Hey @barryo! Definitely not version 2. We're still at version 1.x.

Yes, it does look like an issue. If the patch can be of use to help with 1.x, we'd be very happy.

@barryo
Copy link
Member

barryo commented Jul 5, 2019

Cool. Can you use v1.1.4 with Bird v1 for now? I have a few patches / test bits of code myself to make v1.2 work with Bird v1 but it's tricky-ish to test.

@aduitsis
Copy link
Contributor Author

Sorry for the late reply, I'm specifically using 1.2 with a test Bird installation to install and test IXPManager 5. I use 1.1.x in production.

@jvobelnet jvobelnet mentioned this pull request Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants