Also assert that targets of an L2XC do not have an address or LCP

This commit is contained in:
Pim van Pelt
2022-03-15 21:07:47 +00:00
parent 5876465327
commit 2bbcff2ca0
4 changed files with 46 additions and 9 deletions

View File

@ -2,9 +2,11 @@ test:
description: "L2 cross connect targets cannot have an IP address or LCP"
errors:
expected:
- "interface .* l2xc so it cannot be an LCP"
- "interface .* l2xc so it cannot have an address"
count: 3
- "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: