[pve-devel] [PATCH proxmox-firewall 06/37] config: host: add helpers for host network configuration

Stefan Hanreich s.hanreich at proxmox.com
Tue Apr 9 10:32:46 CEST 2024


On 4/3/24 12:46, Max Carrara wrote:
> IMO the closures here and below could later be put into something like
> proxmox-sys (or similar) as freestanding functions without static data
> and then called here - but this is fine as it is; just an idea!

Yes, we are lacking networking-related helpers there afaict and it would
be a good fit imo.

I wanted to check proxmox-backup if there are any similar methods there
already when I daemonize the whole firewall since that would require
touching those functions anyway (removing the OnceLock's). Surely we
have something related to getting network configuration there already...




More information about the pve-devel mailing list