Add unit tests for all interface/sub-interface failure modes
This commit is contained in:
13
unittest/error-subinterface3.yaml
Normal file
13
unittest/error-subinterface3.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
test:
|
||||
description: "The length of the LCP name is too long"
|
||||
errors:
|
||||
expected:
|
||||
- "Length .* is greater than 8"
|
||||
---
|
||||
interfaces:
|
||||
GigabitEthernet1/0/0:
|
||||
lcp: "e01234567"
|
||||
sub-interfaces:
|
||||
100:
|
||||
description: "VLAN 100"
|
||||
|
Reference in New Issue
Block a user