Assert that is_l2() interfaces cannot have LCP or address; Fix consistency on 'be' vs 'have' an LCP.

This commit is contained in:
Pim van Pelt
2022-03-22 14:54:09 +00:00
parent 6688c6b243
commit 077d49cb88
5 changed files with 20 additions and 10 deletions

View File

@ -3,7 +3,7 @@ test:
errors:
expected:
- "sub-interface .* l2xc target .* cannot have an address"
- "sub-interface .* l2xc target .* cannot be an LCP"
- "sub-interface .* l2xc target .* cannot have an LCP"
count: 2
---
interfaces: