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.
13 lines
257 B
YAML
13 lines
257 B
YAML
test:
|
|
description: "Loopback instances must be between 0 and 4095"
|
|
errors:
|
|
expected:
|
|
- "loopback .* has instance 4096 which is too large"
|
|
count: 1
|
|
---
|
|
loopbacks:
|
|
loop4095:
|
|
description: "Cool."
|
|
loop4096:
|
|
description: "Not cool."
|