[pve-devel] [PATCH manager v5 0/2] Show container ip in summary and network tab

Gabriel Goller g.goller at proxmox.com
Tue May 27 16:04:44 CEST 2025


Show the ip/hwaddress of the network interfaces of containers in the summary
tab of the container and in the network tab on a per-interface basis.

This series was originally by Leo Nunner:
https://lore.proxmox.com/pve-devel/20230615094333.66179-1-l.nunner@proxmox.com/

Note that the pve-network part has been merged already
(https://lore.proxmox.com/pve-devel/bbc59ae4-e552-4e2f-9bb3-8b4e47bd6cb1@proxmox.com/).

v5, thanks @Thomas:
 - fix network interfaces list not displayed correctly when nothing configured
 - use Proxmox.Async
 - make summary container status scrollable to show all the IPs
 - change 'dhcp' to 'dynamic' as we don't know if it's dhcp for sure
 - (note that this version only contains the pve-manager patches, the
   pve-network part has been merged already)

v4, thanks @Daniel:
 - remove duplicate code (copy paste error)
 - rebase on latest master

v3, thanks @Thomas, @Maximiliano:
 - fixed wording in schema description
 - stay backwards-compatible by keeping old attributes
 - use array reference instead of array

v2, thanks @Dominik:
 - show if ip is static or dynamic (dhcp)
 - show multiple ips per interface
 - refactor/reuse AgentIPView instead of adding ContainerIPView component
 - various other small improvements

pve-manager:

Gabriel Goller (2):
  lxc: show dynamically assigned IPs in network tab
  guest: refactor and reuse AgentIPView for containers

 www/manager6/Makefile                         |   2 +-
 www/manager6/lxc/Network.js                   | 115 ++++++++++----
 www/manager6/panel/GuestStatusView.js         | 140 +++++++++++++++++-
 www/manager6/panel/GuestSummary.js            |   1 +
 .../{qemu/AgentIPView.js => panel/IPView.js}  |  79 ++--------
 5 files changed, 235 insertions(+), 102 deletions(-)
 rename www/manager6/{qemu/AgentIPView.js => panel/IPView.js} (58%)


Summary over all repositories:
  5 files changed, 235 insertions(+), 102 deletions(-)

-- 
Generated by git-murpp 0.8.0




More information about the pve-devel mailing list