mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-20 02:06:42 -06:00
![]() * Fixes: #15924 - Prevent API payload from allowing tagged_vlans while interface mode is set to taged-all * Prevent cleanup of tagged_vlans when no tagged_vlans set on interface * Fix test errors * Remove accidental debug statements * Update validation to model clean method instead of serializer * Remove clearing of tagged vlans from `save()` * Make changes to validation to account for M2M not being available under model in addition to not being able to check incoming vlans under same model. * Optimize untagged vlan check * Re-ordering statements in validators * Forgot to call super().clean() * Adjust logic for form and serializer. Add tests * Fix test failure * Fix ruff errors * Fix test by removing now invalid test * Update serializer, form and tests * Optimize API test for vlan fields * Optimize API serializer logic --------- Co-authored-by: Daniel Sheppard <dans@dansheps.com> |
||
---|---|---|
.. | ||
account | ||
circuits | ||
core | ||
dcim | ||
extras | ||
ipam | ||
media | ||
netbox | ||
project-static | ||
reports | ||
scripts | ||
templates | ||
tenancy | ||
translations | ||
users | ||
utilities | ||
virtualization | ||
vpn | ||
wireless | ||
generate_secret_key.py | ||
manage.py | ||
release.yaml |