Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/312.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added new various new AFI-SAFI address family choices.
22 changes: 22 additions & 0 deletions nautobot_bgp_models/choices.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,48 @@ class AFISAFIChoices(ChoiceSet):

AFI_VPNV4_UNICAST = "vpnv4_unicast"
AFI_VPNV4_MULTICAST = "vpnv4_multicast"
AFI_VPNV4_FLOWSPEC = "vpnv4_flowspec"

AFI_VPNV6_UNICAST = "vpnv6_unicast"
AFI_VPNV6_MULTICAST = "vpnv6_multicast"
AFI_VPNV6_FLOWSPEC = "vpnv6_flowspec"

AFI_IPV4_MVPN = "ipv4_mvpn"
AFI_IPV6_MVPN = "ipv6_mvpn"

AFI_L2_EVPN = "l2_evpn"
AFI_L2_VPLS = "l2_vpls"

AFI_LINKSTATE = "linkstate"
AFI_LINKSTATE_VPN = "linkstate_vpn"

AFI_IPV4_SRTE = "ipv4_srte"
AFI_IPV6_SRTE = "ipv6_srte"

AFI_IPV4_RT_CONSTRAINT = "ipv4_rt_constraint"

CHOICES = (
(AFI_IPV4_UNICAST, "IPv4 Unicast"),
(AFI_IPV4_LABELED_UNICAST, "IPv4 Labeled Unicast"),
(AFI_IPV4_MULTICAST, "IPv4 Multicast"),
(AFI_IPV4_FLOWSPEC, "IPv4 Flowspec"),
(AFI_IPV4_MVPN, "IPv4 MVPN"),
(AFI_IPV4_SRTE, "IPv4 SR-TE Policy"),
(AFI_IPV4_RT_CONSTRAINT, "IPv4 RT Constraint"),
(AFI_IPV6_UNICAST, "IPv6 Unicast"),
(AFI_IPV6_LABELED_UNICAST, "IPv6 Labeled Unicast"),
(AFI_IPV6_MULTICAST, "IPv6 Multicast"),
(AFI_IPV6_FLOWSPEC, "IPv6 Flowspec"),
(AFI_IPV6_MVPN, "IPv6 MVPN"),
(AFI_IPV6_SRTE, "IPv6 SR-TE Policy"),
(AFI_VPNV4_UNICAST, "VPNv4 Unicast"),
(AFI_VPNV4_MULTICAST, "VPNv4 Multicast"),
(AFI_VPNV4_FLOWSPEC, "VPNv4 Flowspec"),
(AFI_VPNV6_UNICAST, "VPNv6 Unicast"),
(AFI_VPNV6_MULTICAST, "VPNv6 Multicast"),
(AFI_VPNV6_FLOWSPEC, "VPNv6 Flowspec"),
(AFI_L2_EVPN, "L2 EVPN"),
(AFI_L2_VPLS, "L2 VPLS"),
(AFI_LINKSTATE, "Link-State"),
(AFI_LINKSTATE_VPN, "Link-State VPN"),
)
Loading