mirror of
https://github.com/spr-networks/super.git
synced 2026-04-24 20:35:55 +03:00
[PR #128] [MERGED] Dhcp rewrite #333
Labels
No labels
blocked
bug
documentation
enhancement
fixed
fixed ✅
hardening
implemented
installer
multicast
p1
p2
pending
podman
pull-request
security
testing
v1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/super#333
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spr-networks/super/pull/128
Author: @lts-rad
Created: 4/10/2023
Status: ✅ Merged
Merged: 4/12/2023
Merged by: @lts-rad
Base:
dev← Head:dhcp-rewrite📝 Commits (10+)
7c347bf[db] Add sleep on failuree3d9ce8[build] Remove deprecated zonese9b2b58[api] Support new DHCP mechanisms3b51d6a[wireguard] No longer call into coredhcp plugin, use API directly to get an IP addressd00d066[api] API now generates DHCP addressese0be553[api] Fix typo52daff1[base] Remove TINYNET variables0f32745[api] Fix os.Getenv call3ded067[dhcp] Remove dhcp helper scripta9ce59b[base] Add tiny_subnets plugin back in, no arguments📊 Changes
35 files changed (+1093 additions, -255 deletions)
View changed files
📝
api/code/api.go(+46 -169)➕
api/code/dhcp.go(+702 -0)📝
api/code/firewall.go(+75 -9)📝
api/code/go.mod(+1 -1)📝
api/code/go.sum(+2 -0)📝
api/code/notifications.go(+11 -2)📝
base/scripts/nft_rules.sh(+8 -2)📝
base/scripts/startup.sh(+2 -1)📝
base/template_configs/base/api.json(+7 -1)📝
base/template_configs/base/config.sh(+0 -6)➕
base/template_configs/base/dhcp.json(+1 -0)➕
base/template_configs/base/lanip(+1 -0)📝
base/template_configs/base/virtual-config.sh(+0 -6)📝
base/template_configs/scripts/gen_coredhcp_yaml.sh(+1 -7)📝
db/code/cmd/boltapi/main.go(+1 -0)📝
dhcp/Dockerfile(+1 -0)➖
dhcp/scripts/dhcp_helper.sh(+0 -12)📝
docker-compose-test.yml(+0 -2)📝
docker-compose-virt.yml(+0 -2)📝
docker-compose.yml(+0 -2)...and 15 more files
📄 Description
This repositions IP management from Coredhcp's leases file into the API.
This is needed to support IP address reassignment and supporting multiple subnets.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.