netbox
netbox copied to clipboard
Assigning duplicate FHRP group to interface results in Integrity Error
Deployment Type
Self-hosted
NetBox Version
v3.7.1
Python Version
3.8
Steps to Reproduce
View an interface Click "Assign Group" for FHRP Input "Group" and "Priority" Click "Create & Add Another" Input the same "Group" and a "Priority" Error
IntegrityError at /ipam/fhrp-group-assignments/add/
duplicate key value violates unique constraint "ipam_fhrpgroupassignment_unique_interface_group"
Expected Behavior
Should show "duplicate assignment" on edit form
Observed Behavior
IntegrityError was thrown.