Move unittest YAML files into their own directory, pending more python unit tests in a followup commit
This commit is contained in:
18
unittest/yaml/error-l2xc3.yaml
Normal file
18
unittest/yaml/error-l2xc3.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
test:
|
||||
description: "L2 cross connect targets cannot also occur in a bridgedomain"
|
||||
errors:
|
||||
expected:
|
||||
- "interface .* l2xc target .* in a bridgedomain"
|
||||
count: 1
|
||||
---
|
||||
interfaces:
|
||||
GigabitEthernet1/0/0:
|
||||
description: "Cross connected to Gi1/0/1"
|
||||
l2xc: GigabitEthernet1/0/1
|
||||
GigabitEthernet1/0/1:
|
||||
description: "In a Bridge Domain, so cannot be a target of L2XC"
|
||||
|
||||
bridgedomains:
|
||||
bd10:
|
||||
description: "A Bridge with gi1/0/0 which also occurs as an L2XC target"
|
||||
interfaces: [ GigabitEthernet1/0/1 ]
|
Reference in New Issue
Block a user