[pve-devel] applied-series: [PATCH network/container/qemu-server 0/3] sdn: register a new IP at VM start if missing

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 21 20:57:14 CET 2023


Am 21/11/2023 um 15:55 schrieb Stefan Lendl:
> 
> If a VM or LXC starts and no IP was found in the IPAM, register a new one.
> 
> This is very seful as a fallback if for some reason an IP mapping was deleted
> or there is a bug somewhere that does not register an IP.
> 
> This acts more like DHCP to allocate an IP on demand.
> 
> Special case that is not covered:
>   If a subnet with IPv4 exists and VMs are present, adding a new subnet with
>   IPv6, this will not register an IPv6. And vice-versa.
> 
> 
> 
> pve-network:
> 
> Stefan Lendl (1):
>   sdn: register MAC in IPAM if not found
> 
>  src/PVE/Network/SDN/Vnets.pm | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> 
> pve-container:
> 
> Stefan Lendl (1):
>   sdn: pass vmid and hostname to add_dhcp_mapping
> 
>  src/PVE/LXC.pm            | 4 ++--
>  src/lxc-pve-prestart-hook | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> 
> qemu-server:
> 
> Stefan Lendl (1):
>   sdn: pass vmid and hostname to add_dhcp_mapping
> 
>  PVE/QemuServer.pm             | 2 +-
>  vm-network-scripts/pve-bridge | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> 
> Summary over all repositories:
>   5 files changed, 14 insertions(+), 8 deletions(-)
> 


applied series, thanks!





More information about the pve-devel mailing list