1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Move BGP_ASN_MIN and BGP_ASN_MAX to ipam.constants

This commit is contained in:
Jeremy Stretch
2020-01-15 14:53:46 -05:00
parent caf7d02637
commit 88267e9d05
4 changed files with 15 additions and 7 deletions

View File

@@ -1,5 +1,13 @@
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,