[pve-devel] applied: [PATCH container v4 3/3] api: return all addresses of an interface

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Apr 7 19:55:42 CEST 2025


Am 08.01.25 um 15:38 schrieb Gabriel Goller:
> Return all ip-addresses of an interface, not only the first one. Change
> return schema to resemble the 'agent/network-get-interfaces' qemu call
> reponse. This helps us making the AgentIPView more generic and display
> the ip on both containers and vms.
> Preserve old attributes so that we remain backwards-compatible. These
> should be removed in the next version.
> 
> Fixes: #5339
> Cc: Johannes Draaijer <jcdra1 at gmail.com>
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
>  src/PVE/API2/LXC.pm | 37 +++++++++++++++++++++++++++++++++++--
>  src/PVE/LXC.pm      | 15 +++++++++++++++
>  2 files changed, 50 insertions(+), 2 deletions(-)
> 
>

applied this one for now, with some small follow-ups for code style nits, thanks!




More information about the pve-devel mailing list