| 12345678910111213141516171819 |
- 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,
- )
|