Move unittest YAML files into their own directory, pending more python unit tests in a followup commit
This commit is contained in:
26
unittest/yaml/error-lcp-unique2.yaml
Normal file
26
unittest/yaml/error-lcp-unique2.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
test:
|
||||
description: "Loopback and BridgeDomain and Interfaces can't have the same LCP"
|
||||
errors:
|
||||
expected:
|
||||
- "interface .* does not have a unique LCP name"
|
||||
- "loopback .* does not have a unique LCP name"
|
||||
- "bridgedomain .* does not have a unique LCP name"
|
||||
count: 3
|
||||
---
|
||||
interfaces:
|
||||
GigabitEthernet1/0/0:
|
||||
lcp: "e1"
|
||||
|
||||
GigabitEthernet2/0/0:
|
||||
mtu: 1500
|
||||
GigabitEthernet2/0/1:
|
||||
mtu: 1500
|
||||
|
||||
loopbacks:
|
||||
loop0:
|
||||
lcp: "e1"
|
||||
|
||||
bridgedomains:
|
||||
bd0:
|
||||
lcp: "e1"
|
||||
interfaces: [ GigabitEthernet2/0/0, GigabitEthernet2/0/1 ]
|
Reference in New Issue
Block a user