two/internal
GnomeZworc 0938d1e0e0
f-46: dhcpd: add the decision engine and the persisted state #46
Store porte la configuration du subnet et les réservations par MAC, et les
persiste dans un .state écrit de façon atomique (temp + chmod 0600 + rename).
Chaque écriture remplace le fichier, donc un chmod externe est effacé.

Les snapshots sont à la fois la forme sérialisée et la forme d'entrée des
ordres : validation au moment où l'agent pousse, pas quand un guest demande une
adresse. Les hôtes sont triés par MAC, base du digest de L3.

Handle rend (nil, nil) — le silence est un retour normal — pour un type de
message non traité, un subnet non configuré ou une MAC inconnue. La MAC est
normalisée à l'écriture comme au chargement.

58 tests, -race propre, dix mutations toutes détectées.

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-09-05 23:15:45 +02:00
..
api/agent f-33: net: add multi net in dispatch et vms #33 2026-08-25 22:48:13 +02:00
config/agent f-29: watchdog: add specific config #29 2026-08-17 23:52:48 +02:00
dhcp f-33: vm: start vms with multiple nic 2026-08-25 23:12:55 +02:00
dhcpd f-46: dhcpd: add the decision engine and the persisted state #46 2026-09-05 23:15:45 +02:00
dispatcher/agent f-33: net: add multi net in dispatch et vms #33 2026-08-25 22:48:13 +02:00
ebtables f-28: fix: add proper dhcp handle 2026-05-18 22:28:51 +02:00
iptables f-34: route: fix missing route for metadata #34 2026-08-24 22:57:03 +02:00
metadata f-34: route: add test for route metadata #34 2026-08-24 22:57:30 +02:00
migration f-33: net: add multi net in dispatch et vms #33 2026-08-25 22:48:13 +02:00
netif f-29: watchdog: add checkvpc #29 2026-08-17 23:39:07 +02:00
netns f-15: fix: error in netns creation 2026-04-02 23:49:48 +02:00
prometheus/agent f-37: prometheus: add vms 2026-08-14 01:00:00 +02:00
qemu f-33: vm: start vms with multiple nic 2026-08-25 23:12:55 +02:00
qmp f-25: qmp add interaction lib 2026-04-26 16:29:53 +02:00
state f-37: add new lib for state handle #37 2026-08-13 23:02:36 +02:00
subnet f-33: mise en place d'un nouveau system de reservation #33 2026-08-25 22:37:07 +02:00
vm f-33: vm: start vms with multiple nic 2026-08-25 23:12:55 +02:00
vpc f-37: code: add state lib in vm, subnet and vpc #37 2026-08-13 23:32:00 +02:00
watchdog f-33: net: add multi net in dispatch et vms #33 2026-08-25 22:48:13 +02:00