public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] www: sdn: improve naming of vm network device in bridge view
@ 2025-11-17 14:03 Gabriel Goller
  2025-11-17 14:25 ` Thomas Lamprecht
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel Goller @ 2025-11-17 14:03 UTC (permalink / raw)
  To: pve-devel

When selecting a bridge we show all the ports and also decode the
firewall bridge port name. The name contaians the vmid and the vm
network device index. If we apply
https://lore.proxmox.com/pve-devel/20251117140121.160192-1-g.goller@proxmox.com/
the full interface name will be shown (`net{index}`), so this is a
better name for the column.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 www/manager6/sdn/ZoneBridgesPanel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/sdn/ZoneBridgesPanel.js b/www/manager6/sdn/ZoneBridgesPanel.js
index 600b23b0a8f8..f89f7956434a 100644
--- a/www/manager6/sdn/ZoneBridgesPanel.js
+++ b/www/manager6/sdn/ZoneBridgesPanel.js
@@ -76,7 +76,7 @@ Ext.define('PVE.sdn.ZoneBridgePortsPanel', {
             dataIndex: 'vmid',
         },
         {
-            text: gettext('Network Device Index'),
+            text: gettext('VM Network Device'),
             flex: 1,
             sortable: true,
             dataIndex: 'index',
-- 
2.47.3



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH manager] www: sdn: improve naming of vm network device in bridge view
  2025-11-17 14:03 [pve-devel] [PATCH manager] www: sdn: improve naming of vm network device in bridge view Gabriel Goller
@ 2025-11-17 14:25 ` Thomas Lamprecht
  2025-11-17 14:30   ` Gabriel Goller
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Lamprecht @ 2025-11-17 14:25 UTC (permalink / raw)
  To: Proxmox VE development discussion, Gabriel Goller

Am 17.11.25 um 15:03 schrieb Gabriel Goller:
> When selecting a bridge we show all the ports and also decode the
> firewall bridge port name. The name contaians the vmid and the vm
> network device index. If we apply
> https://lore.proxmox.com/pve-devel/20251117140121.160192-1-g.goller@proxmox.com/
> the full interface name will be shown (`net{index}`), so this is a
> better name for the column.
> 
> Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> ---
>  www/manager6/sdn/ZoneBridgesPanel.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/manager6/sdn/ZoneBridgesPanel.js b/www/manager6/sdn/ZoneBridgesPanel.js
> index 600b23b0a8f8..f89f7956434a 100644
> --- a/www/manager6/sdn/ZoneBridgesPanel.js
> +++ b/www/manager6/sdn/ZoneBridgesPanel.js
> @@ -76,7 +76,7 @@ Ext.define('PVE.sdn.ZoneBridgePortsPanel', {
>              dataIndex: 'vmid',
>          },
>          {
> -            text: gettext('Network Device Index'),
> +            text: gettext('VM Network Device'),

Is this really limited to VMs or can CTs also be shown? For the latter we
might want to use "Guest Network Device"

>              flex: 1,
>              sortable: true,
>              dataIndex: 'index',



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH manager] www: sdn: improve naming of vm network device in bridge view
  2025-11-17 14:25 ` Thomas Lamprecht
@ 2025-11-17 14:30   ` Gabriel Goller
  2025-11-17 14:42     ` Thomas Lamprecht
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel Goller @ 2025-11-17 14:30 UTC (permalink / raw)
  To: Thomas Lamprecht; +Cc: Proxmox VE development discussion

On 17.11.2025 15:25, Thomas Lamprecht wrote:
> Am 17.11.25 um 15:03 schrieb Gabriel Goller:
> > When selecting a bridge we show all the ports and also decode the
> > firewall bridge port name. The name contaians the vmid and the vm
> > network device index. If we apply
> > https://lore.proxmox.com/pve-devel/20251117140121.160192-1-g.goller@proxmox.com/
> > the full interface name will be shown (`net{index}`), so this is a
> > better name for the column.
> > 
> > Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> > ---
> >  www/manager6/sdn/ZoneBridgesPanel.js | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/www/manager6/sdn/ZoneBridgesPanel.js b/www/manager6/sdn/ZoneBridgesPanel.js
> > index 600b23b0a8f8..f89f7956434a 100644
> > --- a/www/manager6/sdn/ZoneBridgesPanel.js
> > +++ b/www/manager6/sdn/ZoneBridgesPanel.js
> > @@ -76,7 +76,7 @@ Ext.define('PVE.sdn.ZoneBridgePortsPanel', {
> >              dataIndex: 'vmid',
> >          },
> >          {
> > -            text: gettext('Network Device Index'),
> > +            text: gettext('VM Network Device'),
> 
> Is this really limited to VMs or can CTs also be shown? For the latter we
> might want to use "Guest Network Device"

CTs can also be shown. Agree, I'll send a new patch!

We also show "VMID" in the other column is that fine for for CTs?

> >              flex: 1,
> >              sortable: true,
> >              dataIndex: 'index',
> 


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH manager] www: sdn: improve naming of vm network device in bridge view
  2025-11-17 14:30   ` Gabriel Goller
@ 2025-11-17 14:42     ` Thomas Lamprecht
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Lamprecht @ 2025-11-17 14:42 UTC (permalink / raw)
  To: Proxmox VE development discussion

Am 17.11.25 um 15:29 schrieb Gabriel Goller:
>>> -            text: gettext('Network Device Index'),
>>> +            text: gettext('VM Network Device'),
>> Is this really limited to VMs or can CTs also be shown? For the latter we
>> might want to use "Guest Network Device"
> CTs can also be shown. Agree, I'll send a new patch!

Thx!

> We also show "VMID" in the other column is that fine for for CTs?

It's a good question, for that we actually use CTID if we're in a context
were we definitively know that it's a CT. For the common case where we
talk about both we most often keep using VMID for that term, mostly
because nobody had a better idea, and it _is_ a shared ID space, so using
different terms for that might also have its disadvantages.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-17 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-17 14:03 [pve-devel] [PATCH manager] www: sdn: improve naming of vm network device in bridge view Gabriel Goller
2025-11-17 14:25 ` Thomas Lamprecht
2025-11-17 14:30   ` Gabriel Goller
2025-11-17 14:42     ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal