Assert that BVI loopback's mtu is the same as its bridge MTU

This commit is contained in:
Pim van Pelt
2022-04-05 17:54:23 +00:00
parent 8971c325c0
commit a8ced1b982
4 changed files with 22 additions and 5 deletions

View File

@ -3,7 +3,8 @@ test:
errors:
expected:
- "bridgedomain .* member .* has MTU (2000|3000|500), while bridge has 1500"
count: 3
- "bridgedomain .* BVI .* has MTU 9000, while bridge has 1500"
count: 4
---
interfaces:
GigabitEthernet1/0/0:
@ -14,8 +15,13 @@ interfaces:
101:
mtu: 500
loopbacks:
loop1:
mtu: 9000
bridgedomains:
bd10:
description: "Bridge Domain 10"
mtu: 1500
bvi: loop1
interfaces: [ GigabitEthernet1/0/0, GigabitEthernet2/0/0, GigabitEthernet2/0/0.101 ]