[pve-devel] applied: [PATCH v2 container] api: network: get interfaces from containers
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Nov 14 19:23:10 CET 2023
Am 15/06/2023 um 11:43 schrieb Leo Nunner:
> Adds an 'interfaces' endpoint in the API
> (/nodes/{node}/lxc/{vmid}/interfaces'), which returns a list of
> interface names, together with a MAC, IPv4 and IPv6 address. This list
> may be expanded in the future. Note that this is only returned for
> *running* containers, stopped containers simply return an empty list.
>
> Signed-off-by: Leo Nunner <l.nunner at proxmox.com>
> ---
> src/PVE/API2/LXC.pm | 50 +++++++++++++++++++++++++++++++++++++++++++++
> src/PVE/LXC.pm | 26 +++++++++++++++++++++++
> 2 files changed, 76 insertions(+)
>
>
applied this one for now, thanks! UI might need slight rework/follow-up, as
this was done before we had the extra line for "is-unprivileged" in the status
panel, so there's not enough space left now.
More information about the pve-devel
mailing list