0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 10:11:53 +00:00
Commit Graph

8 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
17a3c903ce TMP: compiles and run (doesn't read max generation) 2022-07-19 10:21:43 +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