mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Update docs
This commit is contained in:
@ -17,3 +17,5 @@ Each L2VPN instance must have one of the following type associated with it:
|
|||||||
* MPLS-EVPN
|
* MPLS-EVPN
|
||||||
* PBB-EVPN
|
* PBB-EVPN
|
||||||
|
|
||||||
|
!!!note
|
||||||
|
Choosing VPWS, EPL, EP-LAN, EP-TREE will result in only being able to add 2 terminations to a given L2VPN.
|
||||||
|
@ -10,3 +10,6 @@ The following types of L2VPN's are considered point-to-point:
|
|||||||
* EPL
|
* EPL
|
||||||
* EP-LAN
|
* EP-LAN
|
||||||
* EP-TREE
|
* EP-TREE
|
||||||
|
|
||||||
|
!!!note
|
||||||
|
Choosing any of the above types of L2VPN's will result in only being able to add 2 terminations to a given L2VPN.
|
||||||
|
@ -976,7 +976,7 @@ class L2VPNTerminationForm(NetBoxModelForm):
|
|||||||
if interface and vlan and vminterface:
|
if interface and vlan and vminterface:
|
||||||
raise ValidationError('Cannot assign a interface, vlan and vminterface')
|
raise ValidationError('Cannot assign a interface, vlan and vminterface')
|
||||||
elif interface and vlan:
|
elif interface and vlan:
|
||||||
raise ValidationError('Cannot assign both a interface and vlan')
|
raise Validatio`nError('Cannot assign both a interface and vlan')
|
||||||
elif interface and vminterface:
|
elif interface and vminterface:
|
||||||
raise ValidationError('Cannot assign both a interface and vminterface')
|
raise ValidationError('Cannot assign both a interface and vminterface')
|
||||||
elif vlan and vminterface:
|
elif vlan and vminterface:
|
||||||
|
Reference in New Issue
Block a user