netbox
netbox copied to clipboard
Fixes: #15924 - Prevent API payload from allowing tagged_vlans while interface mode is set to tagged-all
Fixes: #15924 and #17249 - Prevent API payload from allowing tagged_vlans while interface mode is set to taged-all and prevent API from allowing untagged_vlan when no 802.1q mode is set.
- Prevent API (or any API write function) which includes untagged_vlan with interface 802.1q mode is not set
- Prevent API (or any API write function) which includes tagged_vlans with interface mode set to tagged-all