netbox/netbox
Martin Hauser 1f93471659
Fixes #18978 - Allow filtering of Interfaces in the GUI by 802.1Q Mode (#19183)
* feat(dcim): Add VLAN mode filter to CommonInterface

Introduces a new FilterSet for VLAN mode in CommonInterfaceFilterSet.
This allows filtering interfaces based on their VLAN mode using defined
choices.

* feat(dcim): Add VLAN mode filter to Interface FilterForm

Add a field to InterfaceFilterSet to filter interfaces by 802.1Q VLAN
mode.

* feat(virtualization): Add VLAN mode filter to VMInterface

Add a field to VMInterfaceFilterSet to filter interfaces by 802.1Q VLAN
mode.

* fix(dcim): Correct mode filter parameter type in tests

Updates the `mode` filter parameter to accept a list instead of a single
value in `test_filtersets.py`. Ensures proper count assertion for
accurate test behavior.

* feat(virtualization): Add tests for VLAN mode filtering

Introduces tests to validate filtering by `mode` for VMInterface.
Ensures correct filtering for 802.1Q VLAN mode.

* refactor(virtualization): Reorganize FieldSets in FilterSets

Splits the 'Attributes' FieldSet into two distinct FieldSets for better
clarity: 'Attributes' and 'Addressing'. This improves form organization
and makes it more intuitive for users.
2025-04-15 13:47:51 -04:00
..
account Merge branch 'develop' into feature 2024-08-14 10:54:31 -04:00
circuits Fixes #18949: Add missing GraphQL ContactsMixin in types with ContactAssignments 2025-03-21 13:00:50 -05:00
core Closes #19035: Move the registration of core event types to the app config (#19088) 2025-04-04 11:18:42 -05:00
dcim Fixes #18978 - Allow filtering of Interfaces in the GUI by 802.1Q Mode (#19183) 2025-04-15 13:47:51 -04:00
extras Fixes #19189: BaseScript.load_yaml() should use SafeLoader (#19190) 2025-04-15 08:58:13 -05:00
ipam Fixes #18879 - Add prefix filtering by assigned VLAN Group (#19182) 2025-04-15 07:59:32 -04:00
media
netbox Revert "Fixes: #18783 Add a tag_id filter for all models which support taggin…" 2025-04-10 15:42:26 -04:00
project-static Fixes #19169: Remove horizontal padding from highlighted text (#19181) 2025-04-15 07:13:58 -07:00
reports
scripts
templates Add GetRelatedModelsMixin to ClusterView 2025-04-14 15:39:49 -04:00
tenancy Fixes #18949: Add missing GraphQL ContactsMixin in types with ContactAssignments 2025-03-21 13:00:50 -05:00
translations Update source translation strings 2025-04-15 05:02:10 +00:00
users Closes #17752: Rename URL paths for bulk import to *_bulk_import 2024-11-22 12:51:06 -05:00
utilities Fixes #19023: get_field_value() should respect null values in bound forms (#19024) 2025-03-31 16:34:46 -05:00
virtualization Fixes #18978 - Allow filtering of Interfaces in the GUI by 802.1Q Mode (#19183) 2025-04-15 13:47:51 -04:00
vpn Fixes #18949: Add missing GraphQL ContactsMixin in types with ContactAssignments 2025-03-21 13:00:50 -05:00
wireless Fixes: #15016 - Catch AssertionError from cable trace and throw ValidationError (#16384) 2025-03-04 10:57:27 -08:00
generate_secret_key.py Change Interpreter in shebang to python3 2023-02-27 14:09:10 -05:00
manage.py Fix ambiguous shebang in netbox/manage.py. 2024-10-24 09:04:49 -04:00
release.yaml Release v4.2.7 2025-04-10 16:07:24 -04:00