Skip to content

Commit

Permalink
Add EVPN-VPWS to L2VPNTypeChoices (#17694)
Browse files Browse the repository at this point in the history
* Add EVPN-VPWS to the availbable L2VPN Connection Types

* Updated documentation to reference the new L2VPN type.
  • Loading branch information
caskings authored Oct 9, 2024
1 parent 23e6534 commit 2172ddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/models/vpn/l2vpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The technology employed in forming and operating the L2VPN. Choices include:
* VXLAN-EVPN
* MPLS-EVPN
* PBB-EVPN
* EVPN-VPWS

!!! note
Designating the type as VPWS, EPL, EP-LAN, EP-TREE will limit the L2VPN instance to two terminations.
Expand Down
2 changes: 2 additions & 0 deletions netbox/vpn/choices.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class L2VPNTypeChoices(ChoiceSet):
TYPE_VXLAN_EVPN = 'vxlan-evpn'
TYPE_MPLS_EVPN = 'mpls-evpn'
TYPE_PBB_EVPN = 'pbb-evpn'
TYPE_EVPN_VPWS = 'evpn-vpws'

CHOICES = (
('VPLS', (
Expand All @@ -232,6 +233,7 @@ class L2VPNTypeChoices(ChoiceSet):
('L2VPN E-VPN', (
(TYPE_MPLS_EVPN, 'MPLS EVPN'),
(TYPE_PBB_EVPN, 'PBB EVPN'),
(TYPE_EVPN_VPWS, 'EVPN VPWS')
)),
('E-Line', (
(TYPE_EPL, 'EPL'),
Expand Down

0 comments on commit 2172ddd

Please sign in to comment.