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-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.exec
example.yaml
schema.yaml
tests.py
vppcfg
vppcfg.spec
Bridge Domains must be [1,16M), Loopbacks must be [0,4096). Loopbacks should be allowed to have an address without an LCP. => Reuse the unittest file for the bounds check for loopbacks. => Add a new unittest file for the bounds check for bridgedomains.
16 lines
349 B
YAML
16 lines
349 B
YAML
test:
|
|
description: "BridgeDomain instance must be between 1 and 16M"
|
|
errors:
|
|
expected:
|
|
- "bridgedomain bd0 is reserved"
|
|
- "bridgedomain .* has instance .* which is too large"
|
|
count: 2
|
|
---
|
|
bridgedomains:
|
|
bd0:
|
|
description: "Reserved in VPP"
|
|
bd16777215:
|
|
description: "Cool."
|
|
bd16777216:
|
|
description: "Not cool."
|