Closes #4898: Add MAC address search field to interfaces list

This commit is contained in:
Jeremy Stretch 2020-07-24 16:46:29 -04:00
parent 61ce8d1cb0
commit 9e1edd55d6
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@
### Enhancements ### Enhancements
* [#4898](https://github.com/netbox-community/netbox/issues/4898) - Add MAC address search field to interfaces list
* [#4899](https://github.com/netbox-community/netbox/issues/4899) - Add MAC address column to interfaces table * [#4899](https://github.com/netbox-community/netbox/issues/4899) - Add MAC address column to interfaces table
### Bug Fixes ### Bug Fixes

View File

@ -2671,6 +2671,10 @@ class InterfaceFilterForm(DeviceComponentFilterForm):
choices=BOOLEAN_WITH_BLANK_CHOICES choices=BOOLEAN_WITH_BLANK_CHOICES
) )
) )
mac_address = forms.CharField(
required=False,
label='MAC address'
)
tag = TagFilterField(model) tag = TagFilterField(model)