1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00
Commit graph

81 commits

Author SHA1 Message Date
Nasato Goto
e53ff72205 add exported routes endpoint 2020-01-26 23:12:06 +09: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
Patrick Seeburger
8585003413 Added a parser and endpoint for the show protocols command. 2019-03-20 14:55:10 +01:00
Benedikt Rudolph
e6ed0cb901 Refactor housekeeping and memory cache
* run Expire() only on MemoryCaches
* make initialization of the cache look pretty
2019-02-20 11:17:13 +01:00
Patrick Seeburger
cfa0af57cc Expire cache entries to save memory
* Add a method to expire cache entries, based on the ttl value
* Add a housekeeping method that will periodically expire cache
  entries and also maybe configured to force a GC/SCVG run.
2019-02-18 17:46:32 +01:00
Benedikt Rudolph
43b6a8b8dc Merge branch 'feature/api-redesign' into develop
* simplify RoutesNoExport() to just the birdc command
2019-02-06 08:54:21 +01:00
Benedikt Rudolph
56c378109f Integrate redis backend with the Cache interface 2019-02-28 16:14:13 +01:00
Benedikt Rudolph
cd05592804 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
119b9f6360 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-02-28 11:32:40 +01:00
Patrick Seeburger
681fcc60ea Removed timestamp from logging output. 2019-03-13 09:29:55 +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
7fd2dfd0cf Implement new endpoint /routes/count/primary 2019-02-22 14:07:10 +01:00
Patrick Seeburger
4ffebab2c4 Fixed race condition between main() and InstallRateLimitReset(). 2019-02-22 14:07:08 +01:00
Benedikt Rudolph
821a4f869a Change Go import paths for alice-lg github org 2019-02-20 17:25:57 +01:00
Matthias Hannig
15f2561c87 use redis cache if configured 2019-01-24 17:16:35 +01:00
Patrick Seeburger
c4dfeb253d API redesign - make birdwatcher more generic
Removed all high level functionality e.g. endpoints with multiple
invocations of birdc.
Add new endpoints which are required to duplicate the removed
functionality within Alice-LG.
2019-01-18 18:10:06 +01:00
Matthias Hannig
e7755afb61 moved repository (alice-lg) in import 2018-11-29 15:20:45 +01:00
Benedikt Rudolph
a89bc7049b Cleanup
Eliminate use of fmt, use log instead.
Fix timestamps in logs.
2018-07-18 10:42:59 +02:00
Benedikt Rudolph
b1f8b2a6d5 Fix enable_tls config option and logger 2018-07-18 10:42:59 +02:00
Hasan Pekdemir
494c54d061 Fix custom logger and add more comments 2018-07-18 10:42:58 +02:00
Benedikt Rudolph
49b3be6c22 make TLS configurable via config file.
Add new configuration file options: enable_tls, crt and key.
Add customized logger for unified log outputs.
2018-07-18 10:42:58 +02:00
Hasan Pekdemir
3684712356 Feature: Add TLS support to birdwatcher
We use http.ListenAndServeTLS().
2018-07-18 10:42:58 +02:00
Johannes Moos
a196f8ada0 Change default config location to /etc/birdwatcher 2018-07-18 10:42:57 +02:00
Benedikt Rudolph
46356aa9eb Make cache ttl for bird responses a config option
For bird and bird6 you may add ttl to the respective config file sections.
See example config in this commit.
This allows to have individual ttls for the cache of bird cli output per daemon.
2018-07-18 10:42:57 +02:00
Daniel Czerwonk
5bffef1e07 added flag to set max workers 2018-01-28 20:52:53 +01:00
Daniel Czerwonk
b592b735fd version bump 2018-01-18 14:32:54 +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
fa5b640aab fixed interface conversion issue 2017-07-13 12:16:53 +02:00
Matthias Hannig
a43f0b74c8 rebuild RPM 2017-06-23 11:48:31 +02:00
Matthias Hannig
afd39c4d9a fixed import export naming 2017-06-22 18:48:22 +02:00
Matthias Hannig
56141bb10f added routes dumping 2017-06-22 15:06:54 +02:00
Matthias Hannig
5a63f96ea5 versionbump 2017-05-29 10:16:47 +02:00
Matthias Hannig
d17a501fdc versionbump 2017-05-29 10:00:43 +02:00
Matthias Hannig
d4f9ae703d added per peer table status to log 2017-05-29 09:55:37 +02:00
hellerve
58bb10469c added graceful error handling if bird is unreachable 2017-05-02 12:36:35 +02:00
Matthias Hannig
1f4a9c5f14 fixed typo 2017-04-07 11:18:51 +02:00
Matthias Hannig
1ec76f2772 included routes noexport endpoint 2017-04-07 11:14:03 +02:00
Matthias Hannig
20d07a819a versionbump 2017-03-13 16:51:54 +01:00
hellerve
dc4023d423 added gzip support 2017-02-24 11:42:46 +01: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
a86e16eb80 update version in api string 2017-02-23 12:37:25 +01:00
Matthias Hannig
1fd1cb6a1a Merge pull request #4 from ecix/filter_fields
Filter fields
2017-02-23 11:31:38 +01:00
hellerve
9d15b64300 added custom config, fix for #5 2017-02-22 18:49:28 +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
b6a2fb70c8 bugfix: readded ttl to bgp protocol 2017-02-16 17:25:35 +01:00
hellerve
27d9ada6eb added exported routes to peer 2017-02-15 12:20:55 +01:00
hellerve
87252032bf version bump: get actual birdwatcher version in request 2017-01-26 12:12:02 +01:00