WIP: ap01: towards our VLAN model #181

Draft
rlahfa wants to merge 7 commits from ap01-vlan into main

7 commits

Author SHA1 Message Date
9d5d75a427 chore(machines/ap01/recovery): better scope for pkgs and add zyxel-bootconfig to levitation
All checks were successful
Check meta / check_dns (pull_request) Successful in 18s
Run pre-commit on all files / check (push) Successful in 25s
Check meta / check_meta (pull_request) Successful in 17s
Check workflows / check_workflows (pull_request) Successful in 21s
Build all the nodes / bridge01 (pull_request) Successful in 1m26s
Build all the nodes / ap01 (pull_request) Successful in 2m54s
Build all the nodes / compute01 (pull_request) Successful in 1m51s
Build all the nodes / geo01 (pull_request) Successful in 1m24s
Build all the nodes / geo02 (pull_request) Successful in 1m24s
Build all the nodes / rescue01 (pull_request) Successful in 1m51s
Build all the nodes / storage01 (pull_request) Successful in 1m47s
Build all the nodes / vault01 (pull_request) Successful in 1m40s
Build all the nodes / web01 (pull_request) Successful in 2m13s
Build all the nodes / web02 (pull_request) Successful in 1m30s
Run pre-commit on all files / check (pull_request) Successful in 25s
Build all the nodes / web03 (pull_request) Successful in 1m38s
This is useful to reconfigure A/B in memory.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-09 01:29:45 +01:00
eb87c9b359 feat(devshell): add tufted, a Fennel TFTP server
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>
2024-12-09 01:29:45 +01:00
f3cc7bda86 feat(scripts/liminix): add a basic liminix rebuild
This script requires manual efforts on the operator end not to fuck up
too hard.

This adds min-copy-closure and min-garbage-collect to the development
shell.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-09 01:29:45 +01:00
d915875a25 feat(scripts/liminix): make it easy to extract the firmware part of the Zyxel NWA FIT image
This is useful when reflashing the system from scratch in the levitation
mode.

Note that doing this will reset the UBI counter to zero, this is bad for
wear leveling.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-09 01:29:45 +01:00
7e159cf466 feat(machines/ap01/recovery): pass the parent hostname with live indicator
This makes the experience nicer.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-09 01:29:45 +01:00
054cbee74a feat(machines/ap01/recovery): fix levitation dependencies
We should use the right DHCPv4.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-09 01:29:45 +01:00
e5f31469ee feat(machines/ap01): add default VLAN and admin VLAN
Put DHCPv4 on the default VLAN now.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-09 01:29:45 +01:00