mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
20 lines
442 B
Python
20 lines
442 B
Python
from .choices import IPAddressRoleChoices
|
|
|
|
# BGP ASN bounds
|
|
BGP_ASN_MIN = 1
|
|
BGP_ASN_MAX = 2**32 - 1
|
|
|
|
#
|
|
# IP addresses
|
|
#
|
|
|
|
IPADDRESS_ROLES_NONUNIQUE = (
|
|
# IPAddress roles which are exempt from unique address enforcement
|
|
IPAddressRoleChoices.ROLE_ANYCAST,
|
|
IPAddressRoleChoices.ROLE_VIP,
|
|
IPAddressRoleChoices.ROLE_VRRP,
|
|
IPAddressRoleChoices.ROLE_HSRP,
|
|
IPAddressRoleChoices.ROLE_GLBP,
|
|
IPAddressRoleChoices.ROLE_CARP,
|
|
)
|