0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-24 18:51:54 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Vojtech Vilimek
1c12cc9a11 Settle time for stats protocol, documentation 2022-07-21 16:54:13 +02:00
Vojtech Vilimek
727a8f32c4 Add new global counter for stats channel
New symbol is added for each stats protocol channel, the symbol is accessed by
same name as the underlying channel. Symbols evaluate to the sum of all routes
exported from connected table with generation less than max generation of
particular channel. Default max generation is 16.

Beware you shouldn't make cyclic references as the behavior of such
configuration is not defined!
2022-07-20 17:04:49 +02:00
Vojtech Vilimek
0dc82d4a1d fix missing elem. sum in stats_channel 2022-07-20 15:01:41 +02:00
Vojtech Vilimek
fe196ec397 Remove duplicate code in proto/stats/stats.c 2022-07-20 12:55:30 +02:00
Vojtech Vilimek
31de4be2bc Bug fix 2022-07-20 10:29:46 +02:00
Vojtech Vilimek
f3b9b30693 Code cleanup, fix compiler warnings 2022-07-19 12:15:24 +02:00
Vojtech Vilimek
58d0aeddb3 Add statistics of route exporting (per channel) 2022-07-19 11:58:23 +02:00
Vojtech Vilimek
17a3c903ce TMP: compiles and run (doesn't read max generation) 2022-07-19 10:21:43 +02:00
Vojtech Vilimek
248236db6d Fix bug in stats_rt_notify() 2022-07-15 13:59:14 +02:00
Vojtech Vilimek
3f9b92d273 Implement stats_reconfigure() 2022-07-15 13:33:42 +02:00
Vojtech Vilimek
b53d869405 Add statistics of export route (per protocol) 2022-07-14 17:08:03 +02:00
Vojtech Vilimek
b5ceb9a11c Remove old pipe protocol code. Add init function. 2022-07-14 14:51:03 +02:00
Vojtech Vilimek
a0edbf88e4 Initial commit for new protocol `stats'
The protocol was created as a copy of pipe protocol. Many things left unchanged.
2022-07-13 15:39:14 +02:00