mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-29 03:46:25 -06:00
undefined
This commit is contained in:
parent
8810817557
commit
63a73faa40
@ -506,6 +506,9 @@ class BaseInterfaceTable(NetBoxTable):
|
|||||||
verbose_name='Tagged VLANs'
|
verbose_name='Tagged VLANs'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def value_ip_addresses(self, value):
|
||||||
|
return ",".join([str(obj.address) for obj in value.all()])
|
||||||
|
|
||||||
|
|
||||||
class InterfaceTable(ModularDeviceComponentTable, BaseInterfaceTable, PathEndpointTable):
|
class InterfaceTable(ModularDeviceComponentTable, BaseInterfaceTable, PathEndpointTable):
|
||||||
device = tables.Column(
|
device = tables.Column(
|
||||||
|
@ -33,6 +33,9 @@ class FHRPGroupTable(NetBoxTable):
|
|||||||
url_name='ipam:fhrpgroup_list'
|
url_name='ipam:fhrpgroup_list'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def value_ip_addresses(self, value):
|
||||||
|
return ",".join([str(obj.address) for obj in value.all()])
|
||||||
|
|
||||||
class Meta(NetBoxTable.Meta):
|
class Meta(NetBoxTable.Meta):
|
||||||
model = FHRPGroup
|
model = FHRPGroup
|
||||||
fields = (
|
fields = (
|
||||||
|
Loading…
Reference in New Issue
Block a user