Add validator to ensure that bridgedomain interfaces occur in at most one bridgedomain. Ironically, this caught a bug in the bridgedomain5 test, where Gi1/0/0 was added twice.

This commit is contained in:
Pim van Pelt
2022-03-15 19:48:32 +00:00
parent 9d8c201a06
commit b9a7bb697e
4 changed files with 71 additions and 2 deletions

View File

@ -15,5 +15,5 @@ bridgedomains:
bd13:
description: "Bridge Domain 13, address but no LCP"
mtu: 3000
interfaces: [ GigabitEthernet1/0/0, GigabitEthernet1/0/0 ]
interfaces: [ GigabitEthernet1/0/0, GigabitEthernet1/0/1 ]
addresses: [ 192.0.2.9/29, 2001:db8:1::1/64 ]