Jonathan Lassoff
ca2cbd9f0e
Add a dualstack
config option to enable dualstack BIRD 2.x operation
2024-02-12 21:17:13 -08:00
Annika Hannig
0c8dafd748
Merge pull request #39 from goochjj/fix_nonunicast_panic
...
fix birdwatcher panic
2022-08-02 10:55:39 +02:00
Annika Hannig
0eef5cc49d
relaxed regex for extracting the version, see #38
2022-06-07 10:55:30 +02:00
Joe Gooch
285753f594
fix birdwatcher panic
2021-05-08 11:01:56 -04:00
Steve Shaw
39d99af2b4
Fixing bird2.x status parsing
2021-03-29 23:14:59 -04:00
Annika Hannig
37257e907c
Merge branch 'patch-1' of https://github.com/ihsinme/birdwatcher into ihsinme-patch-1
2020-10-28 16:15:23 +01:00
Annika Hannig
96815d7640
fixed test case
2020-10-28 15:38:08 +01:00
ihsinme
c6a096db57
Update parser.go
2020-10-26 15:19:18 +03:00
39f573c38e
bird2: parse interface and gateway of routes properly
2020-01-20 03:59:30 +01:00
Matthias Hannig
6bc26640dd
made regex for bird_protocol a bit more permissive
2019-07-18 16:06:07 +02:00
Patrick Seeburger
e0031c61a0
Change extended communities fomat
...
Change format for extended BGP communities from (string,int,int) to
(string,string,string) in order to support communities like
(generic, 0x43000000, 0x1)
2019-03-20 14:55:11 +01:00
Patrick Seeburger
c6e717bc61
Fixed a bug regarding timestamps in the protocols parser.
2019-03-20 14:55:10 +01:00
Patrick Seeburger
8585003413
Added a parser and endpoint for the show protocols command.
2019-03-20 14:55:10 +01:00
Patrick Seeburger
1d3118b864
Added missing default value (imported).
2019-02-04 15:48:24 +01:00
Patrick Seeburger
12be0f9de3
Fixed a bug where a community was missing when parsing multiline communities.
...
Also added a test case for the multiline community parsing.
2019-03-13 09:29:58 +01:00
Patrick Seeburger
791b2a04ba
Fixed the regular expression to not match white spaces at the end of
...
the protocol line.
Fixed the route sample which was failing the parser tests.
2019-03-13 09:29:55 +01:00
Patrick Seeburger
c1db0320e3
Implemented handling of multiline replies in case of BGP.*community
2019-03-13 09:29:53 +01:00
Patrick Seeburger
980fcff9c2
Changed the data structure for the extended communities to be a single
...
slice of {string, int64, int64} instead of a parsed record.
2019-02-22 14:07:11 +01:00
Patrick Seeburger
95cf1a71af
Fixed a bug in the parser that would return an integer of the wrong type
...
(int vs. int64) in an error case.
2019-02-22 14:07:11 +01:00
Patrick Seeburger
c1a07cc985
Implemented support for parsing extended communities.
2019-02-22 14:07:10 +01:00
Patrick Seeburger
6e8734fa90
Fixed /symbols endpoint.
2019-02-22 14:07:09 +01:00
Patrick Seeburger
8a69b5ba98
Repair 'protocols' endpoint
...
* repair 'protocols' endpoint to return a meaningful JSON object
* improve example configuration file
2019-02-22 14:07:06 +01:00
Benedikt Rudolph
fdfa4cbc32
Generalize parse method to accept all protocols
...
The method parseBgp is now generic enough to parse
all types of protocols.
Added new regular expressions and a more flexible
way of processing route_change statistics that have
subtle differences in each protocol.
2018-07-18 10:43:00 +02:00
Daniel Czerwonk
5bffef1e07
added flag to set max workers
2018-01-28 20:52:53 +01:00
Daniel Czerwonk
d6fc5998ee
implemented workers to improve full table parsing time
2018-01-28 20:41:43 +01:00
Daniel Czerwonk
86a80878f4
bird 2.0 parsing
2018-01-18 13:00:34 +01:00
Daniel Czerwonk
3b1a6d4e4f
implemented iterator to safe some memory (no additional []string with all routes needed)
2018-01-18 08:35:34 +01:00
Daniel Czerwonk
f905c9c3de
use reader interface insteead of string copies (decreases memory footprint)
2018-01-18 00:44:22 +01:00
Daniel Czerwonk
68ce3c8422
fixed ipv6 test, added test for local_pref
2018-01-17 23:23:32 +01:00
Daniel Czerwonk
258f356e1d
more attributes tested
2018-01-17 20:00:33 +01:00
Daniel Czerwonk
c20964cf0e
refacoting, increased test coverage, tests for ipv6 and bird2
2018-01-17 19:41:55 +01:00
Daniel Czerwonk
d903f1286b
refactoring, channel support for show protocols, routees filtered by ip version
2018-01-15 23:04:19 +01:00
Matthias Hannig
92dc24e764
fixed subsequent routes parsing
2017-06-22 15:38:06 +02:00
Matthias Hannig
7da71225be
added more flexibility to routes parsing
2017-04-11 13:34:39 +02:00
hellerve
0d52326da7
also filter status parse with filter fields
2017-02-23 14:36:43 +01:00
hellerve
9c4a47fd11
interface names can contain periods
2017-02-23 13:02:05 +01:00
hellerve
71f8de383a
bugfix: filter fields are buggy
2017-02-23 12:24:43 +01:00
hellerve
8e2e8d2a97
added parser configuration for (for now exclusively) filtering fields from route parses
2017-02-22 18:09:45 +01:00
hellerve
a18e524112
added large bgp communities for good
2017-02-22 16:09:54 +01:00
hellerve
5caff4e33d
bugfix: timestamps only had date in them
2017-02-16 15:54:04 +01:00
hellerve
8449a677a0
added large communities to possible bgp values
2017-02-16 13:52:47 +01:00
hellerve
27d9ada6eb
added exported routes to peer
2017-02-15 12:20:55 +01:00
hellerve
959d10c026
better regex for route parsing ("via" line)
2017-01-02 17:42:36 +01:00
Matthias Hannig
34871bf43d
another day, another regex fix.
2016-12-05 16:36:59 +01:00
Matthias Hannig
244c482406
ipv6 compat regex
2016-12-05 15:26:19 +01:00
Matthias Hannig
8e31be933e
fixed fieldname and ipv6 regex
2016-12-05 14:06:17 +01:00
Matthias Hannig
328dbd0865
fixed regex, added as_path splitting
2016-11-25 14:22:22 +01:00
hellerve
d4847069c6
move assignment out of for loop
2016-11-11 17:57:45 +01:00
hellerve
4c0a82417f
added bird cmd ( fixes #1 )
2016-11-11 16:00:43 +01:00
hellerve
07a02dcc24
simplified integer parse
2016-11-11 15:00:15 +01:00