Assert is_l2() on sub-ints cannot have address or LCP

This commit is contained in:
Pim van Pelt
2022-03-22 15:02:38 +00:00
parent 077d49cb88
commit 7303adb74a
4 changed files with 13 additions and 3 deletions

View File

@ -4,7 +4,9 @@ test:
expected:
- "sub-interface .* l2xc target .* cannot have an address"
- "sub-interface .* l2xc target .* cannot have an LCP"
count: 2
- "sub-interface .* is in L2 mode but has an address"
- "sub-interface .* is in L2 mode but has LCP name .*"
count: 4
---
interfaces:
GigabitEthernet1/0/0: