config
docs
intest
unittest
yaml
correct-address.yaml
correct-bondethernet.yaml
correct-bridgedomain.yaml
correct-empty.yaml
correct-empty2.yaml
correct-example1.yaml
correct-l2xc.yaml
correct-loopback.yaml
correct-vxlan.yaml
error-address1.yaml
error-bondethernet1.yaml
error-bondethernet2.yaml
error-bondethernet3.yaml
error-bondethernet4.yaml
error-bondethernet5.yaml
error-bondethernet6.yaml
error-bondethernet7.yaml
error-bridgedomain1.yaml
error-bridgedomain2.yaml
error-bridgedomain3.yaml
error-bridgedomain4.yaml
error-bridgedomain5.yaml
error-bridgedomain6.yaml
error-bridgedomain7.yaml
error-bridgedomain8.yaml
error-bridgedomain9.yaml
error-interface-mtu1.yaml
error-interface-mtu2.yaml
error-l2xc1.yaml
error-l2xc2.yaml
error-l2xc3.yaml
error-l2xc4.yaml
error-l2xc5.yaml
error-l2xc6.yaml
error-l2xc7.yaml
error-l2xc8.yaml
error-lcp-unique1.yaml
error-lcp-unique2.yaml
error-loopback1.yaml
error-schema-field1.yaml
error-schema-field2.yaml
error-subinterface1.yaml
error-subinterface2.yaml
error-subinterface3.yaml
error-subinterface6.yaml
error-subinterface7.yaml
error-subinterface8.yaml
error-subinterface9.yaml
error-vxlan1.yaml
error-vxlan2.yaml
error-vxlan3.yaml
test_bondethernet.yaml
test_bridgedomain.yaml
test_interface.yaml
test_lcp.yaml
test_loopback.yaml
test_vxlan_tunnel.yaml
vpp
.gitignore
LICENSE
README.md
example.yaml
schema.yaml
tests.py
vppcfg
vppcfg.spec
23 lines
641 B
YAML
23 lines
641 B
YAML
test:
|
|
description: "Interfaces put into the bridge, can't be L3 (so cannot have an address)"
|
|
errors:
|
|
expected:
|
|
- "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: 6
|
|
---
|
|
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 ]
|