|
@@ -697,6 +697,10 @@ class DeviceInterfaceTable(InterfaceTable):
|
|
|
linkify=True,
|
|
linkify=True,
|
|
|
verbose_name=_('LAG')
|
|
verbose_name=_('LAG')
|
|
|
)
|
|
)
|
|
|
|
|
+ mac_address = tables.Column(
|
|
|
|
|
+ verbose_name=_('MAC Address'),
|
|
|
|
|
+ orderable=False,
|
|
|
|
|
+ )
|
|
|
actions = columns.ActionsColumn(
|
|
actions = columns.ActionsColumn(
|
|
|
extra_buttons=INTERFACE_BUTTONS
|
|
extra_buttons=INTERFACE_BUTTONS
|
|
|
)
|
|
)
|
|
@@ -705,10 +709,10 @@ class DeviceInterfaceTable(InterfaceTable):
|
|
|
model = models.Interface
|
|
model = models.Interface
|
|
|
fields = (
|
|
fields = (
|
|
|
'pk', 'id', 'name', 'module_bay', 'module', 'label', 'enabled', 'type', 'parent', 'bridge', 'lag',
|
|
'pk', 'id', 'name', 'module_bay', 'module', 'label', 'enabled', 'type', 'parent', 'bridge', 'lag',
|
|
|
- 'mgmt_only', 'mtu', 'mode', 'mac_address', 'wwn', 'rf_role', 'rf_channel', 'rf_channel_frequency',
|
|
|
|
|
- 'rf_channel_width', 'tx_power', 'description', 'mark_connected', 'cable', 'cable_color', 'wireless_link',
|
|
|
|
|
- 'wireless_lans', 'link_peer', 'connection', 'tags', 'vdcs', 'vrf', 'l2vpn', 'tunnel', 'ip_addresses',
|
|
|
|
|
- 'fhrp_groups', 'untagged_vlan', 'tagged_vlans', 'qinq_svlan', 'actions',
|
|
|
|
|
|
|
+ 'mgmt_only', 'mtu', 'mode', 'mac_address', 'primary_mac_address', 'wwn', 'rf_role', 'rf_channel',
|
|
|
|
|
+ 'rf_channel_frequency', 'rf_channel_width', 'tx_power', 'description', 'mark_connected', 'cable',
|
|
|
|
|
+ 'cable_color', 'wireless_link', 'wireless_lans', 'link_peer', 'connection', 'tags', 'vdcs', 'vrf', 'l2vpn',
|
|
|
|
|
+ 'tunnel', 'ip_addresses', 'fhrp_groups', 'untagged_vlan', 'tagged_vlans', 'qinq_svlan', 'actions',
|
|
|
)
|
|
)
|
|
|
default_columns = (
|
|
default_columns = (
|
|
|
'pk', 'name', 'label', 'enabled', 'type', 'parent', 'lag', 'mtu', 'mode', 'description', 'ip_addresses',
|
|
'pk', 'name', 'label', 'enabled', 'type', 'parent', 'lag', 'mtu', 'mode', 'description', 'ip_addresses',
|