[pve-devel] [PATCH container manager] Show dynamic container IPs in GUI

Leo Nunner l.nunner at proxmox.com
Tue Apr 18 11:31:42 CEST 2023


This patch adds an endpoint to the LXC API to read the current
interface configuration (with current name, ipv(4|6), mac) from
inside a running container. The GUI fetches this data, merges it with
the existing configuration and then displays it.

pve-container:

Leo Nunner (1):
  api: network: get interfaces from containers

 src/PVE/API2/LXC.pm | 50 +++++++++++++++++++++++++++++++++++++++++++++
 src/PVE/LXC.pm      | 26 +++++++++++++++++++++++
 2 files changed, 76 insertions(+)

pve-manager:

Leo Nunner (1):
  lxc: show dynamically assigned IPs in network tab

 www/manager6/lxc/Network.js | 57 +++++++++++++++++++++++++++----------
 1 file changed, 42 insertions(+), 15 deletions(-)

-- 
2.30.2






More information about the pve-devel mailing list