Files
vppcfg/vppcfg/unittest/yaml/error-subinterface6.yaml
Ray Kinsella b15106b88c build: reworked with setuptools
Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
2022-07-01 18:36:13 +01:00

20 lines
449 B
YAML

test:
description: "A bunch of sub-interfaces with incorrect encapsulation"
errors:
expected:
- "sub-interface .* has invalid encapsulation"
count: 2
---
interfaces:
GigabitEthernet1/0/0:
sub-interfaces:
100:
encapsulation:
## Cannot have both dot1q and dot1ad
dot1q: 100
dot1ad: 100
101:
encapsulation:
## Missing dot1q or dot1ad
inner-dot1q: 100