Add bridgedomain settings.

Bridges can be created with default settings, with specific settings,
and they can be sync'd at runtime with all of the settings in this
change.

Notably missing are two features:
- unknown unicast flooding into specific interfaces (as opposed to
  on/off on the bridge)
- learn-limit, which does not have an API getter, only a setter.
This commit is contained in:
Pim van Pelt
2022-04-05 12:01:13 +00:00
parent f53f7d5095
commit fdb732142a
8 changed files with 155 additions and 9 deletions

View File

@ -51,9 +51,13 @@ bridgedomains:
bvi: loop0
interfaces: [ GigabitEthernet1/0/0, GigabitEthernet1/0/1, BondEthernet0 ]
bd11:
description: "Bridge Domain 11, with sub-interfaces"
description: "Bridge Domain 11, with sub-interfaces and settings"
mtu: 2000
interfaces: [ GigabitEthernet2/0/0.100, GigabitEthernet2/0/1.100, BondEthernet0.100 ]
settings:
mac-age-minutes: 10
unicast-flood: False
unknown-unicast-flood: False
bd12:
description: "Bridge Domain 12, invalid because it has Gi1/0/0 as well"
mtu: 9000