Files
vppcfg/unittest/yaml/error-bridgedomain3.yaml
2022-03-22 18:49:31 +00:00

25 lines
758 B
YAML

test:
description: "Interfaces put into the bridge, can't be L3 (so cannot have an address)"
errors:
expected:
- "interface .* has an address but no LCP"
- "sub-interface .* has an address but .* does not have an LCP"
- "bridgedomain .* member .* has an address"
- "interface .* is in L2 mode but has an address"
- "sub-interface .* is in L2 mode but has an address"
count: 9
---
interfaces:
GigabitEthernet1/0/0:
addresses: [ 192.0.2.1/29 ]
GigabitEthernet2/0/0:
addresses: [ 192.0.2.9/29 ]
sub-interfaces:
101:
addresses: [ 192.0.2.17/29 ]
bridgedomains:
bd10:
description: "Bridge Domain 10"
interfaces: [ GigabitEthernet1/0/0, GigabitEthernet2/0/0, GigabitEthernet2/0/0.101 ]