mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 09:28:38 -06:00
undefined
This commit is contained in:
parent
98b3fc03b8
commit
c7108bb3f7
@ -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