feat(devshell): add tufted, a Fennel TFTP server
Some checks failed
Check meta / check_dns (pull_request) Successful in 17s
Check meta / check_meta (pull_request) Successful in 24s
Run pre-commit on all files / check (push) Successful in 27s
Check workflows / check_workflows (pull_request) Successful in 26s
Build all the nodes / ap01 (pull_request) Failing after 1m5s
Build all the nodes / bridge01 (pull_request) Successful in 1m56s
Build all the nodes / geo01 (pull_request) Successful in 2m4s
Build all the nodes / geo02 (pull_request) Successful in 2m9s
Build all the nodes / rescue01 (pull_request) Successful in 2m33s
Build all the nodes / compute01 (pull_request) Successful in 2m43s
Build all the nodes / storage01 (pull_request) Successful in 2m7s
Run pre-commit on all files / check (pull_request) Successful in 33s
Build all the nodes / vault01 (pull_request) Successful in 1m52s
Build all the nodes / web02 (pull_request) Successful in 2m2s
Build all the nodes / web03 (pull_request) Successful in 1m51s
Build all the nodes / web01 (pull_request) Successful in 2m34s

This is useful for in-memory testing of APs connected over a simple
network.

In the future, we may use a TFTP server for field recovery by
configuring all our APs to use a certain known IPv4 address for the TFTP
server and ensuring that we always have a router on the untagged area
answering TFTP requests to reboot an AP in a known configuration,
without any serial console attached.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-12-08 23:49:14 +01:00
parent 385dd57cad
commit 5871782d52

View file

@ -120,6 +120,9 @@ in
(pkgs.callPackage (sources.liminix + "/pkgs/min-copy-closure") { nix = pkgs.lix; })
# Daemon-less garbage collection for Liminix systems.
(pkgs.callPackage (sources.liminix + "/pkgs/min-collect-garbage") { nix = pkgs.lix; })
# TFTP server, friendly for Nix builds.
(pkgs.callPackage (sources.liminix + "/pkgs/tufted") { })
(pkgs.callPackage ./lib/colmena {
colmena = pkgs.callPackage "${sources.colmena}/package.nix" { };
})