Maria Matejka
f4c0fa8376
Flock: Machine adding code in parser
2024-09-14 22:34:09 +02:00
Maria Matejka
eadab63de8
Flock: Polished the command-line options
2024-09-13 12:29:04 +02:00
Maria Matejka
5e3d8ab971
Flock: storing and passing telnet info
2024-09-12 12:28:28 +02:00
Maria Matejka
4fa615de22
Flock: Zombie children reaping
2024-09-11 13:03:02 +02:00
Maria Matejka
c5f84ca500
Flock: Telnet connection to hypervisor seems to work well
2024-09-11 09:25:44 +02:00
Maria Matejka
115f07e6f2
Flock: telnet request sends the request
2024-09-11 09:25:44 +02:00
Maria Matejka
7fd40d34b2
Flock: shutdown command sends a reply
2024-09-11 09:25:44 +02:00
Maria Matejka
d70cbb804f
Flock: Fixed the exposed process mainloop
2024-09-11 09:25:44 +02:00
Maria Matejka
f0c093ecc0
Flock: Added a proper shutdown routine requestable also from CLI
2024-09-11 09:25:44 +02:00
Maria Matejka
384be04e02
Flock: Converted signalling through sigatomic_t to full event sending
2024-09-11 09:25:44 +02:00
Maria Matejka
abd8a9af41
Flock: Hypervisor control socket CBOR push parser
...
It reads some data, the actions are not implemented yet.
2024-09-11 09:25:44 +02:00
Maria Matejka
1310e0160e
Flock: Hypervisor has a control socket (not doing anything yet tho)
2024-09-11 09:25:44 +02:00
Maria Matejka
f48798d0c3
Flock: Creating the hypervisor and the external-contact process
...
This is the first part of rewriting Flock to C to significantly reduce
memory footprint of individual machines from 20+M in Python to (goal)
less than 1M. Now the process eats ~460k and I suspect that this won't
even be the consumption per machine in total as fork() is involved and
some parts of the memory will be heavily shared.
2024-09-11 09:25:44 +02:00
Maria Matejka
96f357c5d6
Minimalist mainloop implementation
2024-09-11 09:25:44 +02:00
Maria Matejka
20d8eaa7d3
Properly handling situations when birdloops are created before spawning threads
2024-09-11 09:25:44 +02:00
Katerina Kubecova
4e6cea4ed9
Porting the CBOR encoder from the YANG branch
...
Minor cleanups by commiter.
(source commit 43ff10204b
but expected
to be rebased later, don't worry if you fail to find it)
2024-09-11 09:25:44 +02:00
Maria Matejka
7ebb5527ed
Added mb_strdup() to complement other similar functions
2024-09-11 09:18:44 +02:00
Maria Matejka
80c0df06a7
Moved sk_open_unix() to common lib
2024-09-11 09:18:44 +02:00
Maria Matejka
97e85f088d
lib/socket.h: added missing include
2024-09-11 09:18:44 +02:00
Maria Matejka
a6d82c2684
lib/obstacle.h: added missing include
2024-09-11 09:18:44 +02:00
Maria Matejka
96940a9751
Splitting out BIRD static library for linking to other tools
2024-09-03 12:48:39 +02:00
Maria Matejka
bb3c3f3a7a
Thread config has an explicit structure
2024-09-03 12:48:39 +02:00
Maria Matejka
0f9d8c9ec0
Enabled LTO for LLVM and making use of jobserver for LTO in GCC
2024-09-03 09:47:20 +02:00
Maria Matejka
3f3770f117
Compiler vendor detection for autotools
2024-09-03 09:47:20 +02:00
Maria Matejka
fe24e23bc5
Kernel preferred interface address updater decoupled from the lib
2024-09-03 09:47:20 +02:00
Maria Matejka
12a9e762da
Moved hostname resolver to logger
2024-09-03 09:47:20 +02:00
Maria Matejka
ab963de471
Displaced show threads command to its own file
2024-08-29 10:12:18 +02:00
Maria Matejka
ab850e7262
Interface CLI commands moved to a separate file.
...
This is a preparation both for CLI splitup and for lib splitup.
2024-08-29 10:11:56 +02:00
Maria Matejka
63bd3692c5
Disabling the old IO event logger as it doesn't run from worker loops anyway
2024-08-29 08:32:18 +02:00
Maria Matejka
a752914da0
Shutdown marker displaced to runtime
2024-08-28 15:49:13 +02:00
Maria Matejka
c0d05c466a
Splitting out clock and tracked files from sysdep/unix/io.c
2024-08-28 15:49:13 +02:00
Maria Matejka
1b998e846c
Global runtime splitout to BIRD specific and lib things
2024-08-28 15:10:59 +02:00
Maria Matejka
d6cb22f246
Moved stored_sock to io-loop.c (old hack for mainloop)
2024-08-28 14:38:02 +02:00
Maria Matejka
2aeb8ea47c
Calling cf_warn from log_switch makes no sense
2024-08-27 15:06:54 +02:00
Maria Matejka
7f6284f661
Displaced bird_name to log.c where it rightfully belongs
2024-08-27 15:06:54 +02:00
Maria Matejka
bb183c9d0c
Sysdep: moved socket code into a separate file
2024-08-27 15:06:54 +02:00
Maria Matejka
6485a74a5c
Moved flowspec configuration checks to the config file
...
Functions flow_check_cf_bmk_values, flow_check_cf_value_length,
flow4_validate_cf and flow6_validate_cf are now not built with lib but
with conf to enable for better semantic separation.
2024-08-27 15:06:54 +02:00
Maria Matejka
e787a9210f
NEWS and version update
2024-07-01 15:34:06 +02:00
Maria Matejka
5ea6423cb9
Fixed secondary route export
2024-06-28 22:03:45 +02:00
Maria Matejka
d53582c9a1
show threads: displaying the same thread id's as in log
2024-06-28 22:03:45 +02:00
Maria Matejka
c2480ff533
Export: Throw a warning instead of crashing on export_accepted_map inconsistency
2024-06-28 22:03:45 +02:00
Maria Matejka
edffd82057
Config undo queuing bug fixed
2024-06-28 22:03:45 +02:00
Maria Matejka
45fb9742f0
BGP runs TX as a deferred routine
...
This should help flushing the tx buffers as soon as possible.
2024-06-28 22:03:45 +02:00
Maria Matejka
6eea722d3f
Forbid locking altogether when RCU reader is active
2024-06-28 22:03:45 +02:00
Maria Matejka
1e77e6e1b2
Flush deferred calls directly after the loop finished its one run
2024-06-28 22:03:45 +02:00
Maria Matejka
865bab6237
IO: Allow to take new loops if the thread is hot, but only one at time
2024-06-28 22:03:45 +02:00
Maria Matejka
18d069d663
Even on shutdown we should try to pass the freed memory to others
2024-06-27 08:22:15 +02:00
Maria Matejka
af73cc4215
Allocator now reports cold pages
2024-06-26 20:45:54 +02:00
Maria Matejka
aa11e82174
Filter unit test uncertainty hack
2024-06-26 18:30:17 +02:00
Maria Matejka
be2ba84e50
Tame improper xmalloc warning
2024-06-26 17:21:26 +02:00