Matthias Hannig
582b405011
formatting.
2019-07-18 12:20:55 +02:00
Matthias Hannig
841aa7edf5
Merge branch 'master' of ssh://github.com/alice-lg/birdwatcher
2019-07-18 12:17:03 +02:00
Matthias Hannig
8ad75dc224
drafted minimal schema
2019-07-18 12:16:46 +02:00
Matthias Hannig
574f68799c
Update README.md
2019-07-10 10:02:11 +02:00
Matthias Hannig
d9b368edf1
reverted change as this breaks alice. TODO: fix this.
2019-05-05 19:08:15 +02:00
Matthias Hannig
5744c7e003
fixed version case
2019-05-05 18:56:23 +02:00
Matthias Hannig
1c7e953589
release notes 2.0.0
2019-05-05 17:44:32 +02:00
Matthias Hannig
5f28a6d81f
versionbump
2019-05-05 17:35:19 +02:00
Matthias Hannig
9b0899a70d
Merge branch 'DECIX-release/1.13.1'
2019-05-05 17:33:47 +02:00
Matthias Hannig
ee5aa378a0
Merge branch 'release/1.13.1' of https://github.com/DECIX/birdwatcher into DECIX-release/1.13.1
...
Resolved conflicts
2019-05-05 17:33:27 +02:00
Matthias Hannig
dd9475f2e8
Merge branch 'DECIX-release/1.13.0'
2019-05-05 17:29:57 +02:00
Matthias Hannig
df814406fa
Merge branch 'release/1.13.0' of https://github.com/DECIX/birdwatcher into DECIX-release/1.13.0
...
Resolved conflicts.
2019-05-05 17:29:11 +02:00
Benedikt Rudolph
00cc0bf706
Merge branch 'feature/show-protocols-uncached' into develop
2019-03-20 14:57:15 +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
116f03fed4
Add support for uncached queries
...
The cache is still updated with new information on every request.
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
Matthias Hannig
6fe4505bde
Merge branch 'DECIX-develop'
2019-03-20 11:23:13 +01:00
Matthias Hannig
813b0dcfa8
added test target to makefile
2019-03-20 11:23:02 +01:00
Matthias Hannig
90ec5e278a
fixed obsolete test case
2019-03-20 11:19:11 +01:00
Matthias Hannig
e3c6f12275
Merge branch 'develop' of git://github.com/DECIX/birdwatcher into DECIX-develop
2019-03-20 11:13:43 +01:00
Matthias Hannig
e2a35393db
Merge pull request #1 from CTassisF/master
...
Change go get command from ecix to alice-lg on README.
2019-03-15 16:44:20 +01:00
Benedikt Rudolph
57389bd263
Increment version, add changelog for 1.12.4
2019-03-13 17:14:29 +01:00
Benedikt Rudolph
6a9a0ab17e
Integrate redis backend with the Cache interface
2019-02-28 16:40:13 +01:00
Benedikt Rudolph
420f94928e
Merge redis cache from 'upstream/master' into develop
...
Leave redis cache the way it is for now. Rework in future commits.
2019-02-28 15:11:31 +01:00
Benedikt Rudolph
5b24ea324b
Merge branch 'feature/cache-backends' into develop
...
Add support for various cache backends in anticipation of the merge
with upstream/master that has the redis backend.
2019-02-28 14:17:03 +01:00
Benedikt Rudolph
bab2be0957
Avoid overwriting existing cache entry
...
also fix RoutesNoExport.
2019-03-13 15:35:39 +01:00
Benedikt Rudolph
75380807de
Add test for memory cache backend
...
Improve error handling in case value can not be retrieved.
Either return the value and nil, or a value and an error.
2019-03-13 15:35:38 +01:00
Benedikt Rudolph
3e0bfbb0f5
Add feature cache backends
...
Add support for various cache backends in anticipation of the
merge with master that has an additional redis backend.
The current memory based cache backend is refactored to implement
the new interface.
2019-03-13 15:35:38 +01:00
Benedikt Rudolph
b68401e0e5
Merge branch 'upstream/master' into develop
...
Merge changes including version 1.11.0 of upstream.
Conflicts:
README.md
* Keep `birdwatcher` in the configuration path
VERSION
* Keep version to 1.12.3 from development at DE-CIX
bird/bird.go
* Keep the default order of arguments to birdc in RoutesFiltered() and RoutesNoExport()
birdwatcher.go
* Keep `gorilla/handlers` for HTTP logging
2019-02-28 09:17:41 +01:00
Benedikt Rudolph
4fd0b8a5cf
Increment version, add changelog for 1.12.3
2019-03-13 09:29:59 +01:00
Benedikt Rudolph
850815fd0f
Merge branch 'develop' into master for 1.12.3
...
Changes since last version:
* Fix community value misssing when parsing multiline communities
* Add a test case for the multiline community parsing
2019-03-13 09:29:59 +01:00
Benedikt Rudolph
244fb3d14d
Increment version, add changelog for 1.12.2
2019-03-13 09:29:58 +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
Benedikt Rudolph
01263e2fb9
Merge branch 'develop' into master for 1.12.2
...
Changes since last version:
* Removed unused OrigTTL attribute from cache info
2019-03-13 09:29:57 +01:00
Patrick Seeburger
49fb6882fa
Removed unused OrigTTL attribute from cache info.
2019-03-13 09:29:57 +01:00
Benedikt Rudolph
56994baa6c
Increment version, add changelog for 1.12.1
2019-03-13 09:29:56 +01:00
Benedikt Rudolph
67fdd4b95c
Merge branch 'develop' into master for 1.12.1
...
Changes since last version:
* Parser: ignore whitespace at the end of the protocol line
* Fix parser tests failing
2019-03-13 09:29:56 +01:00
Patrick Seeburger
681fcc60ea
Removed timestamp from logging output.
2019-03-13 09:29:55 +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
Benedikt Rudolph
2ce394c213
Increment version, add changelog for 1.12.0
2019-03-13 09:29:54 +01:00
Benedikt Rudolph
ffbd8f74a5
Merge branch 'develop' into master for 1.12.0
...
Changes since last version:
* Parser: Fix a bug when parsing 'BGP.*community' output spanning
multiple lines.
* Fix the default config path to /etc/birdwatcher/birdwatcher.conf
2019-03-13 09:29:54 +01:00
Benedikt Rudolph
5e49d6d4a3
Fix default config path
...
Instead of /etc/birdwatcher the config file location was assumed to
be in etc/birdwatcher relative to the working directory at execution.
2019-03-13 09:29:53 +01:00
Patrick Seeburger
c1db0320e3
Implemented handling of multiline replies in case of BGP.*community
2019-03-13 09:29:53 +01:00
Benedikt Rudolph
ae298b73d0
Increment version, add changelog for 1.11.5
2019-03-13 09:29:52 +01:00
Benedikt Rudolph
85eac133e0
Merge branch 'develop' into master for 1.11.5
...
Changes since last version:
* Fix testcase for /protocols/bgp
* New birdc query 'RoutesFilteredCount()'
* Queue for birdc commands, prevents running the same birdc command
multiple times in parallel on concurrent API requests.
* Cache: redesign cache structure, separation of Parsed and Meta cache
* allows independent cache access
* implement convenience methods for interaction with the cache
2019-03-13 09:29:52 +01:00
Patrick Seeburger
3eca6db998
Add "Last Error" to protocols bgp test case.
2019-03-13 09:29:51 +01:00
Patrick Seeburger
83628d4995
Cache refactoring, allow update before store
...
* Change the callback type to update the cache for RunAndParse()
to be a pointer to the Parsed record, which allows updating the
Parsed record before it will be stored inside the cache
2019-03-13 09:29:15 +01:00
Patrick Seeburger
01eb78117b
Refactor use of the Meta Cache
...
* Update all functions that use the meta cache to only create
their own records and also use GetCacheKey() to request the
meta cache from other functions.
* eliminates the need for Clear() -> removed
* Add two new birdc commands:
* PipeRoutesFiltered()
* PipeRoutesFilteredCount()
2019-03-13 09:29:15 +01:00
Patrick Seeburger
50a79e7f4f
Add the GetCacheKey() function
...
This allows to determine the key in the cache, where the result of
specific functions are stored, without requiring to know what command
was executed by that function.
Also updated all functions to use GetCacheKey() to store Parsed
records.
2019-03-13 09:29:14 +01:00