[pve-devel] [PATCH manager v4 1/3] lxc: show dynamically assigned IPs in network tab

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Apr 7 19:46:50 CEST 2025


Am 08.01.25 um 15:38 schrieb Gabriel Goller:
> adds a call to /nodes/{node}/lxc/{vmid}/interfaces and merges the
> returned data with the existing configuration. This will update the
> IPv4 and IPv6 address, as well as the interface name (in case the
> container changed it).
> 
> Originally-by: Leo Nunner <l.nunner at proxmox.com>
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
>  www/manager6/lxc/Network.js | 85 ++++++++++++++++++++++++++-----------
>  1 file changed, 60 insertions(+), 25 deletions(-)
> 

the network view's grid gets broken here for any container that is not
turned on, and thus cannot have an address configured.

Using Proxmox.Async and early return/continue to reduce some
indentation level might be good to.




More information about the pve-devel mailing list