Add per-device L2/misc long-tail: tunnels/stopped_rules/proxy_arp/proxy_ndp/arp_rules/maclist
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful

Storage + CRUD (migration 0007, model, id-keyed store, REST handlers) + compiler
rendering, each owned by a device. proxy_arp/proxy_ndp share the ProxyEntry
shape via table-parameterized store helpers.
This commit is contained in:
benvin
2026-07-26 15:16:13 +10:00
committed by Ben Vincent
parent 22e0d07227
commit d9d192757b
7 changed files with 828 additions and 0 deletions
+1
View File
@@ -62,6 +62,7 @@ func (s *Server) mountResources(r chi.Router) {
s.mountNAT(r)
s.mountLongtail(r)
s.mountPerDevice(r)
s.mountPerDeviceL2(r)
}
// respondOne writes a single resource, mapping ErrNotFound to 404.