From e7b30ecbe0ac3f03a25a12a09804d90b3534c250 Mon Sep 17 00:00:00 2001 From: Thor Dreier-Hansen <43479811+thordreier@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:39:39 +0200 Subject: [PATCH] limits vlans on interface tables --- netbox/dcim/tables/devices.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netbox/dcim/tables/devices.py b/netbox/dcim/tables/devices.py index 2fa82dc43..70b297366 100644 --- a/netbox/dcim/tables/devices.py +++ b/netbox/dcim/tables/devices.py @@ -588,6 +588,9 @@ class BaseInterfaceTable(NetBoxTable): def value_ip_addresses(self, value): return ",".join([str(obj.address) for obj in value.all()]) + def value_tagged_vlans(self, value): + return ",".join([str(obj) for obj in value.all()]) + class InterfaceTable(ModularDeviceComponentTable, BaseInterfaceTable, PathEndpointTable): device = tables.Column(