0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 12:48:43 +00:00
Commit Graph

114 Commits

Author SHA1 Message Date
Igor Putovny
5106d2ba3a Write documentation 2024-07-10 15:12:49 +02:00
Igor Putovny
3edc3b3a5b Update time before and after aggregation 2024-07-10 15:10:57 +02:00
Igor Putovny
308454caa7 Add logging option to log prefix aggregation progress 2024-07-10 15:07:54 +02:00
Igor Putovny
3eda9d22ad Change order of parameters, make aesthetic changes 2024-07-10 14:08:01 +02:00
Igor Putovny
ebe86a83b6 Add unique ID to buckets and compare them by this ID 2024-07-10 13:09:48 +02:00
Igor Putovny
e23d296a14 Add counters of nodes with assigned bucket 2024-07-10 12:41:18 +02:00
Igor Putovny
3b93920fda Add protocol cleanup 2024-07-04 15:34:29 +02:00
Igor Putovny
e78958354a Small changes 2024-07-04 15:12:52 +02:00
Igor Putovny
1ab7a58f38 Remove unused includes 2024-07-04 14:41:47 +02:00
Igor Putovny
3b22713c60 Add comments 2024-07-04 14:36:55 +02:00
Igor Putovny
7fa0448835 Change order of parameters in create_route() 2024-07-03 16:04:44 +02:00
Igor Putovny
895ed90e47 Rename 2024-07-03 15:45:21 +02:00
Igor Putovny
d9c54c3292 Small changes, add assert 2024-07-03 15:44:36 +02:00
Igor Putovny
0f1d150906 Remove old first_pass() 2024-06-27 17:23:51 +02:00
Igor Putovny
8a019b490e Small changes 2024-06-27 17:14:01 +02:00
Igor Putovny
1a33e79f22 Bugfix 2024-06-19 15:39:29 +02:00
Igor Putovny
1e739986c2 Add get_status() function 2024-06-19 12:30:34 +02:00
Igor Putovny
9c43264985 Modify aggregator_start() and shutdown() 2024-06-13 16:37:10 +02:00
Igor Putovny
4243f9db12 Kick settle timer when receiving updates in rt_notify() 2024-06-13 16:36:12 +02:00
Igor Putovny
701a9f5dd1 Request feed when settle timer triggers and initialize trie just before aggregation 2024-06-13 13:09:10 +02:00
Igor Putovny
f5701ed913 Set aggregation mode in the configuration file 2024-06-12 18:27:36 +02:00
Igor Putovny
c892b2d02f Rename 2024-06-12 17:27:05 +02:00
Igor Putovny
0ebaf2ec18 Run aggregation on feed end from src channel and request feeding after receiving update 2024-06-11 13:47:07 +02:00
Igor Putovny
7c0d953564 Move trie initialization to separate function 2024-06-11 13:27:15 +02:00
Igor Putovny
4d0939f745 Remove delete_trie() 2024-06-04 17:56:26 +02:00
Igor Putovny
67350540fb Change slabs for linpools 2024-06-04 17:55:42 +02:00
Igor Putovny
cdc90530ed Add more assertions 2024-06-04 14:15:32 +02:00
Igor Putovny
7eb9175a09 Run aggregation only once (temporary solution) 2024-06-04 12:25:54 +02:00
Igor Putovny
e5e35971b0 Change logs 2024-06-04 12:17:39 +02:00
Igor Putovny
f4d5b4f02c Ignore updates if protocol is not UP 2024-05-31 16:20:52 +02:00
Igor Putovny
b7f7c11ea7 Use sl_allocz() for node allocation 2024-05-31 16:19:56 +02:00
Igor Putovny
268b8a39d7 Compare pointers to NULL using implicit conversion to bool 2024-05-30 16:46:24 +02:00
Igor Putovny
f8ba169152 Don't run aggregation on feed end 2024-05-30 14:36:54 +02:00
Igor Putovny
67518edad1 Fix incorrect use of SKIP_BACK 2024-05-30 13:07:48 +02:00
Igor Putovny
985d9b44bd Add settle timer 2024-05-30 12:30:00 +02:00
Igor Putovny
6270714fd0 Replace goto with else 2024-05-30 12:30:00 +02:00
Igor Putovny
b572ad323d Move aggregation algorithm to separate function 2024-05-30 12:30:00 +02:00
Igor Putovny
4e29dd3f95 Add assertions 2024-05-30 12:30:00 +02:00
Igor Putovny
06712f5d0b Use memcpy with size argument based on destination size 2024-05-30 12:30:00 +02:00
Igor Putovny
9aba7b47be Remove unused code 2024-05-30 12:30:00 +02:00
Igor Putovny
8dee6af44c Replace goto with else 2024-05-30 12:30:00 +02:00
Igor Putovny
7ad8a4cfe1 Replace for loops with memcpy 2024-05-30 12:30:00 +02:00
Igor Putovny
c5ff98e57b Replace for loops with memcpy 2024-05-30 12:30:00 +02:00
Igor Putovny
eb9136c8fb Reorder parameters to stay consistent with the codebase 2024-05-30 12:30:00 +02:00
Igor Putovny
419bdde415 Add logs and declarations, remove unused code 2024-05-30 12:30:00 +02:00
Igor Putovny
de8105a44b Make small changes to increase readability 2024-05-30 12:30:00 +02:00
Igor Putovny
3715cb5085 Rename 2024-05-30 12:30:00 +02:00
Igor Putovny
975e848e57 Rename 2024-05-30 12:30:00 +02:00
Igor Putovny
ac168aa2cb Construct trie only after protocol feed ends 2024-05-30 12:30:00 +02:00
Igor Putovny
ceb556e2cc Don't schedule aggregation as event but run it at the protocol feed end 2024-05-30 12:30:00 +02:00