diff --git a/netbox/ipam/choices.py b/netbox/ipam/choices.py index 51b65a6da9..9d4d71dbf2 100644 --- a/netbox/ipam/choices.py +++ b/netbox/ipam/choices.py @@ -79,6 +79,7 @@ class IPAddressRoleChoices(ChoiceSet): ROLE_LOOPBACK = 'loopback' ROLE_SECONDARY = 'secondary' ROLE_ANYCAST = 'anycast' + ROLE_VARP = 'varp' ROLE_VIP = 'vip' ROLE_VRRP = 'vrrp' ROLE_HSRP = 'hsrp' @@ -89,6 +90,7 @@ class IPAddressRoleChoices(ChoiceSet): (ROLE_LOOPBACK, _('Loopback'), 'gray'), (ROLE_SECONDARY, _('Secondary'), 'blue'), (ROLE_ANYCAST, _('Anycast'), 'yellow'), + (ROLE_VARP, 'VARP', 'lime'), (ROLE_VIP, 'VIP', 'purple'), (ROLE_VRRP, 'VRRP', 'green'), (ROLE_HSRP, 'HSRP', 'green'), diff --git a/netbox/ipam/constants.py b/netbox/ipam/constants.py index 6dffd32870..13a655150b 100644 --- a/netbox/ipam/constants.py +++ b/netbox/ipam/constants.py @@ -40,6 +40,7 @@ IPADDRESS_ROLES_NONUNIQUE = ( # IPAddress roles which are exempt from unique address enforcement IPAddressRoleChoices.ROLE_ANYCAST, + IPAddressRoleChoices.ROLE_VARP, IPAddressRoleChoices.ROLE_VIP, IPAddressRoleChoices.ROLE_VRRP, IPAddressRoleChoices.ROLE_HSRP,