Add l2xc support, including extensive tests to validate correct usage of the feature
This commit is contained in:
14
unittest/error-l2xc2.yaml
Normal file
14
unittest/error-l2xc2.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
test:
|
||||
description: "L2 cross connect targets must exist"
|
||||
errors:
|
||||
expected:
|
||||
- "interface .* l2xc target .* does not exist"
|
||||
count: 1
|
||||
---
|
||||
interfaces:
|
||||
GigabitEthernet1/0/0:
|
||||
description: "Cross connected to Gi1/0/1"
|
||||
l2xc: GigabitEthernet1/0/1
|
||||
GigabitEthernet1/0/1:
|
||||
description: "Cross connected to Gi1/0/2, which does not exist"
|
||||
l2xc: GigabitEthernet1/0/2
|
Reference in New Issue
Block a user