Move unittest YAML files into their own directory, pending more python unit tests in a followup commit

This commit is contained in:
Pim van Pelt
2022-03-20 16:59:13 +00:00
parent dbd7bca8f3
commit 2036795ef1
47 changed files with 1 additions and 1 deletions

View File

@ -0,0 +1,20 @@
test:
description: "L2 cross connect targets cannot have an IP address or LCP"
errors:
expected:
- "interface .* has l2xc so it cannot be an LCP"
- "interface .* has l2xc so it cannot have an address"
- "interface .* l2xc target .* cannot be an LCP"
- "interface .* l2xc target .* cannot have an address"
count: 6
---
interfaces:
GigabitEthernet1/0/0:
description: "Cross connected to Gi1/0/1, but should not have an LCP"
l2xc: GigabitEthernet1/0/1
lcp: "e1-0-0"
GigabitEthernet1/0/1:
description: "Cross connected to Gi1/0/0, but should not have address and LCP"
l2xc: GigabitEthernet1/0/0
lcp: "e1-0-1"
addresses: [ 192.0.2.1/30 ]