Files
vppcfg/unittest/yaml/error-bridgedomain2.yaml
2022-03-22 15:02:38 +00:00

23 lines
590 B
YAML

test:
description: "Interfaces put into the bridge, can't be L3 (so cannot have an LCP)"
errors:
expected:
- "bridgedomain .* member .* has an LCP"
- "interface .* is in L2 mode but has LCP name .*"
- "sub-interface .* is in L2 mode but has LCP name .*"
count: 6
---
interfaces:
GigabitEthernet1/0/0:
lcp: "e1-0-0"
GigabitEthernet2/0/0:
lcp: "e2-0-0"
sub-interfaces:
101:
lcp: "v101"
bridgedomains:
bd10:
description: "Bridge Domain 10"
interfaces: [ GigabitEthernet1/0/0, GigabitEthernet2/0/0, GigabitEthernet2/0/0.101 ]