netbox
netbox copied to clipboard
9627 use ArrayField on VLANGroup for allowed VLANs
Fixes: #9627
Note: The min_vid and max_vid filters were removed, It might be possible to do some PostGres fu to filter inside the arrays for min / max. Could also make internal fields storing the array min and max and filter against that. Tried storing the expanded array as individual items, but that runs into the PostGres row size limit so is not tenable.
Currently using vlan_id_ranges for the name, wondering if allowed_vlans or allowed_vlan_ids would be a better name?