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

Introduce the RouteTarget model

This commit is contained in:
Jeremy Stretch
2020-09-24 11:25:52 -04:00
parent 9b16d6df2e
commit dfb5a06d9d
14 changed files with 397 additions and 12 deletions

View File

@@ -16,6 +16,7 @@ BGP_ASN_MAX = 2**32 - 1
# * Type 1 (32-bit IPv4 address : 16-bit integer)
# * Type 2 (32-bit AS number : 16-bit integer)
# 21 characters are sufficient to convey the longest possible string value (255.255.255.255:65535)
# Also used for RouteTargets
VRF_RD_MAX_LENGTH = 21