Matthias Hannig
58811bedf5
upgraded dependency
2019-12-23 15:58:35 +01: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
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
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
c1a07cc985
Implemented support for parsing extended communities.
2019-02-22 14:07:10 +01:00
Patrick Seeburger
b7952f9061
Fix TestParseProtocolBgp()
...
Fix test method TestParseProtocolBgp() to match the output of the
current ProtocolsBgp() method wich returns Parsed records instead of a
string array.
2019-02-22 14:07:09 +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
86a80878f4
bird 2.0 parsing
2018-01-18 13:00:34 +01:00
Daniel Czerwonk
c710518e9d
added first test for ipv4 with bird 2.x
2018-01-18 09:21:32 +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
74267b71ce
test refacotring ipv6
2018-01-17 20:05:57 +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
7905610b51
added tests for ipv6
2018-01-16 00:12:50 +01:00
Matthias Hannig
b96a864b04
added test for routes parsing
2017-06-22 15:38:18 +02:00
Matthias Hannig
7da71225be
added more flexibility to routes parsing
2017-04-11 13:34:39 +02:00