limits vlans on interface tables

This commit is contained in:
Thor Dreier-Hansen 2024-10-04 09:39:39 +02:00
parent 8983646d74
commit e7b30ecbe0

View File

@ -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(