Add EVPN-VPWS to L2VPNTypeChoices (#17694)

* Add EVPN-VPWS to the availbable L2VPN Connection Types

* Updated documentation to reference the new L2VPN type.
This commit is contained in:
Craig Askings 2024-10-10 00:28:53 +10:00 committed by GitHub
parent 23e6534060
commit 2172ddde61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -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', (
@ -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'),