Add unit tests for all interface/sub-interface failure modes
This commit is contained in:
12
unittest/error-interface-mtu1.yaml
Normal file
12
unittest/error-interface-mtu1.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
test:
|
||||
description: "MTU too small on one interface, too large on another"
|
||||
errors:
|
||||
expected:
|
||||
- "mtu.*less than 128"
|
||||
- "mtu.*greater than 9216"
|
||||
---
|
||||
interfaces:
|
||||
GigabitEthernet1/0/0:
|
||||
mtu: 9217
|
||||
GigabitEthernet1/0/1:
|
||||
mtu: 127
|
Reference in New Issue
Block a user